Only in Cheat Engine? My LUA isn't the best but I might have a look at it.
If I can't do it in LUA, I could do it in C# for you.
Hey guys
I want to create a hack for a game.
It should move the Position (coords) from character 1 to character 2.
I already found the pointers for x and y position.
How to create a "script" or something that changes the value of adress 1 to the value of adress 2 ?
Thank you :=)
Only in Cheat Engine? My LUA isn't the best but I might have a look at it.
If I can't do it in LUA, I could do it in C# for you.
#LOGS
12-02-2020 ⌨ [MPGH]defaulto got gifted the Premium Membership from [MPGH]Azuki - sponsored by [MPGH]Flengo.
27-11-2019 ⌨ [MPGH]defaulto captured the GFX Team Base together with [MPGH]Howl & [MPGH]Poonce.
08-14-2017 ⌨ defaulto joined the game.
hi.
if you have questions dm me or something, this should work. // btw 1k postsCode:al = getAddressList() -- rename your table entries to p1/p2 or change the strings here readAddress = addresslist_getMemoryRecordByDescription(al, 'p1').Address writeAddress = addresslist_getMemoryRecordByDescription(al, 'p2').Address function OnTick(sender) x = readInteger(readAddress) -- change offset to correct / include new address y = readInteger(readAddress + 0x20) writeInteger(writeAddress, x) -- change offset to correct / include new address writeInteger(writeAddress + 0x20) end PosTimer = createTimer(nil, true) -- change interval here (2nd param) to preferred interval time timer_setInterval(PosTimer, 10) timer_onTimer(PosTimer, OnTick)