The elusive hitreg fix
#24
The patch is really simple. In source/src/serverevent.h at line 40 change
if(!gs.isalive(gamemillis) ||
       e.gun<GUN_KNIFE || e.gun>=NUMGUNS ||
       wait<gs.gunwait[e.gun] ||
       gs.mag[e.gun]<=0)
        return;
to
if(!gs.isalive(gamemillis) ||
       e.gun<GUN_KNIFE || e.gun>=NUMGUNS ||
       gs.mag[e.gun]<=0)
        return;
and recompile your server.

To save time on the last step, and so you don't need additional libraries required for building the client, you can build just the server with
cd ./ac/source/src
make server

The resulting server binary will not use the anticheat and will have the "attackmillis" fix.
Thanks given by:


Messages In This Thread
The elusive hitreg fix - by MasterKaen - 10 Dec 11, 10:36PM
RE: The elusive hitreg fix - by Luc@s - 10 Dec 11, 10:57PM
RE: The elusive hitreg fix - by MasterKaen - 11 Dec 11, 12:17AM
RE: The elusive hitreg fix - by kingCHUBBY - 11 Dec 11, 07:36AM
RE: The elusive hitreg fix - by Ronald_Reagan - 11 Dec 11, 03:23AM
RE: The elusive hitreg fix - by Joe Smith - 11 Dec 11, 06:38PM
RE: The elusive hitreg fix - by Fate - 11 Dec 11, 08:35AM
RE: The elusive hitreg fix - by Luc@s - 11 Dec 11, 09:52AM
RE: The elusive hitreg fix - by Fate - 11 Dec 11, 12:27PM
RE: The elusive hitreg fix - by Jason - 12 Dec 11, 12:35AM
RE: The elusive hitreg fix - by Luc@s - 12 Dec 11, 10:40PM
RE: The elusive hitreg fix - by Roflcopter - 13 Dec 11, 12:35AM
RE: The elusive hitreg fix - by macm - 13 Dec 11, 02:25AM
RE: The elusive hitreg fix - by DES|Anderson - 11 Dec 11, 09:52AM
RE: The elusive hitreg fix - by Ronald_Reagan - 11 Dec 11, 08:56PM
RE: The elusive hitreg fix - by lucky - 12 Dec 11, 12:56AM
RE: The elusive hitreg fix - by Jason - 12 Dec 11, 01:04AM
RE: The elusive hitreg fix - by lucky - 12 Dec 11, 01:50AM
RE: The elusive hitreg fix - by Orynge - 12 Dec 11, 11:14PM
RE: The elusive hitreg fix - by Ronald_Reagan - 13 Dec 11, 12:54AM
RE: The elusive hitreg fix - by Roflcopter - 13 Dec 11, 01:46AM
RE: The elusive hitreg fix - by Joe Smith - 13 Dec 11, 02:11AM
RE: The elusive hitreg fix - by MasterKaen - 13 Dec 11, 02:26AM
RE: The elusive hitreg fix - by Roflcopter - 13 Dec 11, 04:07AM
RE: The elusive hitreg fix - by MasterKaen - 13 Dec 11, 06:35AM
RE: The elusive hitreg fix - by Ronald_Reagan - 13 Dec 11, 06:36AM
RE: The elusive hitreg fix - by Luc@s - 14 Dec 11, 07:52PM