Server crash random and i don't know why - 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: Server crash random and i don't know why (
/showthread.php?tid=654960)
Server crash random and i don't know why -
RedGun2015 - 10.06.2018
My server crash random. I start the server, players are join, they are playing and after 2/3 hours, sometimes 5 or 6 hours, the server crash and i don't know why..what is the problem.
Here is server_log:
https://pastebin.com/H3miqNpQ
And the error:
https://pastebin.com/hwbBg6cq
Line:
Код:
format(szMessage, sizeof(szMessage), "%s changed %s's rank to %d from %d.", N(playerid), c_name, rank, c_rank);
Re: Server crash random and i don't know why -
GRiMMREAPER - 10.06.2018
I searched a bit and came across this thread:
https://sampforum.blast.hk/showthread.php?tid=637627
Quote:
Yeah, I solved it, it was from a player name that bypass 24 characters.
|
It's probably because you are not escaping the characters properly.
Re: Server crash random and i don't know why -
RedGun2015 - 10.06.2018
Quote:
Originally Posted by GRiMMREAPER
|
But i'm not insert into database this string in order to escape it, its just send to all clan members that message about his rank was changed.
https://pastebin.com/39PKvFPN
Re: Server crash random and i don't know why -
GRiMMREAPER - 10.06.2018
pawn Код:
[11:36:41] Warrior@DinEmpire has been connected to the server (IP: 197.43.233.21).
[11:36:49] [debug] Server crashed while executing kripten.amx
As you can see, there's a 8 second gap between the last player joining and the server crashing. Can you see if the same happens everytime someone with a special character is part of their name (e.g: @ or !) joins the server?
Re: Server crash random and i don't know why -
RedGun2015 - 10.06.2018
Quote:
Originally Posted by GRiMMREAPER
pawn Код:
[11:36:41] Warrior@DinEmpire has been connected to the server (IP: 197.43.233.21). [11:36:49] [debug] Server crashed while executing kripten.amx
As you can see, there's a 8 second gap between the last player joining and the server crashing. Can you see if the same happens everytime someone with a special character is part of their name (e.g: @ or !) joins the server?
|
With "!" in the name can't join by samp default and neither in game they can't change his name, because i've restricted that symbol.
But with "@" you can join, and i've joined now myself, and nothing happend, server doesn't crash because of this .. i think
EDIT:
The server crash again...
https://pastebin.com/Ej3Nbc0C
EDIT2:
the server crash again:
server_log:
https://pastebin.com/h25qdeSk
commands:
https://pastebin.com/X6L9H1z6
line :
Код:
format(szMessage, sizeof(szMessage), "AdmCmd: {FFFFFF}%s teleported into a %s.", N(playerid), VehicleNames[model-400]);
Re: Server crash random and i don't know why -
RedGun2015 - 11.06.2018
bump