Server crash
#1

Crash server,this is from server_log
Код:
[18:24:48] [debug] Server crashed while executing nr-rp.amx
[18:24:48] [debug] AMX backtrace:
[18:24:48] [debug] #0 00000030 in ?? () from nr-rp.amx
[18:24:48] [debug] #1 00000030 in public JBC_OnDialogResponse () from nr-rp.amx
[18:24:48] [debug] #2 native CallLocalFunction () [080dce40] from samp03svr
[18:24:48] [debug] #3 0001eb6c in public OnDialogResponse () from nr-rp.amx
[18:24:48] [debug] System backtrace:
[18:24:48] [debug] #0 b74c60f3 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[18:24:48] [debug] #1 b74bdb61 in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[18:24:48] [debug] #2 b74c0405 in _ZN11crashdetect15SystemExceptionEPv () from plugins/crashdetect.so
[18:24:48] [debug] #3 b74c5c42 in ?? () from plugins/crashdetect.so
[18:24:48] [debug] #4 b777e500 in ?? ()
[18:24:48] [debug] #5 b5a4e4d8 in ?? () from ��
[18:24:48] [debug] #6 b74c08b4 in _ZN11crashdetect9DoAmxExecEPii () from plugins/crashdetect.so
[18:24:48] [debug] #7 b74c4203 in ?? () from plugins/crashdetect.so
[18:24:48] [debug] #8 b741d370 in ?? () from plugins/streamer.so
[18:24:48] [debug] #9 080dd0e2 in ?? () from ./samp03svr
[18:24:48] [debug] #10 08094054 in ?? () from ./samp03svr
[18:24:48] [debug] #11 b741c6e4 in ?? () from plugins/streamer.so
[18:24:48] [debug] #12 b74c09d5 in _ZN11crashdetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[18:24:48] [debug] #13 b74c41ca in ?? () from plugins/crashdetect.so
[18:24:48] [debug] #14 b74c8136 in amx_Exec () from plugins/crashdetect.so
[18:24:48] [debug] #15 b74c08b4 in _ZN11crashdetect9DoAmxExecEPii () from plugins/crashdetect.so
[18:24:48] [debug] #16 b74c4203 in ?? () from plugins/crashdetect.so
[18:24:48] [debug] #17 b741d370 in ?? () from plugins/streamer.so
[18:24:48] [debug] #18 080a524f in ?? () from ./samp03svr
[18:24:48] [debug] #19 080b11c4 in ?? () from ./samp03svr
[18:24:48] [debug] #20 08071b38 in ?? () from ./samp03svr
[18:24:48] [debug] #21 08071c32 in ?? () from ./samp03svr
[18:24:48] [debug] #22 0807bb80 in ?? () from ./samp03svr
[18:24:48] [debug] #23 080ad3bd in ?? () from ./samp03svr
[18:24:48] [debug] #24 080ad562 in ?? () from ./samp03svr
[18:24:48] [debug] #25 080a88ce in ?? () from ./samp03svr
[18:24:48] [debug] #26 b74eaca6 in __libc_start_main () from /lib32/libc.so.6
[18:24:48] [debug] #27 0804b4d1 in ?? () from ./samp03svr
Reply
#2

In debug mode.
Код:
error 021: symbol already defined: "S@@_OnDialogResponse"
Reply
#3

when you compile you get errors?
Reply
#4

One player crash server with this dialog,but i don't know how?
Код:
		if(dialogid == 50)
		{
			if(!response) return 1;
			if(response)
			{
				if(IsNumeric(inputtext))
				{
					if(strval( inputtext ) >= 1 ||  strval( inputtext ) <= 80 )
					{
						SafeGivePlayerMoney(playerid, - 50);
						PlayerInfo[playerid][pLottoNr] = strval(inputtext);
						format(string, sizeof(string), "Kupili ste listic s brojem %d.", strval(inputtext));
						SendClientMessage(playerid, COLOR_WHITE, string);
					}
					else
					{
						ShowPlayerDialog(playerid, 50, DIALOG_STYLE_INPUT, "Market", "Unesite broj koji zelite.", "Ok", "Izadji");
						return 1;
					}
				}
			}
		}
Reply
#5

This crashdetect.
Код:
[20:36:55] [debug] AMX backtrace:
[20:36:55] [debug] #0 00000038 in Debug_Print0 (... <13 variable arguments>) at C:\Users\Jahjagic\Desktop\NR\pawno\include\float.inc:108
[20:36:55] [debug] #1 00000038 in Debug_Print0 () at C:\Users\Jahjagic\Desktop\NR\pawno\include\float.inc:108
Reply
#6

Remove this:

Quote:

If(!response) return 1;

Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)