udan11 / samp-anticheat

Heuristics to detect cheats in an online multiplayer game (anticheat for SA-MP servers).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SA-MP Anticheat

This library provides protection against popular hacks.

Building

You can build this library using the Python utility located in pawncc/builder.py. This utility merges all components in one single file. Sample of usage: pawncc/builder.py ./src ./Anticheat.inc

Installation

For this library to run normally it requires a master script. The master script represents the place where data is handled and the actual cheat detection process occurs. Additionally, if there is more than one script that modifies vital information the anticheat must be included in those aswell. Those scripts are called slave scripts.

WARNING! If there is more than one master instance per server the server might report players that aren't actually cheating.

  1. Include the Anticheat in your script: * Master (core):

      #define AC_MASTER
      #include <Anticheat>
    
*	__Slave__: 

		#define AC_SLAVE
		#include <Anticheat>
  1. Compile your script.

For more advanced information about this library, please read NOTES.md.

About

Heuristics to detect cheats in an online multiplayer game (anticheat for SA-MP servers).

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 87.2%Language:Shell 12.8%