lag! :( - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: lag! :( (
/showthread.php?tid=293321)
lag! :( -
aminj - 28.10.2011
hey guys ive got a problem

it started from last day...

my server is lagging as hell

i dont know whats the problem... only 4% of cpu is in use...

anyone can help me ?

i did sevrer restart but i still have that problem...
can anyone check it with team viewer? or can somebody help me here?
Re: lag! :( -
Lorenc_ - 28.10.2011
Do you think you're being attacked by someone, especially by a DDoS?
Re: lag! :( -
aminj - 28.10.2011
Quote:
Originally Posted by Lorenc_
Do you think you're being attacked by someone, especially by a DDoS?
|
no im not being attacked by a ddosser... im sure...
and dynoboost:
its not home hosted... its volt host server...
and i dont understand you... could you tell more?
Re: lag! :( -
Vince - 28.10.2011
I'll say one thing: OnPlayerUpdate.
Re: lag! :( -
aminj - 28.10.2011
what do you mean? and... i tested it now... when some players were in my server ... i had lag... but when they left lags gone :/ oh and forgot to say dinoboost :
my stream rate is 1000
Re: lag! :( -
aminj - 28.10.2011
plse somebody help
Re: lag! :( -
JiHost - 28.10.2011
Maybe you should paste your OnPlayerUpdate here.
Re: lag! :( -
aminj - 28.10.2011
Код:
public OnPlayerUpdate(playerid)
{
if(!IsPlayerConnected(playerid)) return 0;
if ( Shooting [ playerid ] )
{
if ( !PlayerToPoint( 1.4, playerid, OnArrow[ 0 ][ playerid ], OnArrow[ 1 ][ playerid ], OnArrow[ 2 ][ playerid ] ) )
{
FinishShootingRange( playerid );
SendClientMessage( playerid, 0xFFBF00FF, "Shooting Range: {FFFFFF}You left the shooting range!");
}
}
if ( P_DATA[ playerid ][ P_OnStyle ] == true )
{
UpdateLeftRightForStyle( playerid );
return 1;
}
if ( P_DATA[ playerid ][ P_OnTruckSel ] == true )
{
UpdateLeftRightForTruck( playerid );
return 1;
}
if ( P_DATA[ playerid ][ P_OnTrailerSel ] == true )
{
UpdateLeftRightForTrailer( playerid );
return 1;
}
Re: lag! :( -
aminj - 28.10.2011
please... i posted it what should i do?

( +1 reputation for a person who hep me to fix
Re: lag! :( -
RBTDM - 09.11.2011
Is ur server hosted in Server FFS . then its server ffs problem last day its was dam lag for 2 3 days and i cancelled my server now i host in volt host