Crashing
#1

Removed
Reply
#2

Can we see your OnDialogResponse callback?
Reply
#3

Removed
Reply
#4

Removed, thanks for the help!
Reply
#5

Show us your OnDialogRespons
Reply
#6

Removed
Reply
#7

I'm not sure if its a spam bot. try to ban that IpAdress
or try to make a Anti-IP Bot for it.
Reply
#8

Not sure, but try adding this to your OnDialogResponse...
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(PlayerInfo[playerid][LoggedIn] != 1)
    {
        if(dialogid != DIALOGID0+1 && dialogid != DIALOGID0+2) return SendClientMessage(playerid, 0xFF0000FF, "You must be logged in to access this dialog.");
    }
    //code continues...
Just make sure this is before any other dialogs are called. That way, the player must be logged in to use dialogs and will provide at least SOME protection against these attacks.
Reply
#9

Removed, thanks for the help!
Reply
#10

Try to add those as he gave you that code.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)