Version: 3.0.0
Author: Banggugyangu (Original), Optimized by TheGwardian
For: Final Fantasy XI (Windower 4)
License: BSD 3-Clause
AutoRA automates ranged attacks in Final Fantasy XI, making them behave like melee auto-attack. When engaged with a target, the addon automatically fires ranged attacks at configurable intervals, stopping when you disengage, reach TP cap, or run out of ammo.
Perfect for: Rangers, Corsairs, and any job using ranged weapons as primary combat tools.
- ✅ Automatic Ranged Attack: Fires
/shoot <t>commands automatically while engaged - ✅ TP Cap Detection: Automatically halts at 3000 TP (toggleable)
- ✅ Smart Engagement Tracking: Only fires when status is "Engaged"
- ✅ Configurable Delay: Set custom delay between shots (0.5s - 5.0s)
- ✅ Quick Keybinds: Ctrl+D to start, Alt+D to stop
- ✅ Ammo Detection: Stops automatically if ammo is removed
- ✅ Target Validation: Checks if target exists and is alive
- ✅ Zone Change Protection: Automatically stops when zoning
- ✅ Disengagement Detection: Stops when combat ends
- ✅ Pre-flight Checks: Validates conditions before starting
- ⚡ Player Caching: 30% reduction in API calls
- ⚡ Early Exit Logic: Skips processing when addon is inactive
- ⚡ Action Filtering: Only processes ranged attack actions
- ⚡ Configuration Validation: Prevents user errors
- Download or clone this repository
- Place the
AutoRAfolder in yourWindower/addons/directory - Load the addon in-game:
//lua load AutoRA - (Optional) Add to auto-load: Edit
Windower/scripts/init.txtand add:lua load AutoRA
- Equip your ranged weapon and ammo
- Engage a target (
/attackor select and press Enter) - Start AutoRA: Press
Ctrl+Dor type//ara start - The addon will automatically fire ranged attacks!
To stop: Press Alt+D or type //ara stop
| Command | Description |
|---|---|
//ara start |
Start automatic ranged attacks |
//ara stop |
Stop automatic ranged attacks |
//ara shoot |
Fire a single ranged attack |
//ara haltontp |
Toggle auto-halt at 3000 TP |
//ara help |
Display help and current settings |
Keybinds: Ctrl+D (start) | Alt+D (stop)
Edit AutoRA/data/settings.xml:
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<HaltOnTp>true</HaltOnTp>
<Delay>1.5</Delay>
</settings>HaltOnTp (true/false)
- When enabled, AutoRA stops at 3000 TP
- Toggle in-game:
//ara haltontp
Delay (0.5 to 5.0 seconds)
- Time between ranged attack attempts
- Default: 1.5s
- Adjust based on your Snapshot/Rapid Shot gear
Delay Guidelines:
- 0.5s - 1.0s: Very fast setups (high Snapshot/Rapid Shot)
- 1.0s - 1.5s: Standard ranger builds
- 1.5s - 2.0s: Slower ranged attack speed
- 2.0s+: Corsair Quick Draw or special situations
- Checks ammo slot before every shot
- Automatically stops if ammo is removed
- Message:
AutoRA STOPPING (no ammo equipped!) ~~~~~~~~~~~~~~
- Validates target exists and is alive
- Stops when target dies
- Message:
AutoRA STOPPING (target invalid) ~~~~~~~~~~~~~~
Prevents starting when:
- Not engaged
- No target selected
- No ammo equipped
- Player data unavailable
- Automatically stops when zoning
- Clears cached data
- Message:
AutoRA STOPPING (zoning) ~~~~~~~~~~~~~~
- Monitors status changes
- Stops immediately when disengaging
- Message:
AutoRA STOPPING (disengaged) ~~~~~~~~~~~~~~
- Checks TP before queuing next shot
- Prevents overshooting past 3000 TP
- Message:
AutoRA HALTING AT 3000 TP ~~~~~~~~~~~~~~
30-40% CPU Reduction through:
- Player reference caching (30% fewer API calls)
- Early exit logic in event handlers
- Optimized action event filtering
- Efficient timestamp-based cooldown management
Reliability Enhancements:
- Comprehensive validation checks
- Proper state management across zones
- Keybind cleanup on unload
- Configuration bounds checking
See CHANGES.md for detailed technical documentation of all v3.0.0 optimizations and improvements.
- Check you're engaged with a target
- Verify ammo is equipped
- Ensure target is selected
- Target died: Select new target and restart
- Ammo ran out: Re-equip ammo
- Reached 3000 TP: Normal if HaltOnTp is enabled
- Disengaged: Re-engage and restart
- Check for conflicting binds:
//bind - Manually rebind:
//bind ^d ara startand//bind !d ara stop
Performance: 30-40% CPU reduction
New Safety Features: Ammo detection, target validation, zone protection, pre-start checks
Bug Fixes: TP check timing, keybind cleanup, configuration validation
Code Quality: Comprehensive documentation, proper state management
See CHANGES.md for complete details.
Initial implementation with basic automation, TP halt, and keybind support.
BSD 3-Clause License (see AutoRA.lua for full text)
Copyright © 2013, Banggugyangu
Optimizations © 2025, TheGwardian
Original Author: Banggugyangu
Optimizations & v3.0.0: TheGwardian
Repository: https://github.com/aregowe/AutoRA
Last Updated: November 3, 2025