Does mysql debugging speeds down the server
#1

Title says all.

Another question:
I have a timer which saves player stats every 20 mins.
it will slow down my server because there's a loop for saving each character
Reply
#2

Debugging won't slow the server as it's just a matter of putting a couple prints in a file. Further, if you are using threads then you shouldn't have problems. However, I would still advice to set a 20 minute per-player timer when a player connects, so all updates are more or less spaced. Don't forget to kill the timer on disconnect.
Reply
#3

oh right, i'll just make a timer which starts when player logins.
lol when I just started to code, I forgot to killtimers on player disconnect and I was like wtf..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)