DelugeRPG: Auto-Battle

Auto-battler with battle type hotkey (Normal/Inverse)

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
Anxarden
Daily installs
1
Total installs
3
Ratings
0 0 0
Version
v3.2
Created
2026-05-19
Updated
2026-05-19
Size
8.79 KB
License
MIT
Applies to

Description
Auto-battler for DelugeRPG’s trainer and user battle pages. Automatically clicks battle buttons, selects your first move, handles rate limits, and takes regular breaks. Press B to switch between Normal Battle and Inverse Battle – your choice is saved.

Features

  • 🎮 Fully automatic – clicks “!Normal Battle” / “Inverse Battle”, “Start Battle”, your Slot 1 move, “Battle Again”, “Continue”, “Next”, “Attack”.
  • 🔘 Hotkey B – toggle battle mode (Normal ↔ Inverse) with a toast notification.
  • 💾 Settings persist – your battle mode is saved in localStorage.
  • 🛡️ Avoids detection – randomised delays (250–650 ms) with a skewed distribution.
  • ⏸️ Smart pauses – stops on captcha, Cloudflare challenges, or rate‑limit messages (“one battle every 10 seconds”).
  • ⏲️ Session breaks – automatically pauses for 3 minutes every 15 minutes.
  • 🔄 Handles page navigation – works with history.js and DOM changes.

How to use

  1. Install the script (Tampermonkey / Violentmonkey).
  2. Go to any allowed battle page:
  3. The script starts automatically.
  4. Press B anytime to switch between Normal Battle and Inverse Battle.
    • A green toast will confirm the current mode.
  5. Leave the tab open – the script will keep battling until you close the page or a captcha appears.

Hotkeys

  • B | Toggle battle mode (Normal ↔ Inverse)

Notes

  • The script only clicks the selected battle type (!Normal Battle or Inverse Battle). All other actions (Start Battle, move selection, etc.) work for both modes.
  • Delays are randomised to appear human‑like.
  • If you encounter a rate limit, the script waits ~11.5–13.5 seconds before retrying.
  • After 15 minutes of continuous battling, the script pauses for 3 minutes, then resumes.
  • No external permissions required (@grant none).

Changelog (v3.0)

  • Added hotkey B to toggle between Normal and Inverse Battle.
  • Battle mode is saved and restored on page reload.
  • Added toast notifications for mode changes and startup.
  • Improved rate‑limit detection (case‑insensitive regex).
  • Fixed duplicate click issue from earlier versions.

Feedback & bugs
Report issues in this discussion thread. Please include which battle page you were on and any error messages from the browser console (F12).