SA-MP Forums Archive
Server Crash Please Help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server Crash Please Help! (/showthread.php?tid=493003)



Server Crash Please Help! - TheBosss - 06.02.2014

Hello Guys,

Someone is stopping my server,and this is really annoying.They enter on the server and write that they will f*ck my server.And then the server stops.In the server_log doesn't appears anything and i have the crashdetect plugin..
In every case what could be the problem?


Re: Server Crash Please Help! - PowerPC603 - 06.02.2014

Did they enter using Rcon?
Change your rcon password and restart server.

They could have simply found your rcon password and they're probably using the exit command to shutdown your server.

You could try to print whatever command is entered under OnRconCommand.
Then you can see if this is the cause.

Also print something under OnRconLoginAttempt.
Print the IP, so you know which IP to ban if they successfully login through rcon.

pawn Код:
public OnRconCommand(cmd[])
{
    printf("[RCON]: Command '%s' was used", cmd);

    return 0;
}

public OnRconLoginAttempt(ip[], password[], success)
{
    printf("[RCON login attempt]: IP '%s' tried to login to the server with password '%s'", ip, password);
    if (success)
        printf("[RCON login attempt]: Logging in was sucessful");
    else
        printf("[RCON login attempt]: Logging in failed");

    return 1;
}
This could help if they used rcon to shutdown your server.


Re: Server Crash Please Help! - TheBosss - 06.02.2014

They didn't logged in as RCON..
I tryed updateing my samp version to that server patch 1 let's see if they will crash it now..