Features & Capabilities
Global Features
These features are available across all payout methods:
Process Payments
From any payout style, the Process Payments button navigates to the faction vault and launches a modal pre-filled with member payout details. This streamlines the payment process significantly.
Payment Modal Features:
- Pre-filled Information: Member names and amounts are automatically populated
- Player Search: Quickly find specific members with the built-in search function
- Quick Payment: Click pay and the modal automatically cycles to the next member
- Manual Navigation: Navigate back and forth between members
- Payment Status Tracking: Mark members as paid and reset status as needed
- Skip Members: Easily skip members if needed and return to them later
Armory Cost Tracking
Automatically tracks costs for supplies used during wars and settable prep (stacking) periods:
- Xanax: Tracks current average market value
- Points: Uses current points value
- Energy Drinks: Itemized tracking by drink type with individual costs
- Prep Period: Configure stacking periods to include pre-war costs
Cost Breakdown Modal:
After fetching armory costs, a detailed modal displays the complete breakdown. This includes itemized drink details, current Points value, and current average Xanax value. Once closed, these costs are automatically populated in the appropriate fields.
Revive & Merc Costs
Input fields for any revive and merc contract costs. These are deducted from total winnings before any other calculations are performed, ensuring accurate net payout calculations.
Outside Hits & Chain Tracking
Available in Tier and Weighted methods:
- Minimum Chain Requirements: Set chain thresholds for outside hit tracking
- Chain Selection: Choose which specific chains to consider for outside hits
- Configurable Values: Set custom pay rates or point values for outside hits
- Flexible Tracking: Track non-ranked war hits that occur during selected chains
Assists
Available in Tier and Weighted methods:
- Fixed Assist Pay: Set a flat rate for all assists
- Tiered Assists: Apply tier structure to assists (Tier method)
- Point-Based Assists: Assign point values to assists (Weighted method)
Advanced Features
API Request Management
Request Queueing System
All API calls go through a sophisticated queue system that ensures proper tracking and rate limit enforcement:
- Queue Management: All API calls are queued and processed systematically
- Rate Limit Tracking: Monitors API usage to stay within Torn's limits
- Automatic Throttling: Adjusts request rate based on usage
Request Limit Handling
When API limits are hit, the system gracefully handles it by creating a decaying request delay. This allows previous API calls to fall off the request limit window before slowly increasing the call rate back to normal. No more manual waiting or errors!
Data Management
Storage Manager
New storage manager class implements hybrid caching approaches for optimal performance:
- Standard LocalStorage: For quick access to frequently used data
- IndexedDB: For storing large amounts of data from long wars
- String Compression: Reduces storage footprint for massive datasets
Automatic Data Caching
The script automatically caches war data for the most current report. This means returning to the most recent report will use cached data instead of re-fetching all attack data, dramatically improving load times.
Auto Fetch New Wars
When visiting a new war report, cached data is automatically cleared and fresh data is fetched for the new war. This ensures you always have accurate, up-to-date information.
Manual Refresh
You can manually trigger cache clearing and data re-fetching in case things don't look right or if the initial fetch failed or stopped mid-process. Simply click the refresh button.
User Feedback & Error Handling
Fetching Modal
During data fetching, a batch counting modal keeps you informed that the script is still running. This is especially helpful during long war data fetching, so you know the script hasn't frozen or errored.
Cost Breakdown Modal
After fetching armory costs, a modal automatically displays the complete breakdown with itemized costs. This provides transparency and allows you to verify calculations before proceeding with payouts.
Error Modal
When something goes wrong, most errors are now brought to your attention via popup modal. This provides clear communication and makes error reporting back to Scolli03 much easier, resulting in faster bug fixes.
Settings Management
Export/Import Settings
WarPay Calculator allows you to export and import payout settings. This makes it quick to:
- Set up the script across multiple devices
- Share configurations with other faction families who purchased the script
- Back up your custom configurations
- Switch between different payout strategies quickly
Performance Optimizations
- Efficient Data Storage: Hybrid storage approach minimizes memory usage
- Smart Caching: Reduces unnecessary API calls
- Batch Processing: Handles large wars without freezing the browser
- Progressive Loading: Shows progress during long operations
🚀 Performance Note
WarPay Calculator is designed to handle even the longest wars efficiently. The hybrid storage system and smart caching mean you can process wars with thousands of attacks without performance degradation. If you experience any issues with large wars, the manual refresh feature can help recover from any data fetching problems.