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 Dev C++

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
hack0535
Cheater
Reputation: 2

Joined: 16 Oct 2011
Posts: 28

PostPosted: Sat Feb 04, 2012 5:05 am    Post subject: Help Dev C++ Reply with quote

Dark Byte Can you give some example of

D3d hook using dev????
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sat Feb 04, 2012 5:48 am    Post subject: Reply with quote

Not sure what you mean.
do you mean inject the d3d hook base dll into the game and controlling it with your own app written in dev c++ ?

It's not really that easy to do without your app actually being ce itself, but I'll try to explain

First create a shared memory object that is build up using this:
http://code.google.com/p/cheat-engine/source/browse/trunk/Cheat%20Engine/Direct%20x%20mess/d3dhookshared.h

Fill in the cheatenginedir (must point to the location of the dx hook dll's)

Create the named event "CED3D_(processid)_READY" (replace processid with the processid of the target process)
Now inject the dll and wait for the event you created to be signaled

Read out the shared memory object which has now been filled in and hook the code at the addresses provided so they point to the required location, and also build a "jumpback" routine to call the original unedited function.

That's all there is to it...

(in short, it might be easier to just start from scratch yourself)

_________________
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
hack0535
Cheater
Reputation: 2

Joined: 16 Oct 2011
Posts: 28

PostPosted: Sat Feb 04, 2012 8:39 pm    Post subject: Reply with quote

Thank you !!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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