View previous topic :: View next topic |
Author |
Message |
Hatschi Master Cheater
Reputation: 2
Joined: 28 Jan 2010 Posts: 327
|
Posted: Tue Jul 09, 2013 6:52 am Post subject: After steam update - Attaching the debugger crashes the game |
|
|
I'm using VEH debugger and it has worked all the time. After the steam update released today, all of my games (no matter of third party or indie title) crashes after attaching the debugger.
Tested on:
Borderlands 2
Strike Suit Infinity
Torchlight 2
and many more.
Anyone can confirm this or found a workaround?
This was for sure not a problem before I've applied the update.
|
|
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 Jul 09, 2013 7:19 am Post subject: |
|
|
more details:
which OS?
architecture?
which CE? CE6.2 or CE6.3 ?
_________________
|
|
Back to top |
|
 |
Hatschi Master Cheater
Reputation: 2
Joined: 28 Jan 2010 Posts: 327
|
Posted: Tue Jul 09, 2013 7:41 am Post subject: |
|
|
Sorry,
Windows 8 64 Bit
UAC disabled due to registry
Administrator account
CheatEngine 6.3
Yesterday it worked flawless, nothing has changed. No reboot, just applying the steam update and it crashes now.
I got the error saying that CE can't attach the debugger and the games just crash.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25792 Location: The netherlands
|
Posted: Tue Jul 09, 2013 8:39 am Post subject: |
|
|
Looks like loadlibrary is hooked
Code: |
kernel32.LoadLibraryA:
mov edi,edi
push ebp
mov ebp,esp
|
will fix it for now
_________________
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 |
|
 |
Hatschi Master Cheater
Reputation: 2
Joined: 28 Jan 2010 Posts: 327
|
Posted: Tue Jul 09, 2013 8:43 am Post subject: |
|
|
How do I apply this?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25792 Location: The netherlands
|
Posted: Tue Jul 09, 2013 8:44 am Post subject: |
|
|
execute that script in the target game before attaching the debugger (or adjust ce's injectdll function to jump over those first 5 bytes)
_________________
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 |
|
 |
Hatschi Master Cheater
Reputation: 2
Joined: 28 Jan 2010 Posts: 327
|
Posted: Tue Jul 09, 2013 8:59 am Post subject: |
|
|
Memory Viewer - Tools - Lua Engine -> 2th Textbox -> Execute ?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25792 Location: The netherlands
|
Posted: Tue Jul 09, 2013 9:01 am Post subject: |
|
|
Auto assembler
_________________
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 |
|
 |
kl0wn Cheater
Reputation: 2
Joined: 09 Jun 2013 Posts: 36
|
Posted: Tue Jul 09, 2013 9:02 am Post subject: |
|
|
I'm guessing this probably isn't an anti debugging technique?
Patch notes: http ://store.steampowered dot com/news/11052/
Last edited by kl0wn on Tue Jul 09, 2013 9:13 am; edited 1 time in total |
|
Back to top |
|
 |
Hatschi Master Cheater
Reputation: 2
Joined: 28 Jan 2010 Posts: 327
|
Posted: Tue Jul 09, 2013 9:08 am Post subject: |
|
|
@Dark Byte: Awesome, it's working again. But I would also like to know if this is a protection or something else.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25792 Location: The netherlands
|
Posted: Tue Jul 09, 2013 9:22 am Post subject: |
|
|
It‘s a protection against the most simple type of dll injection
_________________
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 |
|
 |
Hatschi Master Cheater
Reputation: 2
Joined: 28 Jan 2010 Posts: 327
|
Posted: Tue Jul 09, 2013 9:35 am Post subject: |
|
|
Will you add a static fix in the next SVN build?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25792 Location: The netherlands
|
Posted: Tue Jul 09, 2013 9:56 am Post subject: |
|
|
I doubt it, but perhaps I publish a lua script people can put in their autorun folder that autopatches it, or overrides the symbol for loadlibrarya to a prebuild trampoline, or fix the forcedinjection dll for 6.2 so it works in 6.3 as well
_________________
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 |
|
 |
Hatschi Master Cheater
Reputation: 2
Joined: 28 Jan 2010 Posts: 327
|
Posted: Tue Jul 09, 2013 10:01 am Post subject: |
|
|
Any possible way would be appreciated as it's really annoying if you work on steam games and you need to copy&paste the script all the time you want to attach the debugger.
Thank you Dark Byte.
|
|
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 Jul 09, 2013 10:51 am Post subject: |
|
|
So, for now the best thing we can do is this:
Code: | function onOpenProcess()
fixLoadLibrary = [[
kernel32.LoadLibraryA:
mov edi,edi
push ebp
mov ebp,esp
]]
autoAssemble(fixLoadLibrary)
end |
_________________
|
|
Back to top |
|
 |
|