All Projects → Whitetigerswt → SAMP_AC_v2

Whitetigerswt / SAMP_AC_v2

Licence: GPL-3.0 License
Version 2.0 of SAMP Anti-Cheat. Supported from 2014-2017

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
Pawn
127 projects
NSIS
403 projects
HTML
75241 projects
M4
1887 projects

SAMP_AC_v2

Linux Build Status Windows Client & Server Build status

NOT SUPPORTED OR MAINTAINED. NOT RECOMMENDED FOR USE IN ANY SERVER FOR ANY PURPOSE WITHOUT MAJOR CHANGES TO CODE.

CODE NOT WORKING IN ANY SA-MP VERSION OTHER THAN 0.3.7 R1 CLIENT AND SERVER. REQUIRES MEMORY HACKING TO UPDATE TO A NEWER VERSION.

Version 2.0 of SAMP Anti-Cheat. This is a full re-code from the ground up.

Use

This program was used by thousands of players for SA-MP (San Andreas Multiplayer). It was usually used in conjunction with attdef. This program protected against various common cheats that were highly popular between the years 2014-2017. I would not recommend using this today for anti-cheat purposes as it is fairly dated. I believe it could be updated.

Features

  • Game File verification
  • Process list verification (checks for illegal processes)
  • Injected libraries verification (Checks for illegally injected DLL's)
  • Extension to SA-MP. Provides many new functions to the SA-MP game client. Player's familiar with SA-MP+ should recognize some similar functionality.
  • Hooks into main SA-MP network code to allow a seamless installation for server and client.
  • DirectX and many game hooks to prevent advanced cheats.
  • Verifies integrity of packets in the SA-MP network layer.
  • Rudimentary thread analysis: Threads created by all modules were kept track of and monitored.
  • Integration of the Dynamic Natives proof-of-concept.
  • Easy-to-install client that automatically detects GTA:SA and SA-MP installation.
  • Easy-to-install server with vast documentation on new functions and callbacks.
  • Many example Filterscripts showing functionality, easy to extend and implement in current gamemodes.
  • Debugging counter-measures and advanced protection against software decompilation via the Enigma Protector.
  • Advanced configuration to prevent sync bugs, control c-bug speed, switch reload, vehicle blips.
  • Was run and supported on many public servers such as uL DayZ, GTA:T, Public Autoarena as well as countless Attack and Defend servers and gamemodes.
  • Much much more...

Compiling

Windows

1) Download Visual Studio 2017 Community Edition - https://www.visualstudio.com/en-us/visual-studio-homepage-vs.aspx
2) In the Visual Studio Installer, check "Desktop Development with C++"
3) Under "Desktop Development with C++" Check "Windows XP Support for C++" and do not modify any other optional components
4) After installation, Open acv2.sln with Visual Studio 2017
5) Switch to release mode
6) Compile

Client Specific

  • Ask Whitetiger to run the Enigma protector on the compiled file - you can use the demo for testing.
  • Download nullsoft scriptable install system - http://nsis.sourceforge.net/Download
  • Run sampac.nsi

Linux

1) Use _32_-bit Ubuntu 14.04.3 LTS Through VMWare (Or whatever distro you want, Ubuntu is the easiest)
2) sudo apt-get update
3) sudo apt-get upgrade 
4) sudo apt-get install build-essential git g++-4.4 (Old version of g++ to allow compatability with older Linux distros)
6) git clone https://github.com/Whitetigerswt/SAMP_AC_v2.git
7) cd to "ACv2_Server"
8) "make"
9) sampac.so should be located in ACv2_Server/bin/

Docker

1) git clone https://github.com/Whitetigerswt/SAMP_AC_v2.git
2) docker build --rm -f Dockerfile . samp_ac_v2:latest .

Notes for Docker: Docker automates some dependency building, this will hopefully make the binaries more compatible with future Linux distros

Release builds

Fully compiled release builds are available here

Gameplay

Questions, comments, suggestions, future development?

Ask me on the Discord

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].