perfect3 wrote: ↑Fri Mar 30, 2018 4:31 am
I am so new to this cheat engine but i just cant figure out how to change the value of the EXP that is for Hero Colosseum. Anyone can help out?
So once I update my cheat table for this update (I kinda already have, just adding and adjusting some things), I already have a script that decrypts some of those values such as the Hero Colosseum EXP. Something to note here and I mentioned it before, the game uses the xor operator in assembly which takes two registers and they use it in a way that would put the value in the first register and the address in the second (ex.
xor eax,ecx). The way this operator works, for example, if you have an Address of
90000001 (hex) and a Value of
7 (dec/hex), it will take both of these values and compare them in binary
10010000000000000000000000000001 and
00000000000000000000000000000111 and for each number if they are different set it to 1 and if they are the same set it to 0. So if
7 (dec/hex) was in
eax and
900000001 (hex) was in
ecx and we use
xor eax,ecx as an example, it will turn
eax into
10010000000000000000000000000110 (hex: 90000006; dec: 2415919110).
xor 7,90000001
xor 00000000000000000000000000000111, 10010000000000000000000000000001
00000000000000000000000000000111
10010000000000000000000000000001
10010000000000000000000000000110
So yea, if you are trying to find the value you see on screen in game, you won't find it. You may need to start with a "Unknown Initial Value" scan and do some "changed value" and "unchanged value" scans afterwards to narrow it down.