Someone turned off my server with a word
#1

Very good morning, this day I am having a problem and is as follows:

Someone turned off my server by typing a word in this case "RESTART SERVER". The type and the server writes it off.

I create code for avoid write: "RESTART SERVER".

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(strfind(text, "RESTART SERVER") != -1)
    {
    BanEx( playerid, "Hack of Restart server" );
    }
    return 1;
}
Review the log of bans and two people appeared banned.

The problem is that the problem continued! I think because they change their "magic word" and i'm not understand what is new "magic word"

How I can avoid this? Is there any way to prevent a server is restarted with a message on the chat?


If anyone knows please help me.

Sorry for my english.
Reply
#2

Search for holes in your script. Unless there's something under OnPlayerText to reboot the server via sending a particular message, they had to of executed a command.
Reply
#3

No way to restart the server. No command to restart the server.
Reply
#4

Quote:
Originally Posted by Manuel7284
Посмотреть сообщение
No way to restart the server. No command to restart the server.
Do they know your RCON password?
Reply
#5

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Do they know your RCON password?
No one! And to enter the RCON must enter two passwords.
Reply
#6

Do you use ZCMD?
Reply
#7

Quote:
Originally Posted by CrazyChoco
Посмотреть сообщение
Do you use ZCMD?
Do not use.
Reply
#8

Here a photo
The person does a countdown and the server restarts
Reply
#9

Look at the console, it'll show if they used GMX...
Reply
#10

Quote:
Originally Posted by Manuel7284
Посмотреть сообщение
Here a photo
The person does a countdown and the server restarts
This looks like server just starts lagging when OnPlayerText is called. Can you give us a code from OnPlayerText? I think there is something which overloads the server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)