Anti-cheat guide

From Multi Theft Auto: Wiki
Revision as of 17:37, 15 July 2012 by Ccw (talk | contribs)
Jump to navigation Jump to search

AC (anti cheat) guide

Server setup

3 settings in mtaserver.conf control AC behaviour for a server:

<disableac></disableac>


Comma separated list of disabled anti-cheats. This setting disables specific AC codes. AC codes are shown to the player when that detection has been triggered. Available codes are:

Code for <disableac> Displayed on detect Notes
1 AC #1 Classic health/armour hack detector
4 AC #4 Detects presence of trainer. Capital letters in the message are for tagging particular trainers
5 AC #5 Detects use of trainer.
6 VF #6 Detects use of trainer incl.: player movement, health/damage, weapons, money, gamespeed, game cheats, aimbot
7 VF #7 Detects use of trainer.
8 VF #8 Detects unauthorized mods. Capital letters in the message are for tagging particular items e.g. CLEO - Cleo detected, RENDER - Wall hack detected
11 AC #11 More trainers
VF #11 Dll injector / Trainer
13 SD #13 Data files issue


<enablesd></enablesd>


Comma separated list of enabled special detections. A special detection is a type of anti-cheat for (usually) harmless game modifications. Competitive servers may wish to enable special detections, but most servers should leave this setting blank. Available codes are:

Code for <enablesd> Displayed on detect Notes
12 SD #12 Disallow custom D3D9.DLL


<client_file name="data/carmods.dat" verify="0"/>


By default, clients may not join a server if they have customized GTA:SA data files. Adding one or more of the above lines excludes files from validation. The file names that can be used are:

  • "data/carmods.dat"
  • "data/animgrp.dat"
  • "data/ar_stats.dat"
  • "data/melee.dat"
  • "data/clothes.dat"
  • "data/object.dat"
  • "data/default.dat"
  • "data/surface.dat"
  • "data/default.ide"
  • "data/gta.dat"
  • "data/surfinfo.dat"
  • "data/peds.ide"
  • "data/vehicles.ide"
  • "data/pedstats.dat"
  • "data/water.dat"
  • "data/txdcut.ide"
  • "data/water1.dat"
  • "models/coll/weapons.col"
  • "data/weapon.dat"
  • "data/plants.dat"
  • "anim/ped.ifp"
  • "data/furnitur.dat"
  • "data/procobj.dat"
  • "data/maps"


Note 1: "data/maps" represents all the files and directories within "data/maps"

Note 2: "data/handling.cfg" is not included as it is always ignored by MTA because of the internal vehicle handling functions. If you want to load custom handling.cfg files, you can achieve the same effect by using some resource I would imagine.


Client

When joining a server, the server AC info is displayed in the client console (F8)
Example:

   Server AC Info: [Allowed client files: None] [Disabled AC: None] [Enabled SD: None]

Disabled AC contains the contents of the server setting from <disableac></disableac>
Enabled SD contains the contents of the server setting from <enablesd></enablesd>
Allowed client files contains numbers to indicate which client files the server allows to be modified. The numbers represent these files:

  • 1 - "data/carmods.dat"
  • 2 - "data/animgrp.dat"
  • 4 - "data/ar_stats.dat"
  • 5 - "data/melee.dat"
  • 6 - "data/clothes.dat"
  • 7 - "data/object.dat"
  • 8 - "data/default.dat"
  • 9 - "data/surface.dat"
  • 10 - "data/default.ide"
  • 12 - "data/gta.dat"
  • 13 - "data/surfinfo.dat"
  • 14 - "data/peds.ide"
  • 15 - "data/vehicles.ide"
  • 16 - "data/pedstats.dat"
  • 17 - "data/water.dat"
  • 18 - "data/txdcut.ide"
  • 19 - "data/water1.dat"
  • 20 - "models/coll/weapons.col"
  • 21 - "data/weapon.dat"
  • 22 - "data/plants.dat"
  • 23 - "anim/ped.ifp"
  • 24 - "data/furnitur.dat"
  • 25 - "data/procobj.dat"
  • 26 - "data/maps"


Using modified files

If you want to use modified data files from your GTA:SA install directory, check this check box:

   Settings->Multiplayer->Use customized GTA:SA files

(check box only appears if your GTA:SA data files are customized)

Note that this will restrict your access to public servers as most do not allow customized data files.