SA-MP Forums Archive
Server Crash - 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 (/showthread.php?tid=503830)



Server Crash - AroseKhanNiazi - 31.03.2014

it crashed once more
Код:
[15:53:36] sscanf warning: String buffer overflow.
[15:53:36] [debug] Server crashed while executing test.amx
[15:53:36] [debug] AMX backtrace:
[15:53:36] [debug] #0  00000027 in Debug_Print0 (... <28 variable arguments>) at F:\Dumb_Ass\1v1_DM_Server_v4.2.0\pawno\include\float.inc:108
[15:53:36] [debug] #1  00000027 in Debug_Print0 (... <297795584 variable arguments>) at F:\Dumb_Ass\1v1_DM_Server_v4.2.0\pawno\include\float.inc:108
[15:53:36] [debug] #2  0001d0ac in public S@@_OnPlayerCommandText (playerid=4, cmdtext[]=@0x024fa090 "") at F:\Dumb_Ass\1v1_DM_Server_v4.2.0\pawno\include\zcmd.inc:108
[15:53:36] [debug] #3  0000e4b8 in public OnPlayerCommandText (playerid=4, cmdtext[]=@0x024fa090 "") at F:\Dumb_Ass\1v1_DM_Server_v4.2.0\pawno\include\YSI\y_hooks/impl.inc:929
[15:53:36] [debug] Native backtrace



Re: Server Crash - Zeppo - 31.03.2014

[15:53:36] [debug] Server crashed while executing test.amx - Can you not read?


Re: Server Crash - AroseKhanNiazi - 31.03.2014

my game mode name is test


Re: Server Crash - Unte99 - 31.03.2014

Show the last script that you were working on.


Re: Server Crash - AroseKhanNiazi - 31.03.2014

my server has been crashing from the start


Re: Server Crash - Konstantinos - 31.03.2014

Quote:
Originally Posted by Zeex
It's because of state machines - when using states the function start address points at somewhere in the beginning of the .amx file (before any other functions) where there's a switch and a casetbl of states, hence it finds the wrong symbol. State machines were never supported by crashdetect, but I'm working on this (in fact, I almost finished that).
If updating crashdetect to version 4.13.1 doesn't fix it, then I doubt you can get it fixed.

For latest version of crashdetect: https://github.com/Zeex/samp-plugin-...es/tag/v4.13.1


Re: Server Crash - Unte99 - 31.03.2014

Comment out all of the commands, if that helps, you will know where to look for the problem.


Re: Server Crash - sampplayer12 - 31.03.2014

Try updating crashdetect to version 4.13.1.


Re: Server Crash - AroseKhanNiazi - 31.03.2014

it's latest all ready