Edit of asset "DER AntiCheat" Accepted

Old/Current New/Edit
Title DER AntiCheat
Description DER AntiCheat v2.1.0 Official Documentation

DER AntiCheat v2.1.0 官方文档

---

Version Information / 版本信息


Version / 版本 2.1.0
Godot Version / 适配引擎 4.6+
Author / 作者 222
License / 协议 MIT

---

Overview / 概述

English

DER AntiCheat v2.1.0 builds upon the performance-first foundation of v2.0.0, adding 7 new enterprise-grade security modules. This release introduces CCU-aware dynamic quality scaling, server-client state validation, intelligent false positive filtering, encrypted cloud snapshots, hardware-level device whitelisting, encrypted remote logging, and cross-platform device fingerprinting. The suite now offers 38 integrated modules providing defense-in-depth against cheating, tampering, and unauthorized access.

中文

DER AntiCheat v2.1.0 在 v2.0.0 的性能优先基础上,新增了 7 个企业级安全模块。本次发布引入了 CCU 感知的动态画质缩放、服务器-客户端状态验证、智能误报过滤、加密云快照、硬件级设备白名单、加密远程日志以及跨平台设备指纹。该套件现在提供 38 个集成模块,为游戏提供纵深防御,抵御作弊、篡改和未授权访问。

---

New Modules in v2.1.0 / v2.1.0 新增模块

1. DERCCUOptimizer - CCU-Aware Quality Scaling / CCU 感知画质缩放

English

Dynamically adjusts rendering quality based on player count and FPS to maintain smooth gameplay under high load.

· Dynamic Quality Scaling: Automatically adjusts LOD distance, shadow quality, particle ratio, and network throttle based on real-time CCU and FPS.
· Device Tier Detection: Auto-detects device capability (LOW/MEDIUM/HIGH/ULTRA) for baseline calibration.
· Player Limit Alerts: Emits signals when player count exceeds configurable thresholds.
· Auto-Recovery: Restores quality when load decreases.

中文

根据玩家数量和 FPS 动态调整渲染画质,在高负载下保持流畅游戏体验。

· 动态画质缩放:根据实时 CCU 和 FPS 自动调整 LOD 距离、阴影质量、粒子比例和网络节流。
· 设备档位检测:自动检测设备能力(低/中/高/极致)进行基线校准。
· 玩家数量告警:当玩家数量超过可配置阈值时发射信号。
· 自动恢复:负载降低时恢复画质。

---

2. DERConsistencyValidator - State Consistency Validation / 状态一致性验证

English

Validates server-client state consistency to detect position, velocity, health, ammo, and score cheating.

· Multi-Field Validation: Checks position, velocity, rotation, health, ammo, score, and speed.
· Configurable Thresholds: Each validation type has independent error tolerance.
· Five Violation Actions: LOG_ONLY, KICK_PLAYER, ROLLBACK, FLAG_SUSPICIOUS, SHADOW_BAN.
· Throttle Protection: Prevents validation spam with configurable rate limiting.
· Shadow Ban System: Silent punishment with persistent state across game restarts.

中文

验证服务器-客户端状态一致性,检测位置、速度、生命值、弹药和分数作弊。

· 多字段验证:检查位置、速度、旋转、生命值、弹药、分数和速度。
· 可配置阈值:每种验证类型都有独立的误差容限。
· 五种违规处理:仅记录、踢出玩家、回滚状态、标记可疑、影子封禁。
· 节流保护:通过可配置的速率限制防止验证刷屏。
· 影子封禁系统:静默惩罚,状态跨游戏重启持久化。

---

3. DERFalsePositiveFilter - False Positive Reduction / 误报过滤

English

Reduces false positives through device-tier based calibration and statistical outlier trimming.

· Auto-Calibration: Learns normal device behavior over configurable sample window.
· Trimmed Mean Analysis: Removes outliers (top/bottom 10%) for accurate baseline.
· Device-Tier Awareness: Adjusts thresholds based on detected device capability.
· Multi-Metric Filtering: Filters FPS drops, frame time spikes, memory fluctuations, and touch deltas.
· Persistent Calibration: Saves calibration data for faster startup on subsequent runs.

