Module Guard

The game client watches its own process while it runs. When a DLL is loaded into it that is not a Windows file and has no valid digital signature, or a thread starts in memory that belongs to no DLL (manual-mapped code), the client reports it to the GameServer. ModuleGuard.xml decides what the GameServer does with each report: ignore it, log it, or log it and disconnect the player.

The client also sends a heartbeat every 30 seconds in game. When the heartbeat stops or shows the watch is not working, the GameServer treats the client as silent (SilentAction).

File Location#

Data/Plugins/ModuleGuard.xml

A missing or broken file is not an error: reports and silent clients are logged (Action="1", SilentAction="1"), nothing is allowed by name.

Dependencies#

Depends OnPurpose
Common.datWriteHackLog=1, or report lines only go to the console
Game clientClient with Module Guard (2.1.0 or later). Older clients send no reports. The heartbeat needs a client from 2026-11-24 or later
ClientConfig.xmlDLLs in the DLL integrity list and the Plugins list are never reported

Configuration#

<ModuleGuard Enabled="1" Action="1" SilentAction="1" ReportThreads="1">
    <Allow Name="glew32.dll"/>
    <Allow Name="ogg.dll"/>
    <Allow Name="vorbisfile.dll"/>
    <Allow Name="wzAudio.dll"/>
    <Allow Name="zlibwapi.dll"/>
</ModuleGuard>

ModuleGuard#

AttributeTypeRangeDefaultEffect
Enabled0/1-10 = every report and heartbeat is ignored
Actionint0-210 = ignore, 1 = log only, 2 = log and disconnect the player. Other values = 1
SilentActionint0-21What to do with a silent client (see Silent Clients below). 0 = ignore, 1 = log only, 2 = log and disconnect the player. Other values = 1
ReportThreads0/1-10 = ignore "thread outside any DLL" reports, act on DLL reports only

Allow#

One line per DLL that is fine on your server. Allowed reports are not logged and never disconnect.

AttributeTypeEffect
NametextFile name, case does not matter. Only counts when the DLL is in the game client folder (or below it). The same name in another folder is still reported
Sha25664 hex digitsOne exact file, in any folder. Copy it from the log line

The five Name lines in the shipped file are the DLLs the client ships with.

What the Client Skips#

These are never reported, so they never reach this file:

  • Files in the Windows folder (system DLLs, graphics drivers)
  • DLLs with a valid digital signature (Discord, Steam, OBS, NVIDIA, AMD, antivirus and most overlays)
  • DLLs listed in ClientConfig.xml (DLL integrity list and Plugins), which the client already hash-checks at start
  • The client exe itself

Log Lines#

Reports go to the Hack log (WriteHackLog) and the GameServer console.

[ModuleGuard][account][character][1.2.3.4] DLL cheat.dll folder=other size=98304 sha256=3fa1...c2 -> log
[ModuleGuard][account][character][1.2.3.4] thread starts outside any DLL at 0x1F2A0000 -> disconnect
FieldMeaning
folder=gameThe DLL is in the game client folder
folder=otherThe DLL is anywhere else outside Windows (Desktop, Temp, AppData...)
earlyAlready loaded when the watch started: loaded with the exe, or injected by a launcher before the game ran
bad-signatureThe file has a signature, but it does not check out (modified signed file)
unreadableThe file could not be read, so there is no hash. Injectors often delete their DLL after loading it
-> log / -> disconnectWhat the server did, from Action

Silent Clients#

A cheat can patch the watch out of the client. Then it sends no reports, so the client also sends a heartbeat: once 5 seconds after entering the game, then every 30 seconds. The heartbeat carries how many scans the watch has finished, a number that goes up by one each time, and whether the watch thread is running.

The GameServer marks a client as silent when:

Reason in the logMeaning
no heartbeat for N sIn game for 90 seconds with no heartbeat. Logged again after every further 90 seconds of silence
no new scan over 3 heartbeatsThe watch stopped scanning (thread suspended or patched)
scan count went down / seq did not go upA heartbeat was replayed or faked
worker thread not runningThe watch thread was killed

SilentAction decides what happens: 0 = ignore, 1 = log, 2 = log and disconnect.

[ModuleGuardSilent][account][character][1.2.3.4] reason=no heartbeat for 90 s (none since enter) -> log
  • Characters in offline helper or offline store mode have no client and are skipped.
  • An older client sends no heartbeat, so every player on it is logged after 90 seconds. Set SilentAction="2" only after every player has the new client.
  • The check starts again on every character login.

Important Behavior#

  • When reports arrive: the client starts watching before the login screen. Reports are sent once the player is in game, 5 seconds after entering, up to 4 per second.
  • Every login: the client sends its whole list again each time the player enters the game (relog, character switch). Expect the same line again on each login.
  • Limits: 64 reports per client process, 64 per connection on the server. The rest are dropped.
  • The client never blocks or closes on its own. Only Action="2" on the server disconnects. A false positive in log-only mode costs nothing.
  • What it catches: DLLs loaded with standard injectors (LoadLibrary, SetWindowsHookEx, AppInit), proxy DLLs dropped in the game folder, and manual-mapped code that runs its own thread.
  • What it does not catch: injected code that never starts its own thread and is not a normal DLL, and a cheat that removes the watch but rebuilds a correct heartbeat. A watch that was simply patched out, stopped or killed shows up as a silent client. Server-side checks (movement, skill timing, packet checks) still apply.
  • Reload: /reload plugins (or the GameServer Reload menu) re-reads the file.

Examples#

<ModuleGuard Enabled="1" Action="1" SilentAction="1" ReportThreads="1">
    <Allow Name="glew32.dll"/>
    <Allow Name="ogg.dll"/>
    <Allow Name="vorbisfile.dll"/>
    <Allow Name="wzAudio.dll"/>
    <Allow Name="zlibwapi.dll"/>
</ModuleGuard>

Common Issues#

Last updated November 24, 2026