Edit of asset "DER AntiCheat" Accepted

Old/Current New/Edit
Title DER AntiCheat
Description # DER AntiCheat v2.3.0 Official Documentation
# DER AntiCheat v2.3.0 官方文档

---

## Version Information / 版本信息

| | |
|---|---|
| **Version / 版本** | 2.3.0 |
| **Godot Version / 适配引擎** | 4.6+ |
| **Author / 作者** | 222 |
| **License / 协议** | MIT |

---

## Overview / 概述

### English

DER AntiCheat v2.3.0 focuses on developer experience, introducing a one-click preset system, an in-game debug panel, and mobile compatibility guarantees. This release makes enterprise-grade anti-cheat accessible to developers of all skill levels. Choose from Light, Standard, or Competitive presets, or use `quick_setup()` to get started in seconds. The new In-Game Debug Panel (Ctrl+Shift+F12) provides real-time module status, runtime toggle, and live log viewing. The suite now offers **43 integrated modules** with full Android and iOS support.

### 中文

DER AntiCheat v2.3.0 专注于开发者体验,引入了一键预设系统、游戏内调试面板和移动端兼容性保证。本次发布让企业级反作弊对任何水平的开发者都触手可及。选择轻量、标准或竞技预设,或使用 `quick_setup()` 在几秒内启动。新的游戏内调试面板 (Ctrl+Shift+F12) 提供实时模块状态、运行时开关和实时日志查看。该套件现在提供 **43 个集成模块**,完整支持 Android 和 iOS。

---

## New in v2.3.0 / v2.3.0 新增

### 1. Protection Preset System / 预设配置系统

**English**

One-click setup with three preset configurations tailored for different game types.

- **Light Preset (6 modules):** Basic memory encryption and speed hack detection for single-player games
- **Standard Preset (15 modules):** Injection detection, anti-debug, and save protection for multiplayer games
- **Competitive Preset (38 modules):** Full protection suite for ranked matches and esports
- **quick_setup() API:** Start protection with a single function call
- **Inspector Editing:** All preset parameters editable in the Godot Inspector panel

**中文**

一键设置,三种针对不同游戏类型的预设配置。

- **轻量预设 (6 模块):** 单机游戏的基础内存加密和加速检测
- **标准预设 (15 模块):** 多人游戏的注入检测、反调试和存档保护
- **竞技预设 (38 模块):** 排位赛和电竞的完整防护套件
- **quick_setup() API:** 通过单个函数调用启动保护
- **Inspector 编辑:** 所有预设参数可在 Godot Inspector 面板中编辑

---

### 2. In-Game Debug Panel / 游戏内调试面板

**English**

Runtime debug overlay accessible via Ctrl+Shift+F12, providing real-time monitoring and control.

- **Module Status Dashboard:** Green/yellow/red indicators for all 38 modules
- **Runtime Toggle:** Enable or disable individual modules during gameplay
- **Live Log Viewer:** Last 100 log entries with real-time updates
- **Stats Dashboard:** FPS, memory usage, process ID, and module statistics
- **Password Protection:** Secure access control for release builds
- **Hotkey:** Default Ctrl+Shift+F12 (configurable)

**中文**

通过 Ctrl+Shift+F12 访问的运行时调试浮层,提供实时监控和控制。

- **模块状态仪表板:** 所有 38 个模块的绿/黄/红指示灯
- **运行时开关:** 在游戏过程中启用或禁用单个模块
- **实时日志查看器:** 最近 100 条日志条目,实时更新
- **统计仪表板:** FPS、内存使用、进程 ID 和模块统计
- **密码保护:** 发布版本的安全访问控制
- **快捷键:** 默认 Ctrl+Shift+F12(可配置)

---

### 3. Mobile Compatibility / 移动端兼容

**English**

Full Android and iOS support confirmed with performance optimizations for mobile devices.

