Save System on MYSQL threaded with cache function
#1

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

You have to post some code if you want us to help identify the issue...

To answer your questions...

1) You need to show some code for your restart command and save functions.

2) When you execute the /rcon gmx command, it tells the server to reboot immediately- it won't wait for the game-mode to save data.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)