samp.directory
← Skrypty i biblioteki

AbdulOmarCR/octa-anticheat

Octa is a anticheat for San Andreas Multiplayer

Biblioteka★ 1zaktualizowano cze 2021Brak licencji
Otwórz na GitHubie

To repozytorium nie ma pliku licencji. Jest publiczne do odczytu, ale samo to nie daje pozwolenia na ponowne użycie.

Wypróbuj w kompilatorze Pawn →

Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.

README.md

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.

Implementation

  1. Download the latest version in releases

  2. Put the octa.pwn file in pawno/include

  3. Enter this line in your initial script


#include <octa>

  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;
}

Fuctions


ToggleCheatDetection(cheat_id, bool:enable);

SetCheatImmunity(playerid, cheat_id, bool:immunity);

GetCheatImmunity(playerid, cheat_id);

GetPlayerDetections(playerid, cheat_id);

GetPlayerLastDetection(playerid, cheat_id);

Features

  • Anti WeaponHack

  • Anti AmmoHack

  • Anti SpecialAction Hack

  • Anti fly

  • Anti UnFreeze

  • Anti Teleport Hack

  • Position

  • Interior

  • Virtual World

  • Anti Crasher
  • Invalid camera

  • Bullet crasher

  • Unoccupied crasher

  • Enter crasher

  • Bullet fake position

  • Anti Flood
  • Chat

  • Deaths

  • Enter vehicle

  • Exit vehicle

  • Request class

  • Request spawn

  • Anti invisible vehicle surfing

  • Anti invisible aim

  • Anti spec

  • Anti MoneyHack

  • Anti FakeBullets

  • Anti CarJack

  • Anti TrollCheat

  • Anti DialogHack

  • IP Sessions limiter

Credits

Were you about to copy and paste all my work? Quite there ruffian, you have to know something!

This is an old and discontinued version of Octa Anti-Cheat, it is more than 1 year out of date compared to the current version used in Hyaxe, but who knows, maybe it will be useful for someone! PD: Give a star...

Discord

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem

AbdulOmarCR/octa-anticheat: Biblioteka SA-MP | samp.directory