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 


Hooking

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Hansmoleman
Newbie cheater
Reputation: 0

Joined: 20 Mar 2011
Posts: 16

PostPosted: Sun Mar 20, 2011 6:39 am    Post subject: Hooking Reply with quote

What is achtually achievable from hooking in game hacking terms?

Can I modify processes and functions which the game uses?

I'm currently using delphi so what's a good start? MadCodeHook?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Sun Mar 20, 2011 9:28 am    Post subject: Re: Hooking Reply with quote

Hansmoleman wrote:
What is achtually achievable from hooking in game hacking terms?

Can I modify processes and functions which the game uses?

I'm currently using delphi so what's a good start? MadCodeHook?


You can completely take over the applications flow. Depending on how you hook the functions and alter the API you can completely redo an application to do entirely different things that what it was originally meant to be.

The main purposes of hooking is typically to either:
A. Alter the flow of a function to obtain desired results.
B. Obtain data from the function that is needed for other purposes.
C. Skew the results/return of a function in order to obtain a desired effect.

Depending on what you are hooking you can land up with various purposes. A common hooking purpose is faking API results to either bypass anti-cheats, bypass debugger checks, or to fake results in order to have an application do something it shouldn't.

Other common purposes are things like OpenGL / Direct3D hooks to do things such as wall hacks, ESP, and so on.

madCHook isn't free anymore and the license on it got fairly ridiculous. I used it back when it was free (C/C++ version) which it was nice but it wasn't worth the money upgrade to use it after he went private with it. You should be able to find alternatives though fairly easy or write your own, hooking isn't secret information.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Hansmoleman
Newbie cheater
Reputation: 0

Joined: 20 Mar 2011
Posts: 16

PostPosted: Mon Mar 21, 2011 5:24 am    Post subject: Reply with quote

Thanks for the reply Smile

So is it only possible to modify functions and results of functions or can you modify processes aswell?

Edit - Also any possible way of showing a game trainer withn a full screen game without hooking directx?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Mon Mar 21, 2011 7:15 am    Post subject: Reply with quote

Hansmoleman wrote:
Thanks for the reply Smile

So is it only possible to modify functions and results of functions or can you modify processes aswell?


Editing functions and modifying results is editing a process, it depends on how you are hooking. What are you attempting to do by 'modifying processes'?

Hansmoleman wrote:
Edit - Also any possible way of showing a game trainer withn a full screen game without hooking directx?


In some method or fashion you could probably force draw to the hardware which in turn would probably lead up to flickering of your info and the game fighting for priority on the buffer since fullscreen applications take exclusive access to the card. You're better off hooking if you want to draw on top of the game.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Hansmoleman
Newbie cheater
Reputation: 0

Joined: 20 Mar 2011
Posts: 16

PostPosted: Sat Apr 09, 2011 2:23 am    Post subject: Reply with quote

Wiccaan wrote:
Hansmoleman wrote:
Thanks for the reply Smile

So is it only possible to modify functions and results of functions or can you modify processes aswell?


Editing functions and modifying results is editing a process, it depends on how you are hooking. What are you attempting to do by 'modifying processes'?

Hansmoleman wrote:
Edit - Also any possible way of showing a game trainer withn a full screen game without hooking directx?


In some method or fashion you could probably force draw to the hardware which in turn would probably lead up to flickering of your info and the game fighting for priority on the buffer since fullscreen applications take exclusive access to the card. You're better off hooking if you want to draw on top of the game.


Well yeah I brought it to the front of the game but when I clicked anything it would effectivly alt + tab.

As for editing processes, I don't mean changing the function result in a process, I was thinking more like changing what it does for example sending a data packet twice rather than once or is this not possible?
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