-
-
Notifications
You must be signed in to change notification settings - Fork 5
WallHack Detector
Elijah Brown edited this page Mar 14, 2024
·
4 revisions
This module allows you to use physics simulation to check the presence of Wallhack in the game. It simulates the behavior of both Rigidbody and Character Controller for both types of player controllers
When passing the next physics tick - check modules are created on the basis of Rigidbody and Character Controller, if these components were detected a change in Velocity on the Z-axis more than the maximum allowable value, then most likely WallHack was used.
You can provide auto-configuration using Setup Wizzard or setup module manual:
// Initialize Module
Core.GameShield.Main.AddModule<WallHackProtector>();
// Get Module for API Requests
Core.GameShield.Main.GetModule<WallHackProtector>().PauseDetector(true);
Unified for all modules Cheating Detection Event:
// Get Information when cheating detected
EventMessenger.Main.Subscribe<SecurityWarningPayload>(payload => {
// Work with payload
});
This module provide IShieldModule interface methods with own functional extension:
Method | Usage |
---|---|
SetupModule | Setup Current Module with configuration and force reinitialization if it needed |
Disconnect | Disconnect Current Module |
PauseDetector | Pause / Resume cheating detection for current module |
IsPaused | Check if current module is paused |
GetModuleInfo | Get Current Module info (used in assemblies searching) |