Posted: Fri Oct 30, 2020 8:36 am Post subject: Max mana into current mana
Hi I know this looks pathetic but beginings are hard, I want to add max mana into my current mana, I got both pointers but I have no idea how to make it work so far I tried a few things like:
Code:
[ENABLE]
mov eax,[11822BE8+00000120] // this is max mana
mov [11822BE8+0000011C], eax // and max mana goes into current mana
[DISABLE]
mov eax,[11822BE8+00000120] //same thing it reffils mana
mov [11822BE8+0000011C], eax
The Auto Assembler (AA) doesn't execute any of the code you write- it only changes values in the game.
Code:
1234: // at the address 1234, sequentially write the following data to it:
mov eax,[ebx] // this assembles to the bytes 8b 03
e.g. this code writes the bytes "8b 03" to the address "1234". It doesn't execute this code.
There are pseudoinstructions CE adds that should be able to do what you want:
Code:
11822BE8+0000011C:
readmem(11822BE8+00000120,4)
If the AA doesn't like this address syntax of hex+hex, resolve it manually (i.e. 11822D04 / 11822D08 ).
You may want to look into code injection instead so you don't have to keep toggling the script to copy max mana. Try the CE tutorial. There are plenty of guides online if you need help.
ps: those are addresses, not pointers. _________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum