| View previous topic :: View next topic |
| Author |
Message |
Telecide Cheater
Reputation: 0
Joined: 30 Sep 2012 Posts: 42
|
Posted: Tue Sep 17, 2013 1:13 am Post subject: Using Game Code to Set Memory Addresses |
|
|
Hi there. So I was wondering. Is there any way to read the value of register at a specific point in the game code's execution and then use that and an offset to populate a table entry. That would be pretty cool.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25835 Location: The netherlands
|
Posted: Tue Sep 17, 2013 3:09 am Post subject: |
|
|
Use code injection at that code to get the registers and then use lua to fill in the address list
_________________
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 |
|
 |
Telecide Cheater
Reputation: 0
Joined: 30 Sep 2012 Posts: 42
|
Posted: Tue Sep 17, 2013 3:12 am Post subject: |
|
|
Awesome! Thanks! Now I just have to figure out how to use lua.
|
|
| Back to top |
|
 |
TsTg Master Cheater
Reputation: 5
Joined: 12 Dec 2012 Posts: 340 Location: Somewhere....
|
Posted: Tue Sep 17, 2013 4:43 am Post subject: |
|
|
| you don't need lua in this, with an auto assembler script, just inject a jmp xxxxxx in the instruction, and in the code cave, put the original code, with the register modification you want.
|
|
| Back to top |
|
 |
Telecide Cheater
Reputation: 0
Joined: 30 Sep 2012 Posts: 42
|
Posted: Tue Sep 17, 2013 4:10 pm Post subject: |
|
|
| Thanks. Yeah, I thought it would be it would be a good way to populate an address list rather than mess around with pointers. Also, I'm still trying to understand what the numbers are and the lack of windowed mode in the game makes debugging difficult.
|
|
| Back to top |
|
 |
|