高级玩家

- 贡献度
- 22
- 金元
- 2688
- 积分
- 357
- 精华
- 0
- 注册时间
- 2011-9-5
|
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="28">
<CheatEntries>
<CheatEntry>
<ID>2</ID>
<Description>"建筑内资源不减(小人开始搬运资源后开启)"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>
[ENABLE]
aobscan(INJECT,49 63 46 0C 2B C7 41) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
label(end)
newmem:
code:
movsxd rax,dword ptr [r14+0C]
sub eax,edi
push eax
movzx eax,byte ptr [r14+03]
cmp eax,04
jne end
movzx eax,byte ptr [r14+08]
cmp eax,02
jb end
pop eax
jmp return
end:
pop eax
add eax,edi
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 49 63 46 0C 2B C7
unregistersymbol(INJECT)
dealloc(newmem)
</AssemblerScript>
</CheatEntry>
</CheatEntries>
<UserdefinedSymbols/>
</CheatTable>
保存成.CT文件,用CE加载,勾选,等待一会自动扫描内存就好了。(小人开始搬运资源后再勾选开启) |
|