Someone turned off my server with a word -
Manuel7284 - 17.02.2013
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.
Re: Someone turned off my server with a word -
Scenario - 17.02.2013
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.
Respuesta: Someone turned off my server with a word -
Manuel7284 - 17.02.2013
No way to restart the server. No command to restart the server.
Re: Respuesta: Someone turned off my server with a word -
Scenario - 17.02.2013
Quote:
Originally Posted by Manuel7284
No way to restart the server. No command to restart the server.
|
Do they know your RCON password?
Respuesta: Re: Respuesta: Someone turned off my server with a word -
Manuel7284 - 17.02.2013
Quote:
Originally Posted by RealCop228
Do they know your RCON password?
|
No one! And to enter the RCON must enter two passwords.
Re: Someone turned off my server with a word -
CrazyChoco - 17.02.2013
Do you use ZCMD?
Respuesta: Re: Someone turned off my server with a word -
Manuel7284 - 17.02.2013
Quote:
Originally Posted by CrazyChoco
Do you use ZCMD?
|
Do not use.
Respuesta: Someone turned off my server with a word -
Manuel7284 - 18.02.2013
Here a photo
The person does a countdown and the server restarts
Re: Someone turned off my server with a word -
rymax99 - 18.02.2013
Look at the console, it'll show if they used GMX...
Re: Respuesta: Someone turned off my server with a word -
pasha97 - 18.02.2013
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.