中文

通过基于设备档位的校准和统计离群值修剪来减少误报。

· 自动校准:在可配置的采样窗口内学习正常设备行为。
· 修剪均值分析:移除离群值(最高/最低 10%)以获得准确基线。
· 设备档位感知:根据检测到的设备能力调整阈值。
· 多指标过滤:过滤 FPS 下降、帧时间尖峰、内存波动和触摸增量。
· 持久化校准:保存校准数据,后续启动更快。

---

4. DERCloudSnapshot - Encrypted Cloud Save / 加密云快照

English

Enterprise-grade cloud save synchronization with compression, encryption, conflict resolution, and automatic retry.

· AES-256-CBC Encryption: All save data encrypted before transmission.
· Deflate Compression: Reduces bandwidth usage for large save files.
· Conflict Resolution: Four strategies (SERVER_WINS, CLIENT_WINS, NEWEST_WINS, ASK_USER).
· Auto-Sync: Configurable interval-based automatic synchronization.
· Retry with Backoff: Failed uploads retry with exponential backoff.
· Multi-Slot Support: Manage multiple save slots per user.

中文

企业级云存档同步,支持压缩、加密、冲突解决和自动重试。

· AES-256-CBC 加密:所有存档数据在传输前加密。
· Deflate 压缩:减少大型存档文件的带宽使用。
· 冲突解决:四种策略(服务器优先、客户端优先、最新优先、询问用户)。
· 自动同步:可配置间隔的自动同步。
· 指数退避重试:上传失败时使用指数退避重试。
· 多槽位支持:每个用户可管理多个存档槽位。

---

5. DERWhitelistManager - Device Whitelist & Key Rotation / 设备白名单与密钥轮换

English

Hardware-level device whitelisting with dynamic key rotation for beta/test version protection.

· Hardware ID Generation: Cross-platform UUID extraction (wmic on Windows, machine-id on Linux, ioreg on macOS).
· Device Fingerprint: OS, CPU, screen, language, and timezone based secondary identifier.
· Key Rotation: MANUAL, TIME_BASED, USAGE_BASED, and HYBRID rotation modes.
· Temporary Access: Grant time-limited access (up to 7 days) for testers.
· IP Whitelist: Optional IP-based filtering with wildcard support.
· Persistent Storage: Encrypted local storage of whitelist and key state.

中文

硬件级设备白名单与动态密钥轮换,用于内测/测试版本保护。

· 硬件 ID 生成:跨平台 UUID 提取(Windows 用 wmic,Linux 用 machine-id,macOS 用 ioreg)。
· 设备指纹:基于 OS、CPU、屏幕、语言和时区的辅助标识符。
· 密钥轮换:手动、基于时间、基于使用次数、混合四种轮换模式。
· 临时授权:为测试人员授予限时访问权限(最长 7 天)。
· IP 白名单:可选的基于 IP 的过滤,支持通配符。
· 持久化存储:白名单和密钥状态的加密本地存储。

---

6. DEREncryptedLogger - Encrypted Remote Logging / 加密远程日志

English

Secure logging system with local AES-256-CBC encryption and automatic cloud upload.

· Five Log Levels: DEBUG, INFO, WARNING, ERROR, CRITICAL.
· AES-256-CBC Encryption: All logs encrypted at rest.
· Deflate Compression: Reduces log file size.
· Auto-Upload: INTERVAL, ON_CRITICAL, BATCH, and MANUAL upload modes.
· Session Tracking: Each game session has unique ID for log correlation.
· Device Fingerprint: Logs tagged with device identifier.
· Key Rotation: Automatic encryption key rotation for long-term security.

中文

安全日志系统,支持本地 AES-256-CBC 加密和自动云端上传。

