Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How does cheat engine obtain handles?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source -> Plugin development
View previous topic :: View next topic  
Author Message
tgst
How do I cheat?
Reputation: 0

Joined: 06 Dec 2021
Posts: 2

PostPosted: Mon Dec 06, 2021 3:32 am    Post subject: How does cheat engine obtain handles? Reply with quote

I've made a plugin to allow cheat engine to open handles to a game protected by a AC. My plugin hooks openprocess and open thread to implement my method, yet it doesn't work, and the handles are stripped. My method works with other memory scanners such as reclass, and I've decided that it has to be cheat engine because when I cripple said AC's Callbacks, cheat engine can open handles and works fine, which leads me to believe that cheat engine is opening handles in another way. Does it go through ntdll directly? Does it have its own syscalls?

Right now Im just using the pointers made available in the ExportedFunctions structure.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Mon Dec 06, 2021 6:43 am    Post subject: Reply with quote

Use the pointers exposed in ExportedFunctions, but also keep in mind that going to settings and closing it will undo all changes (there is an api notification that lets you know when that happens)
_________________
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
View user's profile Send private message MSN Messenger
tgst
How do I cheat?
Reputation: 0

Joined: 06 Dec 2021
Posts: 2

PostPosted: Mon Dec 06, 2021 9:53 am    Post subject: Reply with quote

I think that was my issue, I didnt realize it resets when you go into settings.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source -> Plugin development All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites