Posts: 179
Threads: 26
Joined: Oct 2009
Reputation:
0
I'm using BlueG's mysql plugin R6-2, I want to modify all of it to threaded R7 soon but I'm experiencing a bizarre problem.
If I GMX the server using RCON it ruins all stored player accounts with random messages in strings and 0 as variables.
Sometimes it happens, sometimes it doesn't. It is happening frequently if there is more than 1 player online.
I tried using mysql_close OnGameModeExit but it made everything worse.
What could be the problem?
Thanks.
Posts: 516
Threads: 77
Joined: Dec 2011
Reputation:
0
are you using any filterscripts for the accounts system?
Posts: 179
Threads: 26
Joined: Oct 2009
Reputation:
0
Nope, everything is scripted by me.
Posts: 516
Threads: 77
Joined: Dec 2011
Reputation:
0
i dont understand what are you trying to do
like do you want to restart your server or shut it down?
EDIT: What command processor are you using?
Posts: 179
Threads: 26
Joined: Oct 2009
Reputation:
0
I am using dcmd and old strcmp and when I /rcon GMX the server restarts and after I login again I notice that all stats are broken. Never happens if I close the server window or /q.
Posts: 516
Threads: 77
Joined: Dec 2011
Reputation:
0
show you on gamemodeexit
EDIT: try not to use strcmp most of them causes bug
TIP: Never use 2 command processor in one GM
try to convert strcmp to dcmd
Posts: 179
Threads: 26
Joined: Oct 2009
Reputation:
0
Well I am in the process of converting strcmp to dcmd but there are a lot of commands and that takes time.
My OnGameModeExit is empty.
Posts: 179
Threads: 26
Joined: Oct 2009
Reputation:
0
BUMP.
Do you think I should update my mysql plugin to BlueG's R7 and use threaded queries?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
I suggest simply not using gmx. If you need to restart the mode, then I would save all data and set a timer 3 seconds to call SendRconCommand.