Skip to content

SpeedHack Detector

Elijah Brown edited this page Mar 14, 2024 · 4 revisions

image

About Module

This module allows you to track the tick rate in the game and compare it to the actual CPU tick time that has passed on the device to detect game speed spoofing - aka SpeedHack Cheat. When detected, it sends an event.

image

At each interval, the module checks how many game ticks and real device ticks have passed, requesting a specific number of ticks per interval from the processor. This allows you to synchronize Update in Unity and lets you know where the speed has changed.

Get Started

You can provide auto-configuration using Setup Wizzard or setup module manual:

// Initialize Module
Core.GameShield.Main.AddModule<SpeedHackDetector>();

// Get Module for API Requests
Core.GameShield.Main.GetModule<SpeedHackDetector>().PauseDetector(true);

Unified for all modules Cheating Detection Event:

// Get Information when cheating detected
EventMessenger.Main.Subscribe<SecurityWarningPayload>(payload => {
    // Work with payload
});

API Reference

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)

GameShield Wiki

Clone this wiki locally