High playerid, High lag.
#8

Quote:
Originally Posted by Schneider
Посмотреть сообщение
Yeah, it's problably caused by the servers script. Many scripts use loops to do something to each player, it usually starts with playerid '0', then '1' then '2', etc. For every player the server has to execute the whole code inside the loop. So if you have a low playerid, you won't experience much lag (at least, if the script is properly coded) and if you have a very high playerid you might experience lag.

Код:
for(new i=0; i<MAX_PLAYERS; i++)
{
     //do something
}
It's not a script problem. This lag issue is amplified When many players in a one place.
Reply


Messages In This Thread
High playerid, High lag. - by zzz2009 - 15.11.2014, 05:49
Re: High playerid, High lag. - by Skully82 - 15.11.2014, 07:25
Re: High playerid, High lag. - by zzz2009 - 15.11.2014, 08:30
Re: High playerid, High lag. - by RedFusion - 15.11.2014, 14:03
Re: High playerid, High lag. - by Vince123 - 15.11.2014, 14:04
Re: High playerid, High lag. - by zzz2009 - 16.11.2014, 04:40
Re: High playerid, High lag. - by Schneider - 16.11.2014, 13:12
Re: High playerid, High lag. - by zzz2009 - 16.11.2014, 14:06
Re: High playerid, High lag. - by RedFusion - 16.11.2014, 14:14
Re: High playerid, High lag. - by Mauzen - 16.11.2014, 21:23
Re: High playerid, High lag. - by TakeiT - 18.11.2014, 02:32
Re: High playerid, High lag. - by zzz2009 - 19.11.2014, 10:56
Re: High playerid, High lag. - by Khanz - 19.11.2014, 11:09
Re: High playerid, High lag. - by zzz2009 - 19.11.2014, 11:21
Re: High playerid, High lag. - by zzz2009 - 19.11.2014, 11:24
Re: High playerid, High lag. - by zzz2009 - 19.11.2014, 11:29

Forum Jump:


Users browsing this thread: 3 Guest(s)