MySQL problem on GMX
#1

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.
Reply
#2

are you using any filterscripts for the accounts system?
Reply
#3

Nope, everything is scripted by me.
Reply
#4

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?
Reply
#5

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.
Reply
#6

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
Reply
#7

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.
Reply
#8

BUMP.

Do you think I should update my mysql plugin to BlueG's R7 and use threaded queries?
Reply
#9

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)