23.02.2009, 17:50
There is a fopen and fclose under OnPlayerUpdate.
All fopen must be followed by fclose, before the end of the function?
I'll double check but im sure that part is fine...
I read through the timers discussion topic by ******.
I've noticed i have a lot of timers running together.
For instance. two an every 3 seconds, 3 or 4 ran every 2 seconds. another 2 ran every 10 minutes, and one was running every 5 minutes.
Could that be a main cause in the increasing CPU usage and the timeouts in the server?
All fopen must be followed by fclose, before the end of the function?
I'll double check but im sure that part is fine...
I read through the timers discussion topic by ******.
I've noticed i have a lot of timers running together.
For instance. two an every 3 seconds, 3 or 4 ran every 2 seconds. another 2 ran every 10 minutes, and one was running every 5 minutes.
Could that be a main cause in the increasing CPU usage and the timeouts in the server?