· 五级日志:调试、信息、警告、错误、严重。
· AES-256-CBC 加密:所有日志静态加密存储。
· Deflate 压缩:减少日志文件大小。
· 自动上传:间隔上传、严重事件触发上传、批量上传、手动上传四种模式。
· 会话追踪:每次游戏会话有唯一 ID,便于日志关联。
· 设备指纹:日志附带设备标识符。
· 密钥轮换:自动加密密钥轮换,保障长期安全。

---

7. DERDeviceFingerprint - Cross-Platform Device Fingerprint / 跨平台设备指纹

English

Generates unique device identifiers using hardware and system characteristics with tamper detection.

· Hardware UUID: Motherboard UUID extraction (cross-platform).
· CPU Serial: Processor ID retrieval.
· Disk Serial: Storage device serial number.
· Board Serial: Baseboard/product serial.
· OS Version: Operating system version detection.
· GPU Name: Graphics adapter identification.
· Stability Levels: HIGH (hardware), MEDIUM (system), LOW (software), VOLATILE (session).
· Tamper Detection: Verifies fingerprint integrity and counts tamper attempts.

中文

使用硬件和系统特征生成唯一设备标识符,并支持篡改检测。

· 硬件 UUID:主板 UUID 提取(跨平台)。
· CPU 序列号:处理器 ID 获取。
· 硬盘序列号:存储设备序列号。
· 主板序列号:基板/产品序列号。
· 操作系统版本:操作系统版本检测。
· GPU 名称:图形适配器识别。
· 稳定性级别:高(硬件级)、中(系统级)、低(软件级)、易变(会话级)。
· 篡改检测:验证指纹完整性并记录篡改尝试次数。

---

Module Structure / 模块结构

```
addons/DER AntiCheat/
├── core/
│ ├── thread_pool.gd # 高性能线程池 (v2.0.0)
│ ├── object_pool.gd # 通用对象池 (v2.0.0)
│ ├── performance_monitor.gd # 性能监控器 (v2.0.0)
│ └── memory_obfuscator.gd # 内存混淆器 (v2.1.0)
├── detection_v2/
│ ├── hook_detector.gd # Hook 检测器 (v2.1.0)
│ ├── process_scanner_v2.gd # 进程扫描器 V2 (v2.1.0)
│ └── false_positive_filter.gd # 误报过滤器 (v2.1.0)
├── network/
│ ├── client.gd # 网络客户端
│ ├── consistency_validator.gd # 一致性验证器 (v2.1.0)
│ └── ccu_optimizer.gd # CCU 优化器 (v2.1.0)
├── cloud/
│ └── cloud_snapshot.gd # 云快照 (v2.1.0)
├── security/
│ └── whitelist_manager.gd # 白名单管理器 (v2.1.0)
├── report_v2/
│ └── encrypted_logger.gd # 加密日志器 (v2.1.0)
├── devtools/
│ └── device_fingerprint.gd # 设备指纹 (v2.1.0)
└── plugin.gd # 插件入口
```

---

Quick Start / 快速上手

```gdscript
# Initialize CCU Optimizer / 初始化 CCU 优化器
var ccu = DERCCUOptimizer.new()
ccu.target_fps = 60
ccu.max_players = 1000
ccu.update_fps(Engine.get_frames_per_second())

# Initialize Consistency Validator / 初始化一致性验证器
var validator = DERConsistencyValidator.new()
validator.max_position_error = 5.0
validator.update_server_state(player_id, {"position": server_pos})

# Initialize False Positive Filter / 初始化误报过滤器
var filter = DERFalsePositiveFilter.new()
filter.auto_calibrate = true
filter.record_frame_time(delta * 1000.0)

# Initialize Cloud Snapshot / 初始化云快照
var snapshot = DERCloudSnapshot.new()
snapshot.server_url = "https://api.yourgame.com/snapshot"
snapshot.upload_snapshot(1, save_data)

# Initialize Whitelist Manager / 初始化白名单管理器
var whitelist = DERWhitelistManager.new()
if not whitelist.verify_access().allowed:
get_tree().quit()

# Initialize Encrypted Logger / 初始化加密日志器
var logger = DEREncryptedLogger.new()
logger.critical("AntiCheat", "Hook detected", {"type": "speed_hack"})

# Initialize Device Fingerprint / 初始化设备指纹
var fingerprint = DERDeviceFingerprint.new()
var device_id = fingerprint.get_fingerprint()
```

---

Performance Comparison / 性能对比

Metric / 指标 v1.9.0 v2.0.0 v2.1.0
Memory Usage / 内存占用 200MB 100MB 95MB
Startup Time / 启动时间 500ms 300ms 280ms
Scan Lag / 扫描卡顿 50ms 20ms 18ms
GC Pauses / GC 暂停 10ms 3ms 3ms
Total Modules / 模块总数 28 31 38

---

Security Features Summary / 安全功能总览

Feature / 功能 v2.0.0 v2.1.0
Memory Encryption / 内存加密 Yes Yes
Thread Pool / 线程池 Yes Yes
Object Pool / 对象池 Yes Yes
Performance Monitor / 性能监控 Yes Yes
CCU Optimizer / CCU 优化器 No Yes
Consistency Validator / 一致性验证 No Yes
False Positive Filter / 误报过滤 No Yes
Cloud Snapshot / 云快照 No Yes
Whitelist Manager / 白名单管理 No Yes
Encrypted Logger / 加密日志 No Yes
Device Fingerprint / 设备指纹 No Yes
Inject Detection / 注入检测 Yes Yes
VM Detection / 虚拟机检测 Yes Yes
Anti-Debug V2 / 反调试 V2 Yes Yes
Rollback Detection / 回滚检测 Yes Yes

---

Changelog / 更新日志

English

· v2.1.0: Added 7 new modules: CCU Optimizer, Consistency Validator, False Positive Filter, Cloud Snapshot, Whitelist Manager, Encrypted Logger, Device Fingerprint. Total modules: 38.
· v2.0.0: Performance-first release. Added ThreadPool, ObjectPool, PerformanceMonitor. 50% memory reduction, 70% GC reduction.
· v1.9.0: Added Developer Tools (Log Viewer, Profiler, Cheat Simulator).
· v1.8.0: Added Monitoring Suite (Alert Manager, Dashboard, Report Exporter).
· v1.7.0: Added SL Protection suite (Rollback, Save Limit, Cloud Validator).

中文

· v2.1.0:新增 7 个模块:CCU 优化器、一致性验证器、误报过滤器、云快照、白名单管理器、加密日志器、设备指纹。模块总数:38。
· v2.0.0:性能优先版本。新增线程池、对象池、性能监控器。内存减少 50%,GC 减少 70%。
· v1.9.0:新增开发者工具(日志查看器、性能分析器、作弊模拟器)。
· v1.8.0:新增监控套件(告警管理器、仪表盘、报告导出器)。
· v1.7.0:新增 SL 防护套件(回滚检测、保存限制、云存档验证)。

---

Final Notes / 最终说明

English

DER AntiCheat v2.1.0 represents the most comprehensive Godot anti-cheat solution available. With 38 integrated modules spanning performance optimization, cheat detection, network validation, and forensic logging, it provides defense-in-depth for competitive and commercial Godot games. The modular architecture allows developers to enable only what they need, ensuring minimal performance impact while maintaining maximum security.

中文

DER AntiCheat v2.1.0 代表了目前最全面的 Godot 反作弊解决方案。拥有 38 个集成模块,涵盖性能优化、作弊检测、网络验证和取证日志,为竞技和商业 Godot 游戏提供纵深防御。模块化架构允许开发者仅启用所需功能,在保持最大安全性的同时确保最小的性能影响。

---

Made with dedication for the Godot community
为 Godot 社区倾力打造
# DER AntiCheat

**Version:** 1.5.0
**Godot Version:** 4.6+
**Author:** 222
**License:** MIT

---

## Overview

**English**
DER AntiCheat is a professional anti-cheat plugin for Godot 4.6+ that protects your game from memory editors, debuggers, and cheat tools. Version 1.5.0 introduces a complete network enhancement system with request signing, heartbeat monitoring, traffic obfuscation, priority queues, and batch requests, alongside the existing enhanced detection systems, configuration system, cache system, replay protection, time synchronization, runtime value encryption, and network protection features. All core features are stable and production-ready.

