23.02.2013, 22:53
Hello,
Im working on a scratch gamemode and i make all gamemode under mysql threaded R8 system with cache functions by blueg.
I made a command called "ggmx" that save all server data and request a gmx sendrconcommand. I developed a system that guarantee that all threads ended before the gmx command is called. I have global variable incremented in every save function callback and when all threads finish call sendrconcommand.
My gamemode takes about 4 minutes to save all data.
1 question : Exist any way to turn this save system faster?
2 question : If a restart its requested with /rcon gmx i dont know why but my system dont work and server dont wait by all threads and restart without all data saved..
Regards
Im working on a scratch gamemode and i make all gamemode under mysql threaded R8 system with cache functions by blueg.
I made a command called "ggmx" that save all server data and request a gmx sendrconcommand. I developed a system that guarantee that all threads ended before the gmx command is called. I have global variable incremented in every save function callback and when all threads finish call sendrconcommand.
My gamemode takes about 4 minutes to save all data.
1 question : Exist any way to turn this save system faster?
2 question : If a restart its requested with /rcon gmx i dont know why but my system dont work and server dont wait by all threads and restart without all data saved..
Regards