Sell items to Caravan to Add/Multiply
[
Code: Select all
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,"threekingdoms.exe"+610DCC)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
//sub eax,r9d
add eax,r9d
mov [rcx+18],eax
exit:
jmp returnhere
"threekingdoms.exe"+610DCC:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"threekingdoms.exe"+610DCC:
sub eax,r9d
mov [rcx+18],eax
//Alt: db 44 29 C8 89 41 18
Code: Select all
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,"threekingdoms.exe"+610DCC)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
//sub eax,r9d
imul eax,r9d
mov [rcx+18],eax
exit:
jmp returnhere
"threekingdoms.exe"+610DCC:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"threekingdoms.exe"+610DCC:
sub eax,r9d
mov [rcx+18],eax
//Alt: db 44 29 C8 89 41 18
I'm new for cheat engine.....so i can't do anything
Help me please....!!!