samp.directory
← Скрипты и библиотеки

AbdulOmarCR/octa-anticheat

Octa is a anticheat for San Andreas Multiplayer

Библиотека★ 1обновлён июнь 2021 г.Без лицензии
Открыть на GitHub

В этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.

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

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью