SA-MP Forums Archive
Server allways restarting or crashing, why?(Sorry for d-post) - 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: Server allways restarting or crashing, why?(Sorry for d-post) (/showthread.php?tid=267409)



Server allways restarting or crashing, why?(Sorry for d-post) - Nexotronix - 08.07.2011

Server allways restarting or crashing!
More times it crashin and i see allways in log warnings with sscanf

Код:
 sscanf warning: Strings without a length are deprecated, please add a destination size.
i set lower the sizes of vars and set sizes like this

pawn Код:
if(sscanf(params,"s[MAX_STRING]",action))
i have then this

Код:
sscanf warning: Invalid data length.
[ sscanf warning: Invalid character in data length.
Still restarting why?

Who know reasons of crashes plese write them here!

And how to install this: https://sampforum.blast.hk/showthread.php?tid=262796


Re: Server allways restarting or crashing, why?(Sorry for d-post) - Gazmull - 08.07.2011

Remove [MAX_STRING].


Re: Server allways restarting or crashing, why?(Sorry for d-post) - Nexotronix - 08.07.2011

Quote:
Originally Posted by Gazmull
Посмотреть сообщение
Remove [MAX_STRING].
All good, But Why server always crashin?


Re: Server allways restarting or crashing, why?(Sorry for d-post) - Gazmull - 08.07.2011

What kind of crash?


Re: Server allways restarting or crashing, why?(Sorry for d-post) - andruz99 - 08.07.2011

Server may restart or crah usually if you dont have certain plugins, includes or something else.