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 


Close thread please
Goto page Previous  1, 2
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sun Jul 06, 2008 6:24 pm    Post subject: Reply with quote

mrkrishan wrote:
No I mean like I see thiers, then I learn from it like if I see a few different sources and study them then I can make one from scratch.


Like I have already stated, it provides a better understanding if you do it from scratch.

In other words: DO YOUR OWN RESEARCH.
Back to top
View user's profile Send private message
Hieroglyphics
I post too much
Reputation: 0

Joined: 06 Dec 2007
Posts: 2007
Location: Your bedroom

PostPosted: Sun Jul 06, 2008 7:19 pm    Post subject: Reply with quote

But I CANTTTTTT I fall asleep lol =]
_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Sun Jul 06, 2008 7:21 pm    Post subject: Reply with quote

You are never going to learn if you can't do things on your own.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Hieroglyphics
I post too much
Reputation: 0

Joined: 06 Dec 2007
Posts: 2007
Location: Your bedroom

PostPosted: Sun Jul 06, 2008 7:22 pm    Post subject: Reply with quote

I tried reading your tut actually and it looked really good. But I can only stare at it...Or I am ok if ppl teach me on msn or sumthing
_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Sun Jul 06, 2008 7:57 pm    Post subject: Reply with quote

mrkrishan wrote:
Ok so samuri I am looking over that so tell me if I am right:

Code:
#define ADDRESS 0x00000000 //Hack Adress


Yes

mrkrishan wrote:
Code:
*pbAddr = 0xe8;//Byte for the enable


No. 0xe8 is the first byte for a jmp instruction.

mrkrishan wrote:
Code:
for( int i = 1; i <= 4; i++ ) *(pbAddr+i) = 00;//I am guessing the i = 1 means that there is 1 byte so you change if you have more. And what is the 00 for?


No. The assembly for "jmp 00000000" is "e8 00 00 00 00". The code up there is the same as saying

Code:

*(pbAddr+1) = 00;
*(pbAddr+2) = 00;
*(pbAddr+3) = 00;
*(pbAddr+4) = 00;


You should try learning the language.

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
Back to top
View user's profile Send private message
Hieroglyphics
I post too much
Reputation: 0

Joined: 06 Dec 2007
Posts: 2007
Location: Your bedroom

PostPosted: Sun Jul 06, 2008 8:01 pm    Post subject: Reply with quote

Ok so

Code:
for( int i = 1; i <= 4; i++ ) *(pbAddr+i) = 00;


I get that the 4 means 4 of em now so say would this work?

Code:
for( int i = 2; i <= 2; i++ ) *(pbAddr+i) = 00;



And I mean

Code:
*pbAddr = 0xe8;//Byte for the enable


For the enable SECTION so that would be jmp right and say if I wanted it to jmp 000000 it would be what you said right like:


Code:
*pbAddr = 0xe8;
for( int i = 1; i <= 4; i++ ) *(pbAddr+i) = 00;



And This is how I learn...I can only learn directly from a person or from a source. I can't read long tuts or books without help and stuff.

_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
Chaosis13
Master Cheater
Reputation: 0

Joined: 14 Aug 2007
Posts: 372

PostPosted: Sun Jul 06, 2008 8:56 pm    Post subject: Reply with quote

If you can't do your own research you must not want to make DLL's badly. I have been reserching for the past 3 days non-stop. (-12 hours of Gears, my friend made me come over) =)

But if you want to make a dll that doesn't suck ass, you need to learn C++. Get a book like I said, it really will make you smarter. And it is fun. =)
Back to top
View user's profile Send private message
Hieroglyphics
I post too much
Reputation: 0

Joined: 06 Dec 2007
Posts: 2007
Location: Your bedroom

PostPosted: Sun Jul 06, 2008 10:50 pm    Post subject: Reply with quote

I told you I can't read that shit it's too boring I fall asleep.

Btw here is my new analysis:


Code:
#define WIN32_LEAN_AND_MEAN //Includes
#include <windows.h> //Includes
#pragma comment(linker, "/ENTRY:DllMain") //Includes

#define ADDRESS 0x00000000 //Adress of the hack

BOOL bWantsExit = FALSE;
BOOL bSet = FALSE;

