Hello There, Guest! Login or Register


Streamer plugin CPU fuckup @ new server [Very high priority!]
#5
I am not really familiair with this source yet, however the one who knows where the configuration files are, could try the following:
For player loops, never use default for-loops. Use foreach
Code:
#undef foreach
#define foreach(%1,%2) \
    for (new %2 = 0, %1 = 0; %1 < MAX_PLAYERS; %1++)

Also, undefine MAX_PLAYERS and define it with the current maximum player slots.
Code:
#undef MAX_PLAYERS
#define MAX_PLAYERS 124
(redefine MAX_PLAYERS first)
Please, tell me the results after this has been changed.

Edit: This is not related to the streamer, but I am not sure if the Streamer plugin is actually causing this.
Reply


Messages In This Thread
Re: Streamer plugin CPU fuckup @ new server [Very high priority!] - by Biesmen - 06-23-2012, 01:07 PM