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 


Showing trainer in full screen program?

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

Joined: 20 Mar 2011
Posts: 16

PostPosted: Fri Apr 15, 2011 10:38 am    Post subject: Showing trainer in full screen program? Reply with quote

What's the best way to go about this then? Do I have to use a directx hook to force draw?
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Apr 15, 2011 11:28 am    Post subject: Reply with quote

Hook the renderer, whatever API that is.
Back to top
View user's profile Send private message
pkedpker
Master Cheater
Reputation: 1

Joined: 11 Oct 2006
Posts: 412

PostPosted: Tue Apr 19, 2011 10:53 pm    Post subject: Reply with quote

easiest would be to use gdi32 library it would work for all games.

although it's easy to use gdi32 to draw stuff on screen using hwnd, it's software accelerated and is much slower then DirectX.

I posted good code somewhere in this section how to draw Text in any game u want you can also use it to draw images via loading them into BITMAP.

Plus GDI32 isn't only limited to C++ you can do it much easier in C#/VB.NET because of all the stuff wrapped around GDI32 which makes it easier.

Only problem is GDI32 will force you to draw the text/image based when you want too.. if you draw like 500 times a second it may lag your computer/game. if you draw 1 time a second it may be flickering (disappear for a couple of milliseconds then reappearing). To fix this you have to the the proper redraw time for your computer.. it may not be suitable for other computers..

But hooking directX's redraw function will be much more accurate as your using the games redrawer and will be stable on all computers.. much harder and some games are protected against this.. with GameGuard/driver etc..

_________________
Hacks I made for kongregate.
Kongregate Universal Badge Hack: http://forum.cheatengine.org/viewtopic.php?p=4129411
Kongreate Auto Rating/Voter hack: http://forum.cheatengine.org/viewtopic.php?t=263576
Took a test lol
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 programming 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