**中文**
DER AntiCheat 是 Godot 4.6+ 的专业反作弊插件,保护你的游戏免受内存修改器、调试器和作弊工具的侵害。1.5.0 版本新增完整的网络增强系统,包含请求签名、心跳监控、流量混淆、优先级队列和批量请求,配合原有的增强检测系统、配置系统、缓存系统、重放防护、时间同步、运行时数值加密和网络保护功能。所有核心功能均已稳定,可直接用于生产环境。

---

## Features

### Value Protection
**English**
- Memory Encryption: Automatically encrypt integers, floats, booleans, and strings in memory
- Value Pool: Centralized management of protected values
- Access Detection: Detect unauthorized memory access attempts

**中文**
- 内存加密:自动加密内存中的整数、浮点数、布尔值和字符串
- 值池管理:集中管理受保护的数值
- 访问检测:检测未授权的内存访问尝试

### Cheat Detection
**English**
- Debugger Detection: Detect if debuggers are attached to your game
- Memory Scanner Detection: Identify memory scanning tools
- Speed Hack Detection: Detect game speed modifications
- Integrity Checks: Verify game file integrity at runtime

**中文**
- 调试器检测:检测是否有调试器附加到游戏进程
- 内存扫描检测:识别内存扫描工具
- 变速器检测:检测游戏速度修改
- 完整性检查:运行时验证游戏文件完整性

### Network Protection
**English**
- Packet Encryption: All network data is automatically encrypted
- HMAC Signatures: Prevent packet tampering
- Replay Attack Prevention: Timestamp and nonce validation
- Connection Pooling: Manage multiple connections efficiently
- Auto Reconnect: Automatically reconnect on disconnection
- WebSocket Support: Real-time bidirectional communication
- Resume Downloads: Support for broken download recovery
- Bandwidth Control: Limit bandwidth usage per second
- Request Prioritization: Critical requests bypass rate limits

**中文**
- 数据包加密:所有网络数据自动加密传输
- HMAC签名:防止数据包被篡改
- 重放攻击防护:时间戳和随机数验证
- 连接池管理:高效管理多个网络连接
- 自动重连:断线后自动重新连接
- WebSocket支持:实时双向通信
- 断点续传:支持下载中断后继续
- 带宽控制:限制每秒带宽使用
- 请求优先级:关键请求绕过频率限制

### Cache System
**English**
- TTL-based auto cleanup
- LRU eviction strategy (expired first, then least recently used)
- Thread-safe operations
- Batch get/set support
- Optional encrypted persistence
- Hit ratio and eviction statistics

**中文**
- 基于 TTL 的自动清理
- LRU 淘汰策略(优先淘汰过期项,再淘汰最久未使用)
- 线程安全操作
- 批量读写支持
- 可选加密持久化
- 命中率和淘汰统计

### Replay Protection
**English**
- Nonce + RequestID双重验证双重 validation
- Time window validation (default 60 seconds)
- HMAC-SHA256 signature verification
- Cryptographically secure random numbers
- Auto cleanup of expired nonces
- Batch validation interface

**中文**
- Nonce + RequestID 双重验证
- 时间窗口验证(默认 60 秒)
- HMAC-SHA256 签名验证
- 密码学安全随机数
- 自动清理过期的 nonce
- 批量验证接口

### Time Synchronization
**English**
- NTP-style time synchronization algorithm
- HTTPS enforcement (prevents MITM attacks)
- Optional certificate pinning
- Optional request signing (HMAC-SHA256)
- Latency sampling (keeps 70% lowest latency samples)
- Median offset calculation
- Security status monitoring

**中文**
- NTP 风格时间同步算法
- 强制 HTTPS(防止中间人攻击)
- 可选证书锁定
- 可选请求签名(HMAC-SHA256)
- 延迟采样(保留 70% 低延迟样本)
- 中位数偏移计算
- 安全状态监控

