Troubleshooting
Troubleshooting
Common issues and solutions for the ATM Owner System.
Network & Performance Issues
Kicked for Reliable Overflow
Error Message:
Kicked for reliable overflowCauses:
Too many network events on server restart
Large number of ATMs being synced simultaneously
Network congestion
Solutions:
Ensure Latest Version:
Chunked/latent streaming is enabled by default in latest version
Update to latest script version if using older version
Reduce Player Concurrency:
Stagger player joins on restart
Use player queue system if available
Reduce simultaneous coordinate requests
Verify Chunked Streaming:
Check server console for chunked sync messages
Verify
TriggerLatentClientEventis being usedCheck network statistics in console
Optimize ATM Count:
Reduce total number of ATMs if possible
Use chunked import for bulk operations
Consider disabling blips if not needed
Prevention:
Script uses automatic queue system
Chunked streaming prevents overflow
Throttling limits request frequency
Reliable Network Event Overflow on Restart
Symptoms:
Players kicked on server restart
Network overflow errors in console
ATMs not loading for some players
Solutions:
Chunked Streaming (Automatic):
Script uses chunked latent per-player streaming
Queue system prevents overflow
Verify you're on latest version
Reduce Concurrency:
Limit simultaneous player joins
Stagger coordinate requests
Use player queue system
Check Network Stats:
Monitor network statistics in console
Look for
coords_requestsandcoords_chunks_sentcountsVerify chunked streaming is working
Configuration:
Chunk sizes automatically adjust based on ATM count
Queue processes one request at a time
Minimum 5-second interval between pushes
Permission & Entitlement Issues
"You Lack the Entitlements Required to Use"
Error Message:
Causes:
Wrong CFX account or organization
License key mismatch
Resource not properly purchased
Solutions:
1.1 Logging in with Wrong Account
Verify Account:
Ensure server is running under correct CFX account
Verify license key matches owning account
Check Keymaster organization settings
Steps:
Log into correct CFX account
Verify resource ownership
Update server license key if needed
Restart FiveM server
1.2 Purchased but Cannot Use
Solutions:
Restart Server:
Restart FiveM server after purchase
Allows Keymaster to validate product ID
Wait for validation to complete
Check Asset Escrow:
Ensure resource folder name is unchanged
Verify
fxmanifest.luais intactCheck for file modifications
Verify Purchase:
Confirm purchase in Keymaster
Check resource is assigned to correct account
Verify license key is correct
Map & UI Issues
ATM Blips Don't Show on Map
Symptoms:
No ATM blips visible on map
Blips not appearing after restart
Blips disappear randomly
Solutions:
Check Configuration:
Refresh Blips:
Run
/toggleatmblipscommandToggles blips on/off to refresh
Wait for coordinate sync to complete
Wait for Sync:
After server restart, wait 1-2 seconds
Chunked coordinate sync needs time
Blips appear after sync completes
Verify ATMs Exist:
Check database for ATM records
Verify coordinates are valid
Check server console for errors
Check Blip Settings:
UI Pin or Map Position Looks Off
Symptoms:
Map pins appear in wrong location
Pins don't show when hovering
Map offset is incorrect
Solutions:
Pin Visibility:
Pins only appear when hovering card's info button
Hovering other areas won't show pins
This is by design
Map Offsets:
Adjust in
web/script.js:
Tune
MAP_OFFSETS_*andMAP_GEOM_CORRECTIONvaluesAdjust slightly if using different base image
Debounced Map Init:
Map initialization is debounced
Prevents jitter after restarts
Give it 1-2 seconds to stabilize
Base Image:
Verify you're using correct map base image
Different images require different offsets
Check
MAP_ANCHOR_WORLDcoordinates
Error Fetching Coordinates... Using Fallback
Error Message:
Causes:
ATM not in client cache yet
Coordinate sync not complete
Network delay
Solutions:
Wait for Cache:
NUI first resolves from client caches
Fallback means ATM wasn't in cache yet
This is retried silently
Avoid Rapid Clicks:
Don't click multiple cards immediately after restart
Wait for coordinate sync to complete
Give system time to cache coordinates
Reopen UI:
Close and reopen management UI
Triggers coordinate refresh
Updates cache with latest data
Refresh Blips:
Run
/toggleatmblipsto reinitializeForces coordinate cache update
Resolves most coordinate issues
Database Issues
Database Errors or Missing Tables
Error Messages:
Solutions:
Import SQL File:
Import
atm.sqlto create required tablesVerify all tables were created:
owned_atmsatm_transactionsatm_employeesatm_admin_logsatm_movementsatm_permissions
Check Database Connection:
Verify
oxmysqlis runningCheck database credentials
Test connection manually
Verify Table Structure:
Name Lookups:
QB uses
playerstableESX uses
userstableMissing tables fall back to raw identifiers
Check Foreign Keys:
Verify foreign key constraints
Check CASCADE delete settings
Ensure indexes are created
Tax & Permission Issues
Cannot Change ATM Tax
Symptoms:
Tax slider doesn't work
"You don't have permission" error
Tax changes not saving
Solutions:
Check Owner Status:
Only owner can change tax if
Config.RequireOwnerForTax = trueVerify you're the ATM owner
Check database for owner field
Check Configuration:
Check Permissions:
If employee, verify
manage_taxpermissionOr
managepermission (ifAllowTaxChangeByManagers = true)Check employee permissions in database
Check Level Limits:
Tax rate limited by owner's level
Level 1: 0-10%
Level 5+: 0-39%
Verify you're within allowed range
Check Logs:
Review admin logs for tax change attempts
Check for "tax_change_denied" entries
Verify level-based restrictions
Localization Issues
Localization Doesn't Load
Symptoms:
UI shows key names instead of translations
Language not changing
Missing translations
Solutions:
Set Locale:
Verify Locale File:
Check
locales/en.luaexists (or your language)Verify file is properly formatted
Check for syntax errors
Check Locale Loader:
Verify
locales/loader.luaincludes your languageCheck locale registration
Verify locale table structure
Clear Cache:
Restart resource to reload locales
Clear browser cache if using web UI
Verify locale strings are loaded
Check NUI Loading:
Verify
getLocaleStringscallback worksCheck browser console for errors
Verify locale strings are sent to NUI
Employee Management Issues
Employees Not Receiving Permissions
Symptoms:
Employee added but no permissions
Permissions not saving
Employee can't access features
Solutions:
Verify Employee Added:
Check
atm_employeestableVerify employee identifier is correct
Check employee record exists
Check Permissions JSON:
Verify permissions field in database
Check JSON format is valid
Ensure permissions are set
Refresh UI:
Close and reopen management UI
Triggers permission refresh
Updates employee list
Check Permission Structure:
Verify Server ID:
Ensure correct server ID was entered
Player must be online when added
Check identifier resolution
Revenue & Transaction Issues
Tax Not Being Collected
Symptoms:
No tax deducted from transactions
Revenue not increasing
Transactions not detected
Solutions:
Check Auto-Detection:
Check Proximity:
Player must be within
Config.ProximityRadiusDefault is 1.0 meters
Verify player is close enough to ATM
Check Tax Rate:
ATM must have tax rate > 0
Verify tax is set in database
Check tax rate in management UI
Check Transaction Type:
Only deposit/withdraw transactions are taxed
Transfers may not be detected
Verify transaction type
Check Server Console:
Enable
Config.Debug = trueLook for transaction processing messages
Check for errors
Revenue Not Updating
Symptoms:
Revenue balance not increasing
Withdrawals show incorrect balance
Revenue statistics not updating
Solutions:
Refresh UI:
Close and reopen management UI
Triggers revenue refresh
Updates from database
Check Database:
Verify
revenuefield inowned_atmstableCheck
atm_transactionsfor tax amountsVerify transactions are being logged
Check Permissions:
Verify you have access to view revenue
Owner or
view_logspermission requiredCheck employee permissions
Wait for Sync:
Revenue updates may take a moment
Allow time for database sync
Check again after a few seconds
Performance Issues
High Server Resource Usage
Symptoms:
High resmon usage
Server lag
Performance degradation
Solutions:
Reduce Proximity Radius:
Disable Auto-Detection:
Disable Blips:
Optimize Database:
Add indexes to frequently queried columns
Optimize SQL queries
Clean up old transaction logs
Reduce ATM Count:
Limit total number of ATMs
Remove unused ATMs
Optimize coordinate sync
Client-Side Performance Issues
Symptoms:
UI lag
Slow map rendering
High FPS impact
Solutions:
Reduce Blip Count:
Disable blips if not needed
Use short-range blips only
Limit visible ATMs
Optimize Map Rendering:
Reduce map update frequency
Limit visible pins
Optimize coordinate calculations
Check Browser Performance:
Clear browser cache
Disable browser extensions
Check for JavaScript errors
General Issues
Script Not Starting
Symptoms:
Resource fails to start
Errors in server console
Dependencies not loading
Solutions:
Check Dependencies:
Check File Structure:
Verify all files are present
Check
fxmanifest.luais correctVerify folder structure
Check Console Errors:
Review server console for specific errors
Check for missing files
Verify database connection
Verify Framework:
Ensure framework is running
Check framework compatibility
Verify
ic3d_libdetection
UI Not Opening
Symptoms:
Management UI doesn't open
NUI not responding
Blank screen
Solutions:
Check NUI Files:
Verify
web/ATM.htmlexistsCheck
web/script.jsandweb/style.cssVerify file permissions
Check NUI Focus:
Verify
SetNuiFocusis being calledCheck for conflicting UI scripts
Ensure NUI is enabled
Check Browser Console:
Open F8 console in-game
Look for JavaScript errors
Check for missing resources
Verify ox_lib:
Ensure
ox_libis runningCheck for version compatibility
Verify UI components work
Getting Help
Before Asking for Help
Enable Debug Mode:
Check Server Console:
Look for error messages
Note specific error text
Check for warnings
Verify Configuration:
Review
config.luasettingsCheck for typos
Verify all required settings
Test Basic Functionality:
Test with default settings
Verify dependencies work
Check database connection
Information to Provide
When reporting issues, provide:
Error messages from console
Steps to reproduce
Configuration file (sanitized)
Server framework and version
Script version
Debug output
Still having issues? Review the FAQ or check the Configuration Guide.
Last updated