- **ARM64 Native:** All detection modules tested on ARM64 architecture
- **Low Overhead:** Object pooling and thread management optimized for battery life
- **Touch Input:** Debug panel fully functional with touch interactions
- **GPU Efficiency:** Minimal GPU impact during security scans

**中文**

完整的 Android 和 iOS 支持,针对移动设备进行性能优化。

- **ARM64 原生:** 所有检测模块在 ARM64 架构上测试通过
- **低开销:** 对象池和线程管理针对电池寿命优化
- **触摸输入:** 调试面板完整支持触摸交互
- **GPU 效率:** 安全扫描期间最小化 GPU 影响

---

## What's New in v2.2.0 / v2.2.0 新增

### New Security Modules / 新增安全模块

| Module / 模块 | Class | Description / 描述 |
|:---|:---|:---|
| Speed Detector V2 | DERSpeedDetectorV2 | Time-based speed hack detection with multi-level sensitivity / 基于时间的加速器检测,支持多级灵敏度 |
| Virtual Position Detector | DERVirtualPosDetector | GPS spoofing detection for location-based games / 面向位置游戏的 GPS 伪造检测 |
| File Integrity Scanner | DERFileIntegrity | SHA256 game file verification with auto-repair / SHA256 游戏文件验证,支持自动修复 |
| Offline Protector | DEROfflineProtector | Offline violation caching with auto-flush / 离线违规缓存,支持自动刷新 |
| Log Encryptor | DERLogEncryptor | AES-256-CBC encrypted log storage / AES-256-CBC 加密日志存储 |

---

## What's New in v2.1.0 / v2.1.0 新增

| Module / 模块 | Class | Description / 描述 |
|:---|:---|:---|
| CCU Optimizer | DERCCUOptimizer | Dynamic quality scaling based on player count and FPS / 基于玩家数量和帧率的动态画质缩放 |
| Consistency Validator | DERConsistencyValidator | Server-client state validation with 5 violation actions / 服务器-客户端状态验证,5 种违规处理 |
| False Positive Filter | DERFalsePositiveFilter | Device-tier based false positive reduction / 基于设备档位的误报过滤 |
| Cloud Snapshot | DERCloudSnapshot | Encrypted cloud save sync with conflict resolution / 加密云存档同步,支持冲突解决 |
| Whitelist Manager | DERWhitelistManager | Hardware ID + device fingerprint whitelist / 硬件 ID + 设备指纹白名单 |
| Encrypted Logger | DEREncryptedLogger | AES-256-CBC encrypted logging with auto-upload / AES-256-CBC 加密日志,支持自动上传 |
| Device Fingerprint | DERDeviceFingerprint | Cross-platform hardware fingerprinting / 跨平台硬件指纹 |

---

## Quick Start / 快速上手

```gdscript
# One-Click Setup (New in v2.3.0) / 一键设置 (v2.3.0 新增)
DERAntiCheat.quick_setup("competitive") # Light / Standard / Competitive

# Or load a preset / 或加载预设
DERAntiCheat.load_preset("standard")

# In-Game Debug Panel / 游戏内调试面板
# Press Ctrl+Shift+F12 during gameplay / 游戏时按 Ctrl+Shift+F12

# Speed Detector V2 / 加速器检测 V2 (v2.2.0)
var speed_detector = DERSpeedDetectorV2.new()
speed_detector.speed_hack_detected.connect(func(ratio, details):
print("Speed hack detected! Ratio: ", ratio)
)
func _process(delta): speed_detector.process_frame(delta)

# Virtual Position Detector / GPS 伪造检测 (v2.2.0)
var pos_detector = DERVirtualPosDetector.new()
pos_detector.location_fake_detected.connect(func(details):
print("GPS spoof detected!")
)

# File Integrity Scanner / 文件完整性扫描 (v2.2.0)
var integrity = DERFileIntegrity.new()
integrity.save_manifest("user://file_manifest.json")
integrity.start()
```

---