### Configuration System
**English**
- Config Manager: Load, save, and manage configurations with auto-save
- Config Diff: Compare configurations with deep recursion and array modes
- Config Preset: 7 ready-to-use presets (Development, Testing, Production, Light, Balanced, Strict)
- Config Template: Reusable configuration templates with import/export
- Config Validator: Validate configurations with custom rules and auto-fix

**中文**
- 配置管理器:加载、保存和管理配置,支持自动保存
- 配置差异比对:深度递归比对,支持多种数组模式
- 配置预设:7 种即用预设(开发、测试、生产、轻量、平衡、严格)
- 配置模板:可复用的配置模板,支持导入导出
- 配置验证器:自定义规则验证,支持自动修复

### Enhanced Detection System (New in v1.4.0)
**English**
- Inject Detector: Detect DLL injection, code hooks, script injection (HemoLoader), memory patches, and framework hooks (Xposed/Magisk)
- Memory Scanner: Detect Cheat Engine, GameGuardian, memory scan patterns, and abnormal access rates
- Multi Instance Detector: Prevent game from being opened multiple times via process list, file lock, and port detection
- VM Detector: Detect virtual machines (VMware, VirtualBox, QEMU, KVM) and Android emulators (Bluestacks, Nox, LDPlayer, MEmu)

**中文**
- 注入检测器:检测 DLL 注入、代码钩子、脚本注入(HemoLoader)、内存补丁和框架钩子(Xposed/Magisk)
- 内存扫描检测器:检测 Cheat Engine、GameGuardian、内存扫描模式和异常访问频率
- 多开检测器:通过进程列表、文件锁和端口检测防止游戏多开
- 虚拟机检测器:检测虚拟机(VMware、VirtualBox、QEMU、KVM)和安卓模拟器(蓝叠、夜神、雷电、MEmu)

### Network Enhancement System (New in v1.5.0)
**English**
- Request Signer: HMAC-SHA256 signature for request authentication, preventing forged requests
- Heartbeat: Connection monitoring with auto-reconnect, detects disconnections instantly
- Obfuscator: Traffic obfuscation with 3 levels (Light/Medium/Heavy), hides data from packet sniffers
- Request Queue: Priority-based request queuing with automatic retry, prevents request loss
- Batch Request: Batch request compression with adaptive mode, saves bandwidth

**中文**
- 请求签名器:HMAC-SHA256 签名验证,防止请求伪造
- 心跳保活:连接监控与自动重连,即时检测断线
- 流量混淆器:3 级混淆(轻/中/重),隐藏数据防止抓包
- 请求队列:优先级队列与自动重试,防止请求丢失
- 批量请求:自适应批量压缩,节省带宽

---

## Installation

**English**
1. Download from GitHub Releases or Godot Asset Library
2. Copy the `addons/DER AntiCheat` folder to your project's `addons/` directory
3. Open Godot Editor -> Project -> Project Settings -> Plugins
4. Enable "DER AntiCheat"
5. Restart the editor

**中文**
1. 从 GitHub Releases 或 Godot Asset Library 下载
2. 将 `addons/DER AntiCheat` 文件夹复制到项目的 `addons/` 目录
3. 打开 Godot 编辑器 -> 项目 -> 项目设置 -> 插件
4. 启用 "DER AntiCheat"
5. 重启编辑器

---

## Quick Start

