SA-MP Forums Archive
Someone turned off my server with a word - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Someone turned off my server with a word (/showthread.php?tid=416685)



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.