Veyra - PvP Auto Battle

Automated PvP battle script with auto-queue and continuous fighting

作者
Sinclair37
日安装量
0
总安装量
5
评分
0 0 0
版本
1.1.2
创建于
2025-09-25
更新于
2025-09-28
大小
25.1 KB
许可证
GNU General Public License v3.0
适用于

Disclaimer

Use at your own discretion. Running userscripts always carries some risk, including the possibility of account restrictions or bans depending on site policies. This script is safe from a malware perspective, but you should still be cautious when installing any third-party extensions or apps outside your main browser. The script was designed with PCs in mind, and while it may work on mobile, behavior can vary — for example, HUD placement or timing might not function as expected.


Description

This userscript automates PvP battles for the game Veyra on demonicscans.org by intelligently managing slash attacks, handling cooldowns, and running full auto-queues with optional battle limits.

The script provides complete automation with a customizable battle queue system. Players can set a maximum number of battles (or leave it unlimited), and the script will handle all attacks, cooldowns, and transitions back to the dashboard automatically.

Once enabled on a PvP battle page, the script will:

  • Display a comprehensive HUD showing player and enemy HP, battle status, and remaining battles (if a limit is set).
  • Wait for user input – click "AUTO SLASH" to begin automated battle sequences.
  • Attack intelligently at 1-second intervals with cooldown detection and recovery.
  • Handle multiple battles in a queue:
    • Choose between unlimited or up to 20 battles.
    • Automatically stops after tokens are exhausted or battle limit is reached.
  • Log actions with timestamps for clear tracking of battle progress and outcomes.
  • Detect battle completion automatically (Victory or Defeat) and return to dashboard within 1.5 seconds before continuing.


Key Features

  • Automated Combat: Handles attacks every second, respecting cooldown messages.
  • Battle Queue System: Run unlimited battles or set a specific limit (0–20).
  • Smart Stop Conditions: Stops when tokens are out, when limit is reached, or when manually stopped.
  • Real-time HUD: Displays HP, battle status, and remaining battles with a clear interface.
  • Improved Logging: Timestamped logs include battle numbers and token counts.
  • Automatic Recovery: Returns to dashboard after each battle and re-queues instantly.


How to Use

  1. Install Tampermonkey (or another userscript manager) in your browser.
  2. Install this script from GreasyFork.
  3. Navigate to PvP Battle: Go to https://demonicscans.org/pvp_battle.php when a battle is available.
  4. Set battle limit: In the HUD, enter a number between 0 and 20:
    • 0 = unlimited battles (until tokens run out).
    • 1–20 = fixed number of battles.
  5. Click "AUTO SLASH": The script will take over and continue until the limit or tokens are reached.
  6. Stop anytime: Use the STOP QUEUE button to halt automation.


Battle Mechanics

  • Attack Timing: Attacks occur every second, adjusted for cooldowns.
  • Cooldown Detection: Detects "Cooldown… 1s" messages and waits before retrying.
  • Battle End Detection: Recognizes both Victory and Defeat screens to stop the loop and move on.
  • Queue Handling: Auto-restarts next battle or stops cleanly when conditions are met.


System Requirements

  • Browser: Chrome, Firefox, Safari, or Edge with userscript manager support.
  • Userscript Manager: Tampermonkey (recommended), Greasemonkey, or Violentmonkey.
  • Platform: Designed for desktop browsers; mobile compatibility may vary.
  • Connection: Stable internet connection recommended for consistent timing.


Known Issues

  • Timing Sensitivity: Very slow internet connections might affect attack timing accuracy.
  • Page Elements: If the website layout changes, the script may need updates to locate battle elements correctly.
  • Mobile Compatibility: HUD positioning and timing may not work optimally on mobile devices.


Privacy & Security

  • No Data Collection: Script does not store or transmit any personal data or battle statistics.
  • Local Operation: All processing happens locally in your browser.
  • No External Connections: Script only interacts with demonicscans.org and doesn't communicate with external servers.
  • Open Source: Full script source code is visible and can be audited for security.


Bug Reporting

Use the Feedback tab on GreasyFork to report any issues or unexpected behavior. Please include details such as:

  • Your browser and version
  • Device type (desktop/mobile)
  • Specific battle scenario where the issue occurred
  • Screenshots of the HUD or any error messages
  • Description of the expected vs actual behavior
  • Network connection quality (if timing-related issues)