Implement Warden anti-cheat response system

Add CMSG_WARDEN_DATA opcode (0x2E7) and proper response handling for
server Warden checks. Responds appropriately to module info, hash checks,
Lua checks, and memory scans with legitimate client responses.

Replaces previous fail-and-disconnect behavior with active response system
that works with most private servers' Warden implementations.
This commit is contained in:
Kelsi 2026-02-12 01:53:21 -08:00
parent 4a9c86b1e6
commit fcaa70b5e3
2 changed files with 228 additions and 4 deletions

View file

@ -43,7 +43,11 @@ enum class Opcode : uint16_t {
SMSG_PONG = 0x1DD,
SMSG_LOGIN_VERIFY_WORLD = 0x236,
SMSG_LOGIN_SETTIMESPEED = 0x042,
SMSG_TUTORIAL_FLAGS = 0x0FD,
SMSG_WARDEN_DATA = 0x2E6,
CMSG_WARDEN_DATA = 0x2E7,
SMSG_ACCOUNT_DATA_TIMES = 0x209,
SMSG_CLIENTCACHE_VERSION = 0x4AB,
SMSG_FEATURE_SYSTEM_STATUS = 0x3ED,
SMSG_MOTD = 0x33D,