| View previous topic :: View next topic |
| Author |
Message |
Merg How do I cheat?
Reputation: 0
Joined: 31 May 2016 Posts: 4
|
Posted: Tue May 31, 2016 4:31 pm Post subject: Witcher 3 debug console global_game pointer |
|
|
Hello,
A new witcher 3 patch was released and once again messed up the debug console. I've been trying to resolve the issue now for a while, but can't seem to get anywhere.
I've figured out that it's the global_game pointer that does not point anywhere anymore with it's current AOB.
What the mod currently does is:
| Code: |
global_game = hook::pattern("48 8B 05 ? ? ? ? 48 8D 4C 24 48").count(1).get(0).extract<CGame**>(3);
|
So as you can see it reads the AOB and then converts it to a CGame double pointer. The AOB is not valid in this new update.
If anyone know anything about this or can give me advice on how i should approach this problem, then please tell me. I am new to reverse engineering and assembly, so there's a lot of things that i don't understand.
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Tue May 31, 2016 5:43 pm Post subject: |
|
|
Perhaps I misunderstood. If all you're after is the debug console, that's in my table.
I didn't need to update it with this new patch. Maybe this AOB is better:
48 89 05 ? ? ? ? EB 07 48 89 35 ? ? ? ? 48
|
|
| Back to top |
|
 |
Merg How do I cheat?
Reputation: 0
Joined: 31 May 2016 Posts: 4
|
Posted: Tue May 31, 2016 5:57 pm Post subject: |
|
|
You understood it correctly. Since the debug console is written in native C++ and relies on hooks to the game engine, it needs the global game pointer to listen to inputs so that ir can pass valid parameters to the function which enables the debug console.
You probably can't just inject this like you do in CE, it has to run side by side with the game.
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Tue May 31, 2016 7:12 pm Post subject: |
|
|
I remember they started adding more stuff to that addon besides the console.
However, all of the objects and functions related to the debug console are in my table.
If "global_game" is the parameter you pass to the function, then that AOB I posted should work fine.
|
|
| Back to top |
|
 |
|