DWORD WINAPI MonitorHotKeys() //Just a statement for the hotkey I think
{
   BYTE *pbAddr = (BYTE *)ADDRESS; //Statement showing the format of the byte coding is my guess

   while( !bWantsExit )
   {
      if( GetAsyncKeyState( VK_F12 )&1 ) //I am guessing I have to press F12 for the hacks to turn on and off?
      {
         if( !bSet ) { //If it is pressed for first time
             *pbAddr = 0xe8; //the jmp in the enable section
             for( int i = 1; i <= 4; i++ ) *(pbAddr+i) = 00; //4 00 bytes following it
         }
         else { //If the above is not on
             *pbAddr = 0x75//jne byte code here
             for( int i = 1; i <= 4; i++ ) *(pbAddr+i) = 00; //4 00 bytes following it
         }
      }
      Sleep( 100 );
   }
   return 0; //Just end
}
//No IDEA anything under
BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwMsg, LPVOID lpReserved)
{
   UNREFERENCED_PARAMETER( hModule );
   UNREFERENCED_PARAMETER( lpReserved );

   switch( dwMsg )
   {
   case DLL_PROCESS_ATTACH:
      DisableThreadLibraryCalls( hModule );
      CreateThread( NULL, 0, (LPTHREAD_START_ROUTINE)MonitorHotKeys, NULL, 0, 0 );
      return TRUE;
   case DLL_PROCESS_DETACH:
      bWantsExit = TRUE;
      return TRUE;
   }
   return TRUE;
}



Can somebody tell me what kind of project I would make this in? Like C++ but when you do new project which type?

_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
BirdsEye
Advanced Cheater
Reputation: 0

Joined: 05 Apr 2008
Posts: 94

PostPosted: Mon Jul 07, 2008 10:42 am    Post subject: Reply with quote

mrkrishan wrote:
I told you I can't read that shit it's too boring I fall asleep.

Btw here is my new analysis:


Code:
#define WIN32_LEAN_AND_MEAN //Includes
#include <windows.h> //Includes
#pragma comment(linker, "/ENTRY:DllMain") //Includes

#define ADDRESS 0x00000000 //Adress of the hack

BOOL bWantsExit = FALSE;
BOOL bSet = FALSE;

DWORD WINAPI MonitorHotKeys() //Just a statement for the hotkey I think
{
   BYTE *pbAddr = (BYTE *)ADDRESS; //Statement showing the format of the byte coding is my guess

   while( !bWantsExit )
   {
      if( GetAsyncKeyState( VK_F12 )&1 ) //I am guessing I have to press F12 for the hacks to turn on and off?
      {
         if( !bSet ) { //If it is pressed for first time
             *pbAddr = 0xe8; //the jmp in the enable section
             for( int i = 1; i <= 4; i++ ) *(pbAddr+i) = 00; //4 00 bytes following it
         }
         else { //If the above is not on
             *pbAddr = 0x75//jne byte code here
             for( int i = 1; i <= 4; i++ ) *(pbAddr+i) = 00; //4 00 bytes following it
         }
      }
      Sleep( 100 );
   }
   return 0; //Just end
}
//No IDEA anything under
BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwMsg, LPVOID lpReserved)
{
   UNREFERENCED_PARAMETER( hModule );
   UNREFERENCED_PARAMETER( lpReserved );

   switch( dwMsg )
   {
   case DLL_PROCESS_ATTACH:
      DisableThreadLibraryCalls( hModule );
      CreateThread( NULL, 0, (LPTHREAD_START_ROUTINE)MonitorHotKeys, NULL, 0, 0 );
      return TRUE;
   case DLL_PROCESS_DETACH:
      bWantsExit = TRUE;
      return TRUE;
   }
   return TRUE;
}



Can somebody tell me what kind of project I would make this in? Like C++ but when you do new project which type?


The easiest way would be to choose Win32 Project under Win32. After you select next, tick the options 'DLL' and 'Empty Project.' Choose finish. Now under the 'Source Files' folder, add a new *.CPP file named 'main' or whatever you want. That's where all your code will go. Simple as that.
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Mon Jul 07, 2008 1:05 pm    Post subject: Reply with quote

mrkrishan wrote:
I told you I can't read that shit it's too boring I fall asleep.


This is by far the worst fucking attitude anyone could have.
I got pissed off just by reading this comment you lazy piece of shit.

If you really want to program you just cant get people to do it for you and expect to learn. If you cant read anything about it then you don't deserve to code.

Give up if thats your attitude.

_________________
Back to top
View user's profile Send private message
Hieroglyphics
I post too much
Reputation: 0

Joined: 06 Dec 2007
Posts: 2007
Location: Your bedroom

PostPosted: Mon Jul 07, 2008 1:11 pm    Post subject: Reply with quote

Ok sorry, but I learn alot better off of other peoples sources I find it less boring to analyze or study those than read books, because I am not the type that can stick to that stuff. I may be able to later though, before I wouldn't even look at sources, now I am trying to get my act together.
_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
benlue
Moderator
Reputation: 0

Joined: 09 Oct 2006
Posts: 2142

PostPosted: Mon Jul 07, 2008 9:47 pm    Post subject: Reply with quote

Locked upon request.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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