Giter Site home page Giter Site logo

octa-anticheat's Introduction

logo Octa is a powerful anti-cheat service that counteracts cheating in San Andreas Multiplayer, using Pawn.RakNet, which makes it faster and more effective than any classic anti-cheat.

โš ๏ธ Warning: this project is no longer supported, I'm not going to update it anymore.

Implementation

  1. Download the latest version in releases
  2. Put the Octa's Files file in pawno/include
  3. Enter this line in your initial script
#include <octa-anticheat>
#include <octa-damage>
  1. Install Pawn.RakNet

Usage

Octa calls a function when a cheating attempt is detected, this function contains the identifier number of the cheat and ID of the player. In the test.pwn file you have a usage example.

public OnCheatDetected(playerid, cheat_id, const cheat_name[], cheat_detections)
{
	static const fmt_str[] = "[{939393}%i{FFFFFF}] Cheat Detected: {EE5454}%s{FFFFFF} - Detections: {EFD755}%d";
	new string[sizeof(fmt_str) + (-2 + 64) + (-2 + 8)];

	strunpack(string, ANTICHEAT_INFO[cheat_id][ac_name], sizeof(string));
	format(string, sizeof(string), fmt_str, playerid, string, cheat_detections);

	SendClientMessageToAll(-1, string);
	ot_CheatKick(playerid, cheat_id);
	return 1;
}

Credits

Discord

Hyaxe

octa-anticheat's People

Contributors

alexchwoj avatar leheix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

octa-anticheat's Issues

undefined symbol "PR_WeaponsUpdate"

...\miamiy 2\pawno\include\octa-anticheat.inc(772) : error 017: undefined symbol "PR_WeaponsUpdate"
...\miamiy 2\pawno\include\octa-anticheat.inc(772) : error 009: invalid array size (negative, zero or out of bounds)
...\miamiy 2\pawno\include\octa-anticheat.inc(772) : error 036: empty statement
...miamiy 2\pawno\include\octa-anticheat.inc(772) : fatal error 107: too many error messages on one line

please help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.