[Critical] Server Crash Bug
#1

when some player type unknown command( this is just my expectation )
server is crashed.
i presume there is some critical samp basic command ( it is not recorded in log, samp basic command is not recorded in log )
when server crashed using crashdetect plugin, an error message recorded 'The server has crashed due to an unexpected error.'
i thing it is not fault of gamemode
Reply
#2

Код:
OnplayerCommandtext(playerid,cmdtext[])
add this code
Код:
printf("OnplayerCommandtext playerid %d cmdtext %s",playerid,cmdtext)
Код:
OnDialogresponse
add this
Код:
printf("OnDialogresponse playerid %d response %d listitem %s inputtext %s ",playerid,response,listitem,inputtext);
for full debug
then after crash see logs
Reply
#3

I already did it but it was not recorded in server log
Reply
#4

Check if you're using strins with arrays/strings with unknown size.
Example:
pawn Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
    strins(cmdtext,......);
    return 1;
}
Reply
#5

Quote:
Originally Posted by leong124
Посмотреть сообщение
Check if you're using strins with arrays/strings with unknown size.
i think this problem is not my mode error, i've heard similar situation occred in other server ( admins of that server agreed to change there server law which server crasher suggests. but that crasher did not tell how he crash the server ).
Is there any way to appear basic command of SA-MP to server log?
Reply
#6

Can you reproduce this bug?
Have you updated to R5? There is a known exploit to crash older servers.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)