| View previous topic :: View next topic |
| Author |
Message |
HSergi Newbie cheater
Reputation: 0
Joined: 17 Dec 2017 Posts: 22
|
Posted: Wed Feb 21, 2024 10:40 am Post subject: Game crash when any breakpoint is hit |
|
|
The game is Tekken 8. I think developers incorporated some anti-debugging technique: there's no anti-cheat, they just built something themselves. They have been incorporating some anti-reversing techniques for a few years now: so far it was just encrypting specific fields so they're harder to find.
But now I can't breakpoint anywhere. No matter what breakpoint I put: access, write or execution, and no matter where: either in the game's code/data, or even when I put the breakpoint in my own dll and I attach Visual's Studio debugger, once the breakpoint is hit, the game crashes immediately.
What I noticed is that memory in the game module is marked as execute/read/copy on write for code. Changing the permission to read/write/execute in the whole process has no effect: once the breakpoint is hit, it crashes.
Scanning/reading/writing game module's memory works. dll injection also works.
My guess it's some function call at game start that makes the system notify the game when the breakpoint is hit and then it just exist immediately. But at the moment I don't know which. I am going to google it and see what I can do, but maybe you guys here have a good idea what it is from just reading the description, any suggestions on what to check are appreciated.
Going to post if I find the solution and manage to fix it.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25835 Location: The netherlands
|
Posted: Wed Feb 21, 2024 11:14 am Post subject: |
|
|
Have you tried the other debugger interfaces like veh debug or dbvm level ?
_________________
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 |
|
 |
HSergi Newbie cheater
Reputation: 0
Joined: 17 Dec 2017 Posts: 22
|
Posted: Wed Feb 21, 2024 11:29 am Post subject: |
|
|
| Dark Byte wrote: | | Have you tried the other debugger interfaces like veh debug or dbvm level ? |
I just tried it. The veh debugger works. And then I switched back to Windows debugger, restarted CE and the game crashed when I hit the same breakpoint: gamemode's tick function.
That's great that I can breakpoint in Cheat Engine. Thank you very much, I should've tried this right away.
Any suggestions on how to attach Visual Studio's debugger, so I can debug my own code?
|
|
| Back to top |
|
 |
|