SA-MP Forums Archive
Anticheat 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: Anticheat help (/showthread.php?tid=579332)



Anticheat help - PepsiCola23 - 26.06.2015

Hello guys,im developing my anticheat because i want to start a server,but i have a few problems.

I used search function,but i want the BEST ONE,so if you can give me the best tutorial it is ok.

1.I want to know how i can block those BOTS that join with names like BOTSRSQ1 BOTSRSQ2 BOTSRSQ3 BOTSRSQ4 etc and they flood my server.

2.Anti-Money hack-[i think its server-sided money]but i do not know how to use it.

3.Anti [other]flood,not just with the bots.

4.I did the rest ones[teleport,weapons,etc,so i need just these ones].

Thanks in advance!


Re: Anticheat help - Prokill911 - 26.06.2015

Quote:
Originally Posted by PepsiCola23
Посмотреть сообщение
Hello guys,im developing my anticheat because i want to start a server,but i have a few problems.

I used search function,but i want the BEST ONE,so if you can give me the best tutorial it is ok.

1.I want to know how i can block those BOTS that join with names like BOTSRSQ1 BOTSRSQ2 BOTSRSQ3 BOTSRSQ4 etc and they flood my server.

2.Anti-Money hack-[i think its server-sided money]but i do not know how to use it.

3.Anti [other]flood,not just with the bots.

4.I did the rest ones[teleport,weapons,etc,so i need just these ones].

Thanks in advance!

1, Make it so only X Amount can join via 1 IP.
So when ever someone joins your server, OnPlayerConnect - Should call a function which checks that players IP against everyone elses in the server.
2, Use a PVAR to store the players money, When someone attempts to spawn money have your anti-cheat check their money vs the PVAR You set.
3, Command flood - make a timer between each command


Re: Anticheat help - PepsiCola23 - 26.06.2015

At 3 i was thinking not at cmd flood,at the flood with PING,when the server is lagging.


And i want to make a security so they can not turn off the server or something like that.


Re: Anticheat help - Prokill911 - 26.06.2015

You mean.. DDoS Protection...
That's down to your host to provide.