Server crash
#1

Hello all,

For a long time we drop server, i put crashdetect in gamemode, and server.log says:

Код:
[17:13:13] [debug] Server crashed while executing NLRP.amx
[17:13:13] [debug] AMX backtrace:
[17:13:13] [debug] #0 00002000 in ?? (41, 41, 0, 80753988, 80753892, 80751716, 21, 78) from NLRP.amx
[17:13:13] [debug] #1 0000006f in public OnPlayerCommandPerformed () from NLRP.amx
[17:13:13] [debug] #2 native CallLocalFunction () from samp03svr
[17:13:13] [debug] #3 0000423c in public OnPlayerCommandText (29, 78757480) from NLRP.amx
What to do, how do I know that the command?
Reply
#2

Well if it crashes while executing a command just use a command log plugin and u will know
Reply
#3

what exactly do you mean?
Reply
#4

it crashes when u execute an command doesn it?
Reply
#5

there is a command that lowers server but I do not know what that command
Reply
#6

Quote:

[19:11:19] [debug] Server crashed while executing NLRP.amx
[19:11:19] [debug] AMX backtrace:
[19:11:19] [debug] #0 00007200 in ?? (50, 32, 0, 80768212, 80768116, 80765940, 5, 73) from NLRP.amx
[19:11:19] [debug] #1 0000006e in public OnPlayerCommandPerformed () from NLRP.amx
[19:11:19] [debug] #2 native CallLocalFunction () from samp03svr
[19:11:19] [debug] #3 0000423c in public OnPlayerCommandText (58, 78771704) from NLRP.amx

Help? :/
Reply
#7

why the hell dont u just do what i told u in my private message? xD
Reply
#8

I did not see that you have sent a message to sorry,

thank you very much but it is not a solution, I need something more specific?
Reply
#9

its the specific enough it will show u the command that causes the crash, afterwards u can show us the command
Reply
#10

PHP код:
    new string1[80];
    
format(string1,80,"Logs/Command.txt");
    new
        
File:lFile fopen(string1io_append),
        
logData[200],
        
fyearfmonthfday,
        
fhourfminutefsecond;
    
getdate(fyearfmonthfday);
    
gettime(fhourfminutefsecond);
    
format(logData200,"[%02d/%02d/%04d %02d:%02d:%02d] %s: %s \r\n"fdayfmonthfyearfhourfminutefsecondGetName(playerid), cmdtext);
    
fwrite(lFilelogData);
    
fclose(lFile);
    return 
1
just put that into your public onPlayerCommandText, ok?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)