paul44 Expert Cheater
Reputation: 2
Joined: 20 Jul 2017 Posts: 206
|
Posted: Sat Mar 12, 2022 3:40 am Post subject: Request: getThreadID fn |
|
|
some history:
I'd like to refer to my ACU table here: [ https://fearlessrevolution.com/viewtopic.php?t=12725 ]. The table makes use of a 'antidebug' script (make by #Sunbeam ~ see appropriate link in OP), which basically finds the "offending" threadID and kills it... (see related video for details)
Apart from a few users - mostly related to hyperthreading, or so it seems - this works out pretty well/consistent. Untill...
I now have a user with Win 11, and it fails on him (he did the test on a Win10 laptop, where it runs fine). While i do not support Win11 explicitly, i'm bound to be confronted with it at some time soon ofc...
The request was on my list already, but no priority till now.
2 main reasons for request:
1. no longer need to parcour threadlist (Id changes with every gamelaunch)
2. possible full support for win 11 (and beyond)
Note: it is important that no 'breakpoint' action is involved here (eg: debug_getBreakpointList())
ps: antidebug routine: open Lua Startup script, and find 'KillAntiDebug()' at the bottom. the routine is called from the 2nd (~ red-colored) script...
ps2: did some reading and thought that:
local THREAD_ALL_ACCESS = 0x001FFFFF -- 0x001F03FF
would have been the culprit, but changing to above flag_value made no difference...
oh yeah: [ https://www.cheatengine.org/forum/viewtopic.php?p=5705307&sid=09abf95102eed231f6c7aff3c91ab03d ]
|
|