View Single Post
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 10-29-2011 , 04:25   Re: SMAC Documentation
#14

Anti-Wallhack

Cvars:
smac_wallhack - Enable Anti-Wallhack. This will increase your server's CPU usage. [Default: 1]
smac_wallhack_maxtraces - Max amount of traces that can be executed in one tick. [Default: 1280]

Description:
This module prevents most wallhacks from functioning correctly. The plugin manages and renders out entities so they appear when they should and not render out unless needed. This module checks certain Cvars from the clients and servers to make sure predictions are correct for players. If this module is installed on a L4D(2) server then it will only work with the survivors.

Warning: This module will increase your server's CPU usage

If you are testing this module against your own wallhack cheats to see how it works, make sure you note the following:
  • It will always allow you to see teammates.
  • It will allow you to see everyone if you are dead or spectating unless in first-person viewmode.

Configuring MaxTraces:
This convar is not written to the config and must be added manually.

The default is 1280 and in most cases it shouldn't need to be changed. If your server is lagging then this can be decreased. Recommended decrements if your server's CPU usage is maxing out: 1280 -> 1120 -> 980. A lower number will increase the "flickering" effects, so you need to find a proper balance between CPU usage and lag.


Forum Discussion:
http://forums.alliedmods.net/showthread.php?t=158618

Last edited by GoD-Tony; 08-07-2012 at 12:57.
Drixevel is offline