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 


injectable dll

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

Joined: 05 Sep 2006
Posts: 378
Location: The pizza country!

PostPosted: Wed Nov 29, 2006 7:41 am    Post subject: injectable dll Reply with quote

so a basic injectable dll should be like this
Code:

#include <windows.h>
#include <stdio.h>

BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD nReason, LPVOID pReserved)
{
   DWORD nThread=0;
   if(nReason == DLL_PROCESS_ATTACH)//on attach start the thread
   {
         //call to userdefined functions
   }
   if(nReason == DLL_PROCESS_DETACH)//on detach kill it
   {
   }
   return TRUE;
}


but how do you make it shows some text into the injected game? (tried cout but doesn't work)
And how do you edit memory or call ingame functions?

I'm a newbie in that arg so i would learn something Very Happy
Back to top
View user's profile Send private message
Grytolle
How do I cheat?
Reputation: 0

Joined: 27 Nov 2006
Posts: 6

PostPosted: Fri Dec 01, 2006 9:08 am    Post subject: Reply with quote

..then you must find whatever function shows text in the game and call it using the correct parameters! =D
Back to top
View user's profile Send private message
Bepetemish
Grandmaster Cheater
Reputation: 0

Joined: 12 Apr 2006
Posts: 564
Location: The Netherlands, GreenMile

PostPosted: Fri Dec 01, 2006 9:28 am    Post subject: Reply with quote

a good thing to do is making a dll with hax.
Then you add as extra your name, you can find the adresses with CE searching for text, or use a debugger.

Now when they start the game and it needs to load, most games got plane text in the upper left en below right corner. This can be changed to your name.

Now everyone knows this dll is made by you, i do this because i can't put my name anywhere on the dll like you do with a trainer Very Happy

_________________
CE Forum is so much fun ;D
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