AmyGrrl Cheater
Reputation: 0
Joined: 15 Dec 2016 Posts: 31
|
Posted: Fri Mar 22, 2019 1:58 pm Post subject: Help with memoryrecord_setAddress to set adress from pointer |
|
|
Have had a working trainer for my game for a while now. But after a recent game update. It had been difficult to locate a valid pointer that functions the same way it use to.
Trying to make this a little more simple.
MyValue=getAddressList().getMemoryRecordByDescription("My Value")
MyAddress=getAddressList().getMemoryRecordByDescription("My Address")
My trainer has two items in the cheat table. The first item is my pointer that can sometimes randomly change 1% of the time. When I activate my trainer. It makes the game do an action. The location found by my pointer will never change as long as the game is doing the action I told it to do. I would like to then use the memoryrecord_setAddress to change the second item in my table to the address found by my pointer.
memoryrecord_setAddress(MyAddress, MyValue)
While I know the line above is incorrect. I'm not sure what I need to do make it grab the correct address.
memoryrecord_setAddress(MyAddress, string.format('%x', memoryrecord_getAddress(MyValue)))
Looks like I figured it out with this line.
Thanks for any help given.
|
|