跳到正文

crash

CommandAI 翻译调试与作弊

中文说明

AI 翻译

使客户端崩溃。可选参数 -- 崩溃类型: 0:从 NULL 读取 1:写入 NULL 2:强制触发断言 3:无限循环 4:栈缓冲区溢出 5:跨多个线程多次触发断言。可选线程数(默认 5) 6:循环内存泄漏直到内存耗尽。可选分配大小(字节,默认 1048576/1MB)

原始英文说明

Crash the client. Optional parameter -- type of crash: 0: read from NULL 1: write to NULL 2: force an Assert 3: infinite loop 4: stack buffer overrun 5: multiple asserts across multiple threads. Optional number of threads (default 5) 6: looping memory leak until we're out of memory. Optional allocation size in bytes (default 1048576/1MB)

配置片段

user/custom.cfg
crash

想把这条参数写进 custom.cfg 又怕覆盖键位?使用 SrP-CFG 桌面端自带语法高亮与自动备份。

下载桌面端