Help with a crash!
#1

Hello, so I've recently launched a server with a couple of players (around 20) for testing. I came back after a little while after launching the server, and came back to this;

Quote:

[2018/10/25 20:26:28] [debug] Server crashed while executing ptfreeroam.amx
[2018/10/25 20:26:28] [debug] AMX backtrace:
[2018/10/25 20:26:28] [debug] #0 0000006c in ?? (... <27 arguments>) at <unknown file>:0
[2018/10/25 20:26:28] [debug] #1 00000068 in public OnDialogResponse () at <unknown file>:0

I tried to fix it myself, but it doesn't even show me where the error happened, and noone reported anything to me. Please help!
Reply
#2

Paste your OnDialogResponse.
Reply
#3

It's thousands of lines of code, every time I add a system I thoroughly test it and I have never crashed doing any action with OnDialogResponse, but here is the beginning of it;

Quote:

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
for(new i = 0, l = strlen(inputtext); i < l; i ++)
{
if(inputtext[i] == '%') inputtext[i] = '#';
}

}

I have no idea why there are 27 arguments in the crash, it just doesn't seem logical.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)