SA-MP Forums Archive
How to protect my server samp???? - 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: How to protect my server samp???? (/showthread.php?tid=501085)



How to protect my server samp???? - Mijata - 16.03.2014

How to protect server samp
help me please

how to protect from/rcon hack cheats
help me please



Re: How to protect my server samp???? - ChristianIvann09 - 16.03.2014

****** is your friend

CLICK HERE


Re: How to protect my server samp???? - Mijata - 16.03.2014

I have but not working


Re: How to protect my server samp???? - GalaxyHostFree - 16.03.2014

Quote:
Originally Posted by ChristianIvann09
Посмотреть сообщение
****** is your friend

CLICK HERE
FUNNY NOT.



@Mijita

Add rcon 0 from your server.cfg. It will disable your rcon (/rcon login) or so whatever related to rcon. So you will not be saying in future. "Someone is trying to hack my rcon password omg *cries *cries"


Re: How to protect my server samp???? - Mijata - 16.03.2014

What If type /rcon login 0 ??


Re: How to protect my server samp???? - GalaxyHostFree - 16.03.2014

I haven't use rcon 0 yet. But i'm pretty sure doing /rcon login 0 /rcon log /rcon /rcon 1235 /rcon yeah /rcon login 1235 will not work. You should try it to see.


Re: How to protect my server samp???? - Mijata - 16.03.2014

not work writes you are loged in as admin


Re: How to protect my server samp???? - GalaxyHostFree - 16.03.2014

If not there are some simple script for rcon attempt I found:

Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    for(new i=0; i<MAX_PLAYERS; i++) //Loop through all players
    {
        if(adminlevel[i] >  3) //If the admin level is greater than 3 then 
        {
            if(!success)
            {
                printf("FAILED RCON LOGIN BY IP %s USING PASSWORD %s",ip, password);
            }
            else
            {
                printf("IP %s logged in to rcon successfully using password %s",ip, password);
            }
        }
        else
        {
            SendClientMessage(playerid, 0xFFFFFFFF, "Only Administrators may use RCON.");
        }
    }
    return 1;
}
If a player who is not an admin try to use /rcon, then kick/ban/banip him. I prefer banip+banname . Hope someone give you a script for this.


Re: How to protect my server samp???? - Mijata - 16.03.2014

ok thanks -How do I protect server from cheats?? do you know?