17.09.2013, 13:35
Hello, help me with a problem: Sometimes, when you connect the player
restart the server.
P.S ****** translator.
line with error: 5136
help me please..
restart the server.
P.S ****** translator.
PHP код:
[18:19:44] [chat] [Dm..)Pro_Tip]: /level 2
[18:19:52] [chat] [Dm..)Pro_Tip]:
[18:22:38] [part] Dm..)Pro_FrAeR has left the server (1:1)
[18:22:50] Incoming connection: 178.124.119.109:39785
[18:22:50] [join] Kiril_Jonson has joined the server (1:178.124.119.189)
[18:22:50] [debug] Server crashed while executing moddm.amx
[18:22:50] [debug] AMX backtrace:
[18:22:50] [debug] #0 native format () [080d0330] from samp03svr
[18:22:50] [debug] #1 00048ac4 in public OnPlayerConnect () at C:\Documents and Settings\\Р \MOOD\moddm.pwn:5136
[18:22:50] [debug] Native backtrace:
[18:22:50] [debug] #0 f73e660b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[18:22:50] [debug] #1 f73dde92 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[18:22:50] [debug] #2 f73df8d9 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[18:22:50] [debug] #3 f73e62a0 in ?? () from plugins/crashdetect.so
[18:22:50] [debug] #4 ffffe410 in __kernel_rt_sigreturn () from linux-gate.so.1
[18:22:50] [debug] #5 08095207 in ?? () from ./samp03svr
[18:22:50] [debug] #6 080d0392 in ?? () from ./samp03svr
[18:22:50] [debug] #7 08093d14 in ?? () from ./samp03svr
[18:22:50] [debug] #8 f73dd5fc in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[18:22:50] [debug] #9 f73e215c in ?? () from plugins/crashdetect.so
[18:22:50] [debug] #10 f73ea64d in amx_Exec () from plugins/crashdetect.so
[18:22:50] [debug] #11 f73dfabb in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[18:22:50] [debug] #12 f73e2100 in ?? () from plugins/crashdetect.so
[18:22:50] [debug] #13 080ace59 in ?? () from ./samp03svr
[18:22:50] [debug] #14 080c4ccf in ?? () from ./samp03svr
[18:22:50] [debug] #15 080bbc2f in ?? () from ./samp03svr
[18:22:50] [debug] #16 08071b48 in ?? () from ./samp03svr
[18:22:50] [debug] #17 08071c42 in ?? () from ./samp03svr
[18:22:50] [debug] #18 0807ba60 in ?? () from ./samp03svr
[18:22:50] [debug] #19 080b5a2d in ?? () from ./samp03svr
[18:22:50] [debug] #20 080b5bc2 in ?? () from ./samp03svr
[18:22:50] [debug] #21 080b14d3 in ?? () from ./samp03svr
[18:22:50] [debug] #22 f74d1627 in __libc_start_main () from /lib32/libc.so.6
[18:22:50] [debug] #23 0804b521 in ?? () from ./samp03svr
PHP код:
format(file,sizeof(file),"/LuxAdmin/Accounts/%s.sav",udb_encode(PlayerName));
PHP код:
//================================================== ============================
// Register & Login
//================================================== ============================
if(strlen(dini_Get("LuxAdmin/Config/aka.txt", tmp3)) == 0)
dini_Set("LuxAdmin/Config/aka.txt", tmp3, PlayerName);
else
{
if( strfind( dini_Get("LuxAdmin/Config/aka.txt", tmp3), PlayerName, true) == -1 )
{
format(string,sizeof(string),"%s,%s", dini_Get("LuxAdmin/Config/aka.txt",tmp3), PlayerName);
dini_Set("LuxAdmin/Config/aka.txt", tmp3, string);
}
}
if(!udb_Exists(PlayerName2(playerid)))
SendClientMessage(playerid,orange, "[Info]:>> Этот ник не зарегистрирован. (/"#RegisterCommand")");
else
{
AccInfo[playerid][Registered] = 1;
format(file,sizeof(file),"/LuxAdmin/Accounts/%s.sav",udb_encode(PlayerName)); // line error 5136
new tmp2[256]; tmp2 = dini_Get(file,"Ip");
if( (!strcmp(tmp3,tmp2,true)) && (ServerInfo[AutoLogin] == 1))
{
LoginPlayer(playerid);
if(AccInfo[playerid][Level] > 0)
{
switch(AccInfo[playerid][Level])
{
case 1: AdmRank = "Админ 1 уровня";
case 2: AdmRank = "Админ 2 уровня";
case 3: AdmRank = "Админ 3 уровня";
case 4: AdmRank = "Админ 4 уровня";
case 5: AdmRank = "Админ 5 уровня";
case 6: AdmRank = "Админ 6 уровня";
}
if(AccInfo[playerid][Level] > 6)
{
AdmRank = "Professional Admin";
}