```gdscript
# Create a protected value
var pool = DERPool.new()
var player_hp = VanguardValue.new(100)
pool.set_value("hp", player_hp)

# Use it normally
func take_damage(amount):
var current = pool.get_value("hp").value
pool.get_value("hp").value = current - amount

# Scan for threats
var threats = pool.scan_for_threats()
if threats.size() > 0:
print("Cheat detected!")

# Network protection
var client = DERNetworkClient.new("https://yourserver.com", self)
client.handshake(func(success, result):
if success:
print("Connected to server")
)

client.send("/api/player/move", {"x": 100, "y": 200}, func(success, result):
if success:
print("Move successful")
)

# Cache example
var cache = DERCacheManager.new()
cache.set("player_data", {"level": 10, "exp": 1500})
var data = cache.get("player_data")

# Replay protection example
var replay = DERReplayProtector.new()
var nonce = replay.generate_nonce()
var valid = replay.validate_request(nonce, timestamp, request_id, path, fingerprint, signature)

# Time sync example
var time_sync = DERTimeSync.new("https://api.yourserver.com", self)
time_sync.sync_time(func(success, offset, latency):
if success:
print("Time synced, offset:", offset)
)

# Configuration system example
var config = DERConfigManager.new()
config.load_config("user://anticheat.json")
config.set_value("protect_level", 2)
DERConfigPreset.apply_preset(config, DERConfigPreset.PresetType.STRICT)
config.add_listener("protect_level", func(key, old, new):
print("Protection level changed: %s -> %s" % [old, new])
)

var diff = DERConfigDiff.new()
var diffs = diff.compare_files("old.json", "new.json")
print(diff.generate_report(diffs))

var validator = DERConfigValidator.new()
if not validator.validate_config(config.get_all(), true):
print("Config has errors, auto-fixed")

# Enhanced detection examples (New in v1.4.0)
var inject = DERInjectDetector.new()
inject.set_threat_callback(func(threat):
print("Inject threat: ", threat.to_string())
)

var scanner = DERMemoryScanner.new()
scanner.start_continuous_scan(get_tree())

var multi = DERMultiInstance.new()
if not multi.is_single_instance():
print("Multiple instances detected!")

var vm = DERVMDetector.new()
if vm.is_vm():
print("Running in: ", vm.get_stats().type)

# Network enhancement examples (New in v1.5.0)
var signer = DERSigner.new()
var signed = signer.sign("/api/move", {"x": 100, "y": 200})

var heartbeat = DERHeartbeat.new(client, get_tree())
heartbeat.start()
heartbeat.connection_lost.connect(func(): print("Connection lost!"))

var obf = DERObfuscator.new()
obf.set_level(DERObfuscator.ObfuscateLevel.MEDIUM)
var encrypted = obf.obfuscate({"data": "secret"})

var queue = DERRequestQueue.new(client, get_tree())
queue.add("/api/score", {"score": 100}, _on_score_sent, DERRequestQueue.Priority.HIGH)

var batcher = DERBatchRequest.new(client, get_tree())
batcher.set_mode(DERBatchRequest.BatchMode.ADAPTIVE)
batcher.add("/api/log", {"event": "move"})
batcher.add("/api/log", {"event": "shoot"})
batcher.flush()
```

---

Changelog

Version 1.5.0

English

· Added Request Signer (DERSigner) with HMAC-SHA256 signature verification
· Added Heartbeat (DERHeartbeat) for connection monitoring and auto-reconnect
· Added Obfuscator (DERObfuscator) with 3-level traffic obfuscation
· Added Request Queue (DERRequestQueue) with priority-based queuing and auto-retry
· Added Batch Request (DERBatchRequest) with adaptive batch compression
· Added network_v2/ directory for all new network enhancement modules
· Updated README with comprehensive v1.5.0 documentation

中文

· 新增请求签名器(DERSigner),支持 HMAC-SHA256 签名验证
· 新增心跳保活(DERHeartbeat),支持连接监控与自动重连
· 新增流量混淆器(DERObfuscator),提供 3 级混淆强度
· 新增请求队列(DERRequestQueue),支持优先级队列与自动重试
· 新增批量请求(DERBatchRequest),支持自适应批量压缩
· 新增 network_v2/ 目录,统一存放网络增强模块
· 更新 README,完善 v1.5.0 文档

Version 1.4.0

English

· Added Inject Detector (DERInjectDetector) for DLL injection, code hooks, script injection, and framework hooks
· Added Memory Scanner (DERMemoryScanner) for Cheat Engine and GameGuardian detection
· Added Multi Instance Detector (DERMultiInstance) to prevent game from being opened multiple times
· Added VM Detector (DERVMDetector) for virtual machines and Android emulators
· Added threat callback system for real-time detection response
· Added continuous scan with configurable intervals
· Added comprehensive threat reports and statistics

