checkbox控件
附加数据
1|61(
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
ucomiss xmm0,[ecx]
mov [ecx],497423F0
mov [ecx+4],497423F0
mov [ecx+8],497423F0
mov [ecx+c],497423F0
mov [ecx+2c],0
mov [ecx+10],43480000
lahf
test ah,44
exit:
jmp returnhere
"AoK HD.exe"+30DBFD:
jmp newmem
nop
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"AoK HD.exe"+30DBFD:
ucomiss xmm0,[ecx]
lahf
test ah,44
//Alt: db 0F 2E 01 9F F6 C4 44
)
脚本
Checked
{
Call.SaveData(My);
}
Unchecked
{
Call.SaveData(My);
}
===================
运行后就弹出来
Unknown identifier
和
This instruction can'be complied
=======================
已经按照chm帮助的教程,把数值设置为1,取消值设置为0
用的是论坛的PC_AA插件(1.21)
CM版本是 1.81SVN207