Finding the address for exp gained from merging(farm merge valley)
Finding the address for exp gained from merging(farm merge valley)
I'm really new to CE, and recently just got into AOB injection. I've been trying to do some AOB injections for this game on the discord version, and so far, the values for the currency(coins, gems, energy, exp(current, and "cap before next lvl")) are very easily found and ive found them. 4byte and their stored value is double of what you see in game. Following the resources i found on youtube, I went through the process of finding what writes to this address, then opening it in memory viewer -> auto assemble -> AOB injection template. Anything ive tried in this template in freezes and crashes the entire game(i've tried changing the function to nop, a simple one to just freeze the value) and it crashes. One thing I will say is I think a lot of things uses the same process/opcode mov [rdx + r12*4 -01], eax. Ive also looked around this address(+- 20 lines) to see if i can find any add or sub opcodes but there's nothing of the sort. I've tried setting up a breakpoint to see when i merge something, which address controls the exp gained, but the breakpoint just freezes the game immediately, instead of pausing the game right after i merged something for exp. I can manually adjust the exp to lvl up that way, but it would take a long time and is very annoying(when i try to adjust the current exp past the "cap" exp, the game crashes, so I would need to do it per lvl which is why its so tedious). so I thought it would be a better idea to just change the exp gained from merging instead to lvl up faster, but I'm kind of stuck as to how to find the address thats in charge of this. Or if theres a better way to do this please let me know.
Re: Finding the address for exp gained from merging(farm merge valley)
Let's say "eax" is exp amount, you can use "shl" as opcode for multiple its amount
like this:
shl eax,1--->multiple "eax" 1 time
mov [rdx + r12*4], eax
but every hack is depend on game's engine.... some games has shared values/codes and need to use cmp..
like this:
shl eax,1--->multiple "eax" 1 time
mov [rdx + r12*4], eax
but every hack is depend on game's engine.... some games has shared values/codes and need to use cmp..
Re: Finding the address for exp gained from merging(farm merge valley)
So for the shl, would I add the line right before the mov [rdx+12*4-01], eax? Furthermore, im like 90% sure the game has shared values/codes due to the coins, and energy sharing the same mov [rdx+12*4-01], eax line. How would I utilize cmp?
Re: Finding the address for exp gained from merging(farm merge valley)
yes
for this sorta games with shared codes the best way is dumping the engine, dumping need knowledge of "lua" or using tools made by others, for example for ue4 engine you can use this tool Basic UE4 Win64 Base Table , for unity engine CE itself has mono feature, for gamemaker engine there is a dumper too,.... the other way is using stack/structure and for that you can find penalty of tutorials in youtube
Who is online
Users browsing this forum: No registered users