中文

· 新增注入检测器(DERInjectDetector),检测 DLL 注入、代码钩子、脚本注入和框架钩子
· 新增内存扫描检测器(DERMemoryScanner),检测 Cheat Engine 和 GameGuardian
· 新增多开检测器(DERMultiInstance),防止游戏多开
· 新增虚拟机检测器(DERVMDetector),检测虚拟机和安卓模拟器
· 新增威胁回调系统,支持实时检测响应
· 新增持续扫描,可配置扫描间隔
· 新增完整的威胁报告和统计功能

Version 1.3.0

English

· Added Configuration System with Manager, Diff, Preset, Template, and Validator
· Added 7 ready-to-use presets (Development, Testing, Production, Light, Balanced, Strict)
· Added config file import/export with JSON format
· Added config validation with custom rules and auto-fix
· Added config diff comparison with deep recursion and array modes
· Added config change listeners for real-time updates
· Removed deprecated v1.2 network scripts (cache_manager, replay_protector, time_sync)

中文

· 新增配置系统,包含管理器、差异比对、预设、模板、验证器
· 新增 7 种即用预设(开发、测试、生产、轻量、平衡、严格)
· 新增配置文件导入导出,支持 JSON 格式
· 新增配置验证,支持自定义规则和自动修复
· 新增配置差异比对,支持深度递归和多种数组模式
· 新增配置变更监听器,支持实时更新
· 移除已弃用的 v1.2 网络脚本(cache_manager、replay_protector、time_sync)

Version 1.2.0

English

· Added Cache System (DERCacheManager) with TTL, LRU, and encrypted persistence
· Added Replay Protection System (DERReplayProtector) with Nonce + RequestID双重验证双重 validation and HMAC-SHA256
· Added Time Synchronization System (DERTimeSync) with NTP algorithm and HTTPS enforcement
· Improved thread safety across all modules
· Added comprehensive statistics for all new systems

中文

· 新增缓存系统(DERCacheManager),支持 TTL、LRU 和加密持久化
· 新增重放防护系统(DERReplayProtector),支持 Nonce + RequestID 双重验证和 HMAC-SHA256
· 新增时间同步系统(DERTimeSync),支持 NTP 算法和强制 HTTPS
· 优化所有模块的线程安全性
· 为所有新系统添加完整的统计功能

Version 1.1.0

English

· Added network protection module with encrypted packet transmission
· Added WebSocket support for real-time communication
· Added resume broken downloads feature
· Added connection pooling and auto-reconnect
· Added bandwidth control and request prioritization
· Improved thread safety and performance
· Added adaptive data compression

中文

· 新增网络保护模块,支持加密数据包传输
· 新增 WebSocket 实时通信支持
· 新增断点续传功能
· 新增连接池管理和自动重连
· 新增带宽控制和请求优先级
· 优化线程安全和性能
· 新增自适应数据压缩

Version 1.0.0

English

· Initial release with core anti-cheat features

中文

· 首次发布,包含核心反作弊功能

---

License

MIT License - Free for personal and commercial use
Category Tools
License MIT
Repository Provider GitHub
Repository Url https://github.com/kS222138/DER-AntiCheat-/
Issues Url https://github.com/kS222138/DER-AntiCheat-/issues
Godot version Godot 4.6
Version String 2.1-stable 1.5.0-stable
Download Commit 00077ce00c02be02235730111d9d56666f8101f8 659d6d833d3f54ea3b4817c6eb8f41c16a82fcc3
Download Url (Computed) https://github.com/kS222138/DER-AntiCheat-/archive/00077ce00c02be02235730111d9d56666f8101f8.zip https://github.com/kS222138/DER-AntiCheat-/archive/659d6d833d3f54ea3b4817c6eb8f41c16a82fcc3.zip
Icon Url https://raw.githubusercontent.com/kS222138/1/main/7baf87fbf7e945598457c95b7723afa3.png