| View previous topic :: View next topic |
| Author |
Message |
Zaladine Expert Cheater
Reputation: 3
Joined: 14 Oct 2012 Posts: 129 Location: Djokdja, Indonesia
|
Posted: Tue Nov 12, 2013 7:11 am Post subject: [solved] How do i put these pointers into CE Table ? |
|
|
Hello...
In an Strategy-RPG game, i have this pointers trail for my char's HP Regen address:
[[["GameModule.exe"+AB7788]+0xC]+0x2FB94]+0x7C
The 0x2FB94 offset, by debugging, was actually got from (eax*8 )+4 of which eax = 0x5F72, so the pointer was in fact:
[[["GameModule.exe"+AB7788]+0xC]+(0x5F72*0x8)+0x4]+0x7C
This 0x5F72 variable, however, was obtainable by another following pointers trail:
[["GameModule.exe"+A9A858]+0x238]+0xA0
.......
So, in conclusion, the Multi-level Pointers Trail to point to my HP Regen address is:
[[["GameModule.exe"+AB7788]+0xC]+([[["GameModule.exe"+A9A858]+0x238]+0xA0]*0x8)+0x4]+0x7C
My question is: how do i put that multi-level pointers trail in CE table?
FYI, I'm using CE 6.3 and have never had difficulties to make a pointer-based table entry. However, i only know very
limited ASM and scripting. So, i prefer and expect simple CE table solution if possible.
Thank you very much in advance for any helps...
_________________
... to boldly go where no eagle has gone before ...
Last edited by Zaladine on Tue Nov 12, 2013 10:21 am; edited 1 time in total |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25833 Location: The netherlands
|
Posted: Tue Nov 12, 2013 8:35 am Post subject: |
|
|
It doesn't really fit in a cheat table entry
What you can do is use a code injection, or lua script
for lua script something like this could work in a timer:
| Code: |
offset=readInteger('[["GameModule.exe"+A9A858]+0x238]+0xA0')*8+4; --calculate the offset (result is an integer)
offsetstring=string.format("%x", offset) --convert the integer to hexadecimal notation
addressString='[[["GameModule.exe"+AB7788]+0xC]+'..offsetstring..']+0x7C' --build the addressString
currentAddress=getAddress(addressString)
|
And then use currentAddress to either update a specific entry in the table, or use writeInteger/writeFloat yourself
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Zaladine Expert Cheater
Reputation: 3
Joined: 14 Oct 2012 Posts: 129 Location: Djokdja, Indonesia
|
Posted: Tue Nov 12, 2013 9:55 am Post subject: |
|
|
Thanks for fast reply, Dark Byte.
Though limited, I'm quite familiar with code-injection that i may be able to
resolve it. Yet, i know next to nothing about LUA and its integration to CE.
So could you or anyone please point me to the right direction for newbies?
I mean: where do i start scripting, and what the output would be? A table
entry constructed using LUA or else? Any link to its tutorial will do...
I guess this is a good time to start learning about LUA scripting with CE.
Again, thank you very much in advance.
_________________
... to boldly go where no eagle has gone before ... |
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
|
| Back to top |
|
 |
Zaladine Expert Cheater
Reputation: 3
Joined: 14 Oct 2012 Posts: 129 Location: Djokdja, Indonesia
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Tue Nov 12, 2013 10:23 am Post subject: |
|
|
I forgot to mention, open main.lua file inside CheatEngine, it is a document file (list of CE specific functions and variables).
Don't hesitate to ask questions, me, DaSpamer and others surely can help.
_________________
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25833 Location: The netherlands
|
|
| Back to top |
|
 |
Zaladine Expert Cheater
Reputation: 3
Joined: 14 Oct 2012 Posts: 129 Location: Djokdja, Indonesia
|
|
| Back to top |
|
 |
|