Installation Instructions - Old Versions

All releases of the antihack are posted here. Please be sure to keep your version up to date with the most recent release.
Locked
User avatar
BigEgg
Site Admin
Posts: 206
Joined: Fri Nov 25, 2016 3:25 am
Contact:

Installation Instructions - Old Versions

Post by BigEgg »

The install of this antihack is more complicated than that of infiSTAR, so please read these instructions carefully so that you don't run into problems. I have tried to put them in the most sequential order possible, as well as provide pictures.

Step 1:

Copy the antihack folder into your dayz_server folder.

Spoiler

Image

 

Step 2:

In \z\addons\dayz_server\init\server_functions.sqf:

Find:

#include "\z\addons\dayz_server\compile\server_toggle_debug.hpp"

Below it, add:

#include "\z\addons\dayz_server\antihack\init.sqf"

Spoiler

Image

 

Step 3:

Copy the antihack.hpp file into the root of your mission folder.

Spoiler

Image

 

Step 4:

In description.ext:

Find:

#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp"

Below it, add:

#include "antihack.hpp"

Spoiler

Image

 

Step 5:

Copy the Antihack.dll and Antihack.ini files into your server's root folder.

Spoiler

Image

 

Step 6:

Adjust the settings in the Antihack.ini file to fit your server.

Please keep in mind the following:
  • The file-paths for the logs can be whatever you choose. They can be relative or absolute paths.
  • The [CheckFiles] section must have two valid paths. Each path should be the same, with only the file varying: The first path must point toward your BattlEye publicvariable.log file. THIS IS VERY IMPORTANT!
  • The second path must point toward your BattlEye scripts.log file. THIS IS VERY IMPORTANT!
The bans setting should point toward your BattlEye bans.txt. Please note the following:
  • All bans issued by the Antihack will be written to this file.
  • You will need to have a program automatically reload this file so that the bans are loaded immediately. BEC can be configured to do this with the following command being added to its config file:
AutoLoadBans = True

Spoiler

Image

Spoiler

Image

 

Step 7:

In your BattlEye scripts.txt:

Find:

//new2

Below it, add:

1 AH_MEMCHKLOGIN_REQ=

Spoiler

Image

 

Step 8:

In your publicvariable.txt:

Find:

//new

Below it, add:

1 AHPV_MemChk

Find:

5 !=(remExField|remExFP)

Change it to:

5 !=AHPV_(Ban|Deploy|LOG|MemChk|SafeZoneDH|StaffReq) !=AHPV_Retrieve[a-zA-Z0-9]{15,25} !=(remExField|remExFP)

Spoiler

Image

 

Installation completed!

 

It is recommended that you rotate your BattlEye logs every restart. I have included a log rotator in the zip folder for this purpose. It will prevent the file scans from having to scan huge files.
Locked