[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(clenupCode)
label(originalcode)
label(exit)
label(myCode)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
push eax
mov eax,[ecx+8]
mov eax,[eax+cc]
mov eax,[eax+8]
cmp eax,#1000
je myCode
cmp eax,#1001
je myCode
clenupCode:
pop eax
originalcode:
fsub dword ptr [esp+2C]
fst dword ptr [esp+20]
exit:
jmp returnhere
myCode:
mov [ecx+14],3
jmp clenupCode
"RelicCoH2.exe"+26E182:
jmp newmem
nop
nop
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
"RelicCoH2.exe"+26E182:
fsub dword ptr [esp+2C]
fst dword ptr [esp+20]
//Alt: db D8 64 24 2C D9 54 24 20
dealloc(newmem)
How to use this cheat table?
Install Cheat Engine
Double-click the .CT file in order to open it.
Click the PC icon in Cheat Engine in order to select the game process.
Keep the list.
Activate the trainer options by checking boxes or setting values from 0 to 1
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(clenupCode)
label(originalcode)
label(exit)
label(myCode)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
push eax
mov eax,[ecx+8]
mov eax,[eax+cc]
mov eax,[eax+8]
cmp eax,#1000
je myCode
cmp eax,#1001
je myCode
clenupCode:
pop eax
originalcode:
fsub dword ptr [esp+2C]
fst dword ptr [esp+20]
exit:
jmp returnhere
myCode:
mov [ecx+14],3
jmp clenupCode
"RelicCoH2.exe"+26E182:
jmp newmem
nop
nop
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
"RelicCoH2.exe"+26E182:
fsub dword ptr [esp+2C]
fst dword ptr [esp+20]
//Alt: db D8 64 24 2C D9 54 24 20
dealloc(newmem)
no youre not getting it
i dont have problem with comparing.
in skirmish, that offset is depending on youre start position(1,2,3,...,8)
now i want to find something that doesnt change or a way to find out wich id is mine.
i have a question regarding troops veterancy
the code accessing it has ecx as base. ecx+14 is rank ecx+18 is exp
player ID as far as i think is like below
mov eax,[ecx+8]
mov eax,[eax+cc]
mov eax,[eax+8]
cmp eax,#1001
now my problem is sometimes my units ID is 1000 and sometimes its 1001 in skirmish battles.how can I fix it?
my code:
Spoiler
[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
push eax
mov eax,[ecx+8]
mov eax,[eax+cc]
mov eax,[eax+8]
cmp eax,#1001
pop eax
jne originalcode
cmp [ecx+14],3
je originalcode
mov [ecx+14],3
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"RelicCoH2.exe"+26E182:
fsub dword ptr [esp+2C]
fst dword ptr [esp+20]
//Alt: db D8 64 24 2C D9 54 24 20
...
no youre not getting it
i dont have problem with comparing.
in skirmish, that offset is depending on youre start position(1,2,3,...,8)
now i want to find something that doesnt change or a way to find out wich id is mine.
LMAO...In the post I answered you said nothing about the offsets, changing offsets, or even start position (like not even the words "offset", "changing", "start", or "position" are even used), and the example you gave is just comparing a value with an address' value. You literally said "sometimes my units ID is 1000 and sometimes its 1001". But at any rate, then you'll need to find some other ID (or a different way to get to it) scene that one doesn't work.
Nice release thanks but just one quick question. Is there any ways to increase the Manpower / Munations / Fuel for early? Instead of getting stucked at 190 man power and froze that already?
[QUOTE="joelng1989, post: 46230, member: 17390"]Nice release thanks but just one quick question. Is there any ways to increase the Manpower / Munations / Fuel for early? Instead of getting stucked at 190 man power and froze that already?[/QUOTE]
if you check the box for minimum resources it opens a sub box and you double click the value 190 and set your desired value. I. e. I type 99999