Posted: Thu Apr 14, 2022 3:12 am Post subject: Can you set a variable in addresslist that AA script reads?
I'm trying to figure out if you can set something like a variable that I can edit by hand in the address list, and when I do, an already running AA script is reading that value in realtime and adjusting accordingly.
This is what I have come up with, pretty much throwing things at the wall to see what sticks. What has to be changed for this script to work as I described? The idea is that the "lites" variable would be able to be an address in the address list that I can edit the value of by hand and this script reads it. In the address list, that address always has ?? value though.
Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,"WWE2K19_x64.exe"+7071C2)
label(returnhere)
label(originalcode)
label(exit)
registersymbol(lites)
label(lites)
lites:
dd 01
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
//mov [lites],
movups [rcx+30],xmm1
mov [1425E53CC],[lites]
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"WWE2K19_x64.exe"+7071C2:
movups [rcx+30],xmm1
mov rcx,[rbp+17]
//Alt: db 0F 11 49 30 48 8B 4D 17
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