Server uses 100% CPU
#4

It didn't happen before, the first loop searches for a random position of the map that is not water, if it is water the loop will continue searching until the Z position is higher than zero, if it searches for more than 50 times and always the function return 0.0, the script will break the loop using a return 0; So that isn't the problem, impossible I think, isn't it?
Second loop is a binary search algorithm, it's called every time the player send a message
I am 99.99% sure is not my script, I think it is something else
Reply


Messages In This Thread
Server uses 100% CPU - by Su37Erich - 08.05.2015, 20:23
Re: Server uses 100% CPU - by Marricio - 08.05.2015, 21:06
Re: Server uses 100% CPU - by J4Rr3x - 08.05.2015, 21:07
Re: Server uses 100% CPU - by Su37Erich - 08.05.2015, 21:18
Re: Server uses 100% CPU - by Marricio - 08.05.2015, 21:28
Re: Server uses 100% CPU - by Su37Erich - 08.05.2015, 21:38
Re: Server uses 100% CPU - by PowerPC603 - 08.05.2015, 22:23
Re: Server uses 100% CPU - by pivetesgames - 08.05.2015, 22:35
Re: Server uses 100% CPU - by hamzajaved780 - 09.05.2015, 03:33
Re: Server uses 100% CPU - by Sgt.TheDarkness - 09.05.2015, 12:01

Forum Jump:


Users browsing this thread: 4 Guest(s)