[IMPORTANT SERVER ISSUE!] It can handle +70 players. - 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: [IMPORTANT SERVER ISSUE!] It can handle +70 players. (
/showthread.php?tid=475822)
[IMPORTANT SERVER ISSUE!] It can handle +70 players. -
Anak - 15.11.2013
Hello guys...
I am running a dm server from one year... i had 30-40 players... but now from a week i'm getting 60-70 players... but server started to crash... i rather call it that it hangs.. no one can connect to server or play it .. but when i click on it it shows that 63/100 etc... but actually no one is playing and i have to restart server... therefore i have locked it for a while... hope you will understand my problem...
Regards,
Anak
Re: [IMPORTANT SERVER ISSUE!] It can handle +70 players. -
StuartD - 15.11.2013
Do you have a loop within your script that may be causing this issue? Such as an Infinity Loop?
Re: [IMPORTANT SERVER ISSUE!] It can handle +70 players. -
Anak - 15.11.2013
i don't find any kinda infinite loop... + there is 0 warnings upon compiling...
Re: [IMPORTANT SERVER ISSUE!] It can handle +70 players. -
iZN - 15.11.2013
That happens when it couldn't loop properly, just getting stuck somewhere. Also, did you defined MAX_PLAYERS?
pawn Code:
#undef MAX_PLAYERS
#define MAX_PLAYERS yourtotalslots
Re: [IMPORTANT SERVER ISSUE!] It can handle +70 players. -
Anak - 15.11.2013
https://sampforum.blast.hk/showthread.php?tid=469030
this is previous version of my server .. when i had 20-30 players.... i don't see any infinite loop... you can check for sure...
+ why server don't hangs when there are less then 50 players?...
Re: [IMPORTANT SERVER ISSUE!] It can handle +70 players. -
Konstantinos - 15.11.2013
Install
crashdetect plugin.
Quote:
Originally Posted by Anak
i don't find any kinda infinite loop... + there is 0 warnings upon compiling...
|
Runtime errors and infinite loops cannot be detected by the compiler. About the infinite loop, search all the while loops again to make sure.
Re: [IMPORTANT SERVER ISSUE!] It can handle +70 players. -
Anak - 15.11.2013
Quote:
Originally Posted by Konstantinos
Install crashdetect plugin.
Runtime errors and infinite loops cannot be detected by the compiler. About the infinite loop, search all the while loops again to make sure.
|
i have used crashdetect plugin many times but it don't shows result cuz server just hangs..
Re: [IMPORTANT SERVER ISSUE!] It can handle +70 players. -
iZN - 15.11.2013
Quote:
Originally Posted by Anak
i have used crashdetect plugin many times but it don't shows result cuz server just hangs..
|
Add 'die_on_error 1' in server.cfg, and start the server.
Re: [IMPORTANT SERVER ISSUE!] It can handle +70 players. -
Anak - 15.11.2013
didn't solve my problem....