When the server fall it's stuck instead to fall !! :O - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: When the server fall it's stuck instead to fall !! :O (
/showthread.php?tid=319383)
When the server fall it's stuck instead to fall !! :O -
tal_peretz - 18.02.2012
When the server fall .. instead of falling, it's stuck!
I removed all in OnGameModeExit and not helping .. what could make it happend ?
Re: When the server fall it's stuck instead to fall !! :O -
coole210 - 18.02.2012
WHAT DOES IT MEAN?
But seriously, I have no clue what you're trying to explain.
Re: When the server fall it's stuck instead to fall !! :O -
Vince - 18.02.2012
He means that his server freezes instead of properly exiting. This is probably due to an infinite loop somewhere, but another cause may be improper usage of a MySQL plugin.
Re: When the server fall it's stuck instead to fall !! :O -
tal_peretz - 18.02.2012
Quote:
Originally Posted by Vince
He means that his server freezes instead of properly exiting. This is probably due to an infinite loop somewhere, but another cause may be improper usage of a MySQL plugin.
|
I did infinitie loop to crash the server to check if I solve it .. because it happen alot .. can you give me example of inifinie loop with "for"? [I usually used "for"]
edit -
maybe this ?
PHP код:
for (new i=0; i < sizeof(CheckPointMessi); i++)
Re: When the server fall it's stuck instead to fall !! :O -
Vince - 18.02.2012
While-loops are notorious for causing infinite loops, it's not very common in for-loops. These are some very quick examples about infinite for-loops:
pawn Код:
for( ; ; ) {}
for(new i; i < MAX_PLAYERS; i++)
{
--i;
}
Re: When the server fall it's stuck instead to fall !! :O -
tal_peretz - 18.02.2012
Quote:
Originally Posted by Vince
While-loops are notorious for causing infinite loops, it's not very common in for-loops. These are some very quick examples about infinite for-loops:
pawn Код:
for( ; ; ) {}
for(new i; i < MAX_PLAYERS; i++) { --i; }
|
There are not another reason for stuck server? because the examples you gave here not in my mode for sure .... what about what I showed here? with sizeof.. maybe this is the problem ?
Re: When the server fall it's stuck instead to fall !! :O -
tal_peretz - 19.02.2012
jump
Re: When the server fall it's stuck instead to fall !! :O -
THE_KNOWN - 19.02.2012
even i got this problem :E
Got a solution anyone? Seems to happen only on the host not on my PC
Re: When the server fall it's stuck instead to fall !! :O -
tal_peretz - 19.02.2012
someone?
Re: When the server fall it's stuck instead to fall !! :O -
tal_peretz - 19.02.2012
jump