Tally: might be, but what does it actually matter? That wouldn't be the same lag as the lag with 10 bots.
Thoumta: please try developer 1 and 10 bots for testing with lag and post the errors
Printable View
Tally: might be, but what does it actually matter? That wouldn't be the same lag as the lag with 10 bots.
Thoumta: please try developer 1 and 10 bots for testing with lag and post the errors
With developer 1 i got the same error.
I tested with developer 0 with 10 bots and its not lagging..
Prolly not producing the divided by zero error if multiple players (get all players except self, then divide by it), and linux somehow manages to write errors to console log in dev 0 mode iirc, which might cause laggs.
too many loops running at once can cause massive laggs too, so watch out for these while(statement) and for( ;; )
U made some kind of ratio right? Only count the ratio if Deaths isnt 0
Well, don't use developer. Use logfile by this command: set logfile 2
Then open your cod2 directory and go to your fs_game (default "main"), console_mp.log, and post log here.
@Ni3ls Yes have K/D Ratio but its a simple command in a loop
@Rob console_mp.log dont make something wrong!PHP Code:
for(;;)
{
self.ratio = self.kills / self.deaths;
}
That's the bug:
PHP Code:
for(;;)
{
if (self.deaths)
self.ratio = self.kills / self.deaths;
else
self.ratio = 0;
wait 0.05;
}
Nvm it's not important, i deleted the mod and put the old mod so it doesn't lag :)