Performance Comparison / 性能对比

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

---

Available Presets / 可用预设

Preset / 预设 Modules / 模块 Best For / 适用场景
Light / 轻量 6 Single-player games, prototypes / 单机游戏、原型开发
Standard / 标准 15 Most multiplayer games / 大多数多人游戏
Competitive / 竞技 38 Ranked matches, esports, high-value economies / 排位赛、电竞、高价值经济

---

Security Features Summary / 安全功能总览

Feature / 功能 v2.1.0 v2.2.0 v2.3.0
Protection Presets / 预设配置 No No Yes
In-Game Debug Panel / 游戏内调试面板 No No Yes
Quick Setup API / 快速设置 API No No Yes
Mobile Compatibility / 移动端兼容 No No Yes
Speed Detector V2 / 加速器检测 V2 No Yes Yes
Virtual Position Detector / GPS 伪造检测 No Yes Yes
File Integrity Scanner / 文件完整性扫描 No Yes Yes
Offline Protector / 离线违规缓存 No Yes Yes
Log Encryptor / 日志加密存储 No Yes Yes
Memory Encryption / 内存加密 Yes Yes Yes
Thread Pool / 线程池 Yes Yes Yes
Inject Detection / 注入检测 Yes Yes Yes
VM Detection / 虚拟机检测 Yes Yes Yes
Anti-Debug V2 / 反调试 V2 Yes Yes Yes
Rollback Detection / 回滚检测 Yes Yes Yes

---

License / 协议

MIT License — Free for personal and commercial use.
MIT 协议 — 免费用于个人和商业用途。

---

Made with dedication for the Godot community
为 Godot 社区倾力打造
DER AntiCheat v2.0.0 Official Documentation

DER AntiCheat v2.0.0 官方文档

---

Version Information / 版本信息

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

---

Overview / 概述

English

DER AntiCheat v2.0.0 is a Performance-First Security Suite that revolutionizes how anti-cheat systems run in your game. This update introduces a production-grade ThreadPool, ObjectPool, and Performance Monitor, delivering up to 60% reduction in memory usage and 70% reduction in GC pauses. The entire detection pipeline has been re-architected for asynchronous execution, ensuring zero frame stutter during security scans.

中文

DER AntiCheat v2.0.0 是一个性能优先的安全套件,彻底革新了反作弊系统在游戏中的运行方式。本次更新引入了生产级线程池、对象池和性能监控器,实现了最高 60% 的内存占用降低和 70% 的 GC 暂停减少。整个检测管线已重构为异步执行模式,确保安全扫描期间零帧卡顿。

---

Core Modules & Features / 核心模块与功能

1. DERThreadPool - High-Performance Thread Pool / 高性能线程池

English

A production-grade thread pool for executing security tasks asynchronously without blocking the main thread.

· Priority Queue: 4 priority levels (LOW, NORMAL, HIGH, CRITICAL) with CRITICAL tasks executing immediately.
· Auto-Scaling: Dynamically grows/shrinks thread count based on workload (configurable min/max threads).
· Task Retry: Built-in exponential backoff retry mechanism for transient failures.
· Timeout Protection: Each task has an independent timeout to prevent hanging.
· Batch & Sequence: Supports both parallel batch execution and sequential task chains.

中文

用于异步执行安全任务的生产级线程池,不会阻塞主线程。

· 优先级队列:4 级优先级(低、普通、高、紧急),紧急任务立即执行。
· 自动扩缩容:根据工作负载动态增减线程数量(可配置最小/最大线程数)。
· 任务重试:内置指数退避重试机制,应对临时性失败。
· 超时保护:每个任务独立超时,防止卡死。
· 批量与序列:支持并行批量执行和串行任务链。

---

2. DERObjectPool - Object Pool / 对象池

English

Generic object pool for VanguardValue reuse, dramatically reducing memory allocation and GC pressure.

· Pooled Objects: VanguardValue instances are recycled instead of freed, reducing GC by 70%.
· Eviction Policies: Supports FIFO, LRU, and LFU eviction strategies.
· Auto Cleanup: Idle objects are automatically cleaned after configurable timeout.
· Stats Tracking: Real-time pool size, hit rate, and active object counts.

中文

用于 VanguardValue 复用的通用对象池,大幅减少内存分配和 GC 压力。

· 池化对象:VanguardValue 实例被回收复用而非释放,GC 减少 70%。
· 淘汰策略:支持 FIFO、LRU 和 LFU 三种淘汰策略。
· 自动清理:空闲对象在可配置超时后自动清理。
· 统计追踪:实时显示池大小、命中率和活跃对象数量。

---

3. DERPerformanceMonitor - Performance Monitor / 性能监控器

English

Real-time performance monitoring for the entire anti-cheat system.

· FPS Monitoring: Tracks current, average, min, and max FPS with stability score.
· Frame Time Analysis: Calculates average, min, max, and standard deviation of frame times.
· Memory Tracking: Monitors current and peak memory usage.
· Module Timing: Measures execution time of each security module (detector, scanner, validator).
· Bottleneck Detection: Automatically identifies modules consuming >50% of processing time.
· Threshold Alerts: Emits signals when FPS drops below or memory exceeds configured thresholds.
· Report Export: Exports performance data to JSON for analysis.

中文

针对整个反作弊系统的实时性能监控。

· FPS 监控:追踪当前、平均、最低和最高帧率,附带稳定性评分。
· 帧时间分析:计算帧时间的平均值、最小值、最大值和标准差。
· 内存追踪:监控当前和峰值内存使用量。
· 模块计时:测量每个安全模块(检测器、扫描器、验证器)的执行时间。
· 瓶颈检测:自动识别消耗超过 50% 处理时间的模块。
· 阈值告警:当 FPS 低于或内存超过配置阈值时发射信号。
· 报告导出:导出性能数据为 JSON 格式供分析。

---

4. Integrated Async Detection / 集成异步检测

English

All existing detectors now run asynchronously through the thread pool.

· DERInjectDetector: Now runs in background thread, zero impact on gameplay.
· DERMemoryScanner: Scans memory patterns without frame stutter.
· DERVMDetector: VM detection runs asynchronously with cached results.
· DERMultiInstance: Process scanning moved to background thread.
· DERDebugDetectorV2: Anti-debug checks execute on thread pool.

中文

所有现有检测器现在都通过线程池异步运行。

· DERInjectDetector:后台线程运行,对游戏零影响。
· DERMemoryScanner:无帧卡顿的内存模式扫描。
· DERVMDetector:虚拟机检测异步运行,结果缓存。
· DERMultiInstance:进程扫描移至后台线程。
· DERDebugDetectorV2:反调试检查在线程池执行。

---

Performance Improvements / 性能提升

Metric / 指标 v1.9.0 v2.0.0 Improvement / 提升
Memory Usage / 内存占用 200MB 100MB -50%
Startup Time / 启动时间 500ms 300ms -40%
Scan Lag / 扫描卡顿 50ms 20ms -60%
GC Pauses / GC 暂停 10ms/次 3ms/次 -70%
Thread Management / 线程管理 Manual Auto-scaling ✅
Object Allocation / 对象分配 Per-frame Pooled ✅

---

New Modules in v2.0.0 / 2.0.0 新增模块

```
addons/DER AntiCheat/
├── core/
│ ├── thread_pool.gd # 高性能线程池
│ ├── object_pool.gd # 通用对象池
│ ├── performance_monitor.gd # 性能监控器
│ └── der_anticheat_core.gd # 统一核心控制器
├── async/
│ └── async_detector.gd # 异步检测器包装
└── report_v2/
└── performance_report.gd # 性能报告生成器
```

---

Quick Start / 快速上手

```gdscript
# Initialize the core / 初始化核心
var anticheat = DERAntiCheatCore.new()
add_child(anticheat)

# Configure thread pool / 配置线程池
anticheat.thread_pool.max_threads = 4
anticheat.thread_pool.min_threads = 2

# Configure object pool / 配置对象池
anticheat.value_pool.max_size = 1000
anticheat.value_pool.initial_size = 50

# Enable performance monitoring / 启用性能监控
anticheat.performance_monitor.enable_monitoring = true
anticheat.performance_monitor.fps_warning_threshold = 30

# Submit async scan / 提交异步扫描
var task_id = anticheat.submit_task(func():
return detector.scan_all()
)

# Listen for completion / 监听完成
anticheat.task_completed.connect(func(id, result):
print("Scan completed: ", result)
)

# Get protected value from pool / 从池中获取受保护的值
var hp = anticheat.get_protected_value(100)
# ... use hp ...
anticheat.release_protected_value(hp) # Return to pool

# Get performance stats / 获取性能统计
var stats = anticheat.get_performance_stats()
print("FPS: ", stats.current_fps)
print("Memory: ", stats.current_memory_mb, "MB")
```

---

Technical Implementation / 技术实现

English

· Thread-Safe Architecture: All shared resources protected by Mutex locks.
· Lock-Free Queues: Priority task queues optimized for minimal contention.
· Memory Pooling: Object reuse eliminates 70% of allocations.
· Lazy Loading: Non-core modules loaded on-demand, reducing startup time.
· Cache-Friendly Design: Hot paths optimized for CPU cache locality.
· Signal-Driven: Async completion notifications via Godot Signals.

中文

· 线程安全架构:所有共享资源受 Mutex 锁保护。
· 无锁队列:优先级任务队列经优化,争用最小化。
· 内存池化:对象复用消除了 70% 的内存分配。
· 懒加载:非核心模块按需加载,减少启动时间。
· 缓存友好设计:热点路径针对 CPU 缓存局部性优化。
· 信号驱动:通过 Godot 信号进行异步完成通知。

---

Changelog / 更新日志

English

· v2.0.0: Performance-first release. Added ThreadPool, ObjectPool, PerformanceMonitor. Async detection for all modules. 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.0.0:性能优先版本。新增线程池、对象池、性能监控器。所有模块异步检测。内存减少 50%,GC 减少 70%。
· v1.9.0:新增开发者工具(日志查看器、性能分析器、作弊模拟器)。
· v1.8.0:新增监控套件(告警管理器、仪表盘、报告导出器)。
· v1.7.0:新增 SL 防护套件(回滚检测、保存限制、云存档验证)。

---

Final Notes / 最终说明

English

DER AntiCheat v2.0.0 represents a fundamental shift in how anti-cheat systems should be built. By moving from a blocking, single-threaded architecture to a fully asynchronous, pooled, and monitored system, it achieves enterprise-grade security without compromising game performance. The 50% memory reduction and 70% GC reduction mean your game stays smooth while staying protected.

中文

DER AntiCheat v2.0.0 代表了反作弊系统构建方式的根本性转变。通过从阻塞式单线程架构迁移到完全异步、池化、可监控的系统,它在不牺牲游戏性能的前提下实现了企业级安全。50% 的内存减少和 70% 的 GC 减少意味着您的游戏在保持保护的同时保持流畅。
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.3.0-stable 2.0-stable
Download Commit 796845d9a993305f3a947e468406003203c56f87 d5862ca5eeb8b6b74c3411d48ae477c696949549
Download Url (Computed) https://github.com/kS222138/DER-AntiCheat-/archive/796845d9a993305f3a947e468406003203c56f87.zip https://github.com/kS222138/DER-AntiCheat-/archive/d5862ca5eeb8b6b74c3411d48ae477c696949549.zip
Icon Url https://raw.githubusercontent.com/kS222138/1/main/7baf87fbf7e945598457c95b7723afa3.png