View previous topic :: View next topic |
Author |
Message |
BbayuGt How do I cheat?
Reputation: 0
Joined: 16 Aug 2019 Posts: 3
|
Posted: Sun Sep 29, 2019 3:49 am Post subject: Lua engine, help me |
|
|
Can u guys give me code to change pointer value on cheat tables???
|
|
Back to top |
|
 |
FreeER Grandmaster Cheater Supreme
Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Sun Sep 29, 2019 9:06 am Post subject: |
|
|
writePointer(pointerAddress, newPointerValue)
_________________
|
|
Back to top |
|
 |
BbayuGt How do I cheat?
Reputation: 0
Joined: 16 Aug 2019 Posts: 3
|
Posted: Mon Sep 30, 2019 7:43 am Post subject: |
|
|
FreeER wrote: | writePointer(pointerAddress, newPointerValue) |
example? writePointer(??,1)
|
|
Back to top |
|
 |
FreeER Grandmaster Cheater Supreme
Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Mon Sep 30, 2019 11:05 am Post subject: |
|
|
eg '"Tutorial-i386.exe"+242650' or '["Tutorial-i386.exe"+242650]+4AC' etc.
1 would probably not be the value you want to write for a pointer it's too small to be valid and 0 is usually how code checks for an unset pointer.
If you want to write something else when you have a pointer to it then you'd use the appropriate function for the type you want to write, writeInteger, SmallInteger, Float, String etc. and just give the address with []s for each level and the offset added, see the second example above.
_________________
|
|
Back to top |
|
 |
|