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 


Help on port to vc++

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

Joined: 21 Mar 2008
Posts: 1

PostPosted: Sat Mar 22, 2008 10:16 pm    Post subject: Help on port to vc++ Reply with quote

Hi,
I'v ported the dbk32 to VC++ environment, but when I invoke 'OP' and passes the MapleStory's PID,
the IOCTL_CE_OPENPROCESS failured. Did I missed some steps?? Or how should i do?
thanks.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sun Mar 23, 2008 5:32 am    Post subject: Reply with quote

The initialize part will have to go in the dllmain section. (It's the part where it opens and configures the driver)
_________________
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
disen_lau
How do I cheat?
Reputation: 0

Joined: 21 Mar 2008
Posts: 1

PostPosted: Mon Mar 24, 2008 4:05 am    Post subject: Reply with quote

Dark Byte wrote:
The initialize part will have to go in the dllmain section. (It's the part where it opens and configures the driver)


Yes,i'v done the initializion at the dllmain.
I call the functions as list blow:
SetGlobalDebugState(TRUE);
ProtectMe(GetCurrentProcessId(), TRUE, FALSE, NULL, 0));
OP(PROCESS_ALL_ACCESS, FALSE,MapleID);
It still reply me "ERROR_ACCESS_DENIED"(Obtain by call GetLastError())
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Mar 24, 2008 6:50 am    Post subject: Reply with quote

is the driverhandle you get valid?

Also, my driver doesn't work nice with GetLastError, if it fails it just says Failure, nothing as specific as access denied.
This probably indicates that a earlier function is blocked (deviceiocontrol?)

oh, and I see you target maple, make sure you target it before gg is loaded, else it'll have to use the fake processlist

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source 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