MySQL Timeouts

If you notice that data is not being saved to your MySQL database, check the console for errors. If you notice errors related to the database timing out, you may need to enable keep-alive.

This setting may be required depending on how your MySQL server is configured.

To enable keep-alive, open the script's database configuration file located in:

addons/agon/agon.rlib

Locate the keepalive setting which should be in the database advanced table:

"adv"
{
    "debug"         "false"
    "heartbeat"     "true"
    "interval"      300
    "keepalive"     "false"
}

Change the keepalive setting from false to true:

"adv"
{
    "debug"         "false"
    "heartbeat"     "true"
    "interval"      300
    "keepalive"     "true"
}

Last updated