(2019-04-27, 07:03 PM)JonasP Wrote: See if you can compile your gamemode with the -d3 flag so that logs have more information (the specific line of code where it went south, other extra info). Compile the gm with that flag and see if you can replicate the crash.
From what you provided, it seems that you tried to do something with a player in a database (db_query) after the player connected (OnPlayerConnect). Try looking into that callback and figure out if you do anything that could cause a crash. (1, 6636280, 48) and (7026564, 6636280, 48) look like params that you pass to a function, might be helpful. Maybe they were invalid or something.
Idk, honestly, just some ideas to check out until you have better logs or someone else chimes in.
Hey man, thanks for replying. I am not using SQL in this gamemode (because it is an attack/defend script), only things I save are admin level and password in .ini files.
Yet I found out now I was including a_mysql.inc in the script (forgot to remove it) and make the server load at start mysql.so plugin as it's needed for another script I sometiems run. Could this crash be related to mysql plugin/include?
Thanks for your help!
EDIT: mmm I think it was not my script's fault
Quote:Yesterday morning we had a failure of a database cluster for gameservers.
Unfortunately, game servers with installed games that require an external database connection were not available during this time.
A rebuild of the cluster could be successfully completed today at around 08:30 (UTC ).
Important: Please restart your gameserver so a new DB? connection can be established.
We apologize for the long time until the cluster was restored
Visit our support team and we will credit your game server 5 days as compensation.
This message was sent the day after the crash happened. I think we can close this thread.