Hi everyone,
I’m currently running a server based on the ESX framework and I’m experiencing some recurring issues with society accounts and several related scripts. Here’s a detailed description of the problem:
- The scripts esx_datastore, esx_addoninventory, esx_addonaccount, esx_society, and the script responsible for organizations seem to intermittently fail to read data from the database.
- This happens despite other scripts, like those handling player data (e.g., name, inventory, owned vehicles), working flawlessly.
- Sometimes, ox_inventory randomly disables itself and has to be manually restarted. Once restarted, it works fine until the issue reoccurs.
- When the problem occurs, players temporarily lose access to saved outfits in clothing stores. Restarting the esx_datastore script restores access immediately, but the issue eventually happens again.
One specific example is with esx_society. When players try to deposit or withdraw money from a society account (e.g., taxi), they receive an error saying that the society (e.g., society_taxi
) doesn’t exist. After restarting the scripts or the entire server, everything works again, but the problem eventually happens again at random.
It’s worth noting that all the scripts mentioned (esx_datastore, esx_addoninventory, esx_addonaccount, esx_society) are up to date, so outdated scripts shouldn’t be the issue.
I’ve checked my database and ensured that everything is set up correctly, so I’m unsure why this is happening. Has anyone else encountered a similar issue or can offer some guidance on what might be causing this?
Thanks in advance for any help!