Skocz do zawartości

Rekomendowane odpowiedzi

Dołączanie do serwera, kick i takie logi:

[17:29:37] [debug] Server crashed while executing new.amx
[17:29:37] [debug] AMX backtrace:
[17:29:37] [debug] #0 native mysql_real_escape_string () from mysql.so
[17:29:37] [debug] #1 000f1000 in public SSCANF_OnPlayerConnect (... <1 argument>)  at X:\Users\Alvaro\Desktop\ 0.3.7 ugs \gamemodes\new.pwn:114
[17:29:37] [debug] #2 0000109c in public OnPlayerConnect (playerid=1) at X:\Users\Alvaro\Desktop\0.3.7 ugs\pawno\include\sscanf2.inc:154
[17:29:37] [debug] Native backtrace:
[17:29:37] [debug] #0 f7469e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[17:29:37] [debug] #1 f7462bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[17:29:37] [debug] #2 f7463dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[17:29:37] [debug] #3 f7464226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[17:29:37] [debug] #4 f7469adc in ?? () from plugins/crashdetect.so
[17:29:37] [debug] #5 f77bdd50 in __kernel_rt_sigreturn () from linux-gate.so.1
[17:29:37] [debug] #6 f731daec in _Z5ErrorP5MySQLPKci () from plugins/mysql.so
[17:29:37] [debug] #7 f73212ce in _ZN7Natives26n_mysql_real_escape_stringEP6tagAMXPi () from plugins/mysql.so
[17:29:37] [debug] #8 080950e4 in ?? () from ./samp03svr
[17:29:37] [debug] #9 f746594b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[17:29:37] [debug] #10 f74688f8 in ?? () from plugins/crashdetect.so
[17:29:37] [debug] #11 f746c916 in amx_Exec () from plugins/crashdetect.so
[17:29:37] [debug] #12 f7464be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[17:29:37] [debug] #13 f7468659 in ?? () from plugins/crashdetect.so
[17:29:37] [debug] #14 f73b625c in ?? () from plugins/streamer.so
[17:29:37] [debug] #15 080a51c9 in ?? () from ./samp03svr
[17:29:37] [debug] #16 080d09ff in ?? () from ./samp03svr
[17:29:37] [debug] #17 080b5515 in ?? () from ./samp03svr
[17:29:37] [debug] #18 08071d38 in ?? () from ./samp03svr
[17:29:37] [debug] #19 08071e32 in ?? () from ./samp03svr
[17:29:37] [debug] #20 0807bc50 in ?? () from ./samp03svr
[17:29:37] [debug] #21 080aed3d in ?? () from ./samp03svr
[17:29:37] [debug] #22 080aef02 in ?? () from ./samp03svr
[17:29:37] [debug] #23 080aa13a in ?? () from ./samp03svr
[17:29:37] [debug] #24 f74a7a63 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

 

Linijka 113-116

	Config[connects]++;
	mysql_real_escape_string(pName[playerid], pName[playerid]);
	mysql_query_ex("SELECT banned_name, ip, FROM_UNIXTIME(u_time, '%s'), reason, admin_name, time_ban, FROM_UNIXTIME(time_ban, '%s') FROM ban_info WHERE ((serial = '%s' AND (ip like '%d.%d%c' OR for_serial = 1)) OR banned_name = '%s' OR ip = '%s' OR ip = '%d.%d') AND white_name != '%s' LIMIT 1", "%H:%i %d.%m.%Y", "%H:%i %d.%m.%Y", serial, h[], h[1], "%", pName[playerid], p_ip, h[], h[1], pName[playerid]);
	mysql_store_result();

 

 

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

  • Przeglądający   0 użytkowników

    Brak zarejestrowanych użytkowników przeglądających tę stronę.

×