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 1, 2  Next
 
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
Hieroglyphics
I post too much
Reputation: 0

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

PostPosted: Sun Jul 06, 2008 1:17 pm    Post subject: Close thread please Reply with quote

Close please
_________________



Last edited by Hieroglyphics on Mon Jul 07, 2008 3:27 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address MSN Messenger
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sun Jul 06, 2008 1:33 pm    Post subject: Reply with quote

Code:

#include <windows.h>
#define MAX_HEALTH 100

BOOL bExit = FALSE;

void GodMode() {
   do {
      DWORD *health = 0xDEADBEEF;
      *health = MAX_HEALTH;
   } while(bExit == FALSE);
   ExitThread(0);
}

BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) {
   switch(fdwReason) {
      case DLL_PROCESS_ATTACH:
         CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)GodMode, NULL, 0);
      case DLL_PROCESS_DETACH:
         bExit = TRUE;
   }
}

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing


Last edited by oib111 on Sun Jul 06, 2008 1:38 pm; edited 2 times in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Hieroglyphics
I post too much
Reputation: 0

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

PostPosted: Sun Jul 06, 2008 1:36 pm    Post subject: Reply with quote

Thanks, but I need it to be like a script and I need a full source folder download please. But thanks for the help!
_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sun Jul 06, 2008 1:38 pm    Post subject: Reply with quote

What do you mean a script? Like an Auto-Assembly script?
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Hieroglyphics
I post too much
Reputation: 0

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

PostPosted: Sun Jul 06, 2008 1:40 pm    Post subject: Reply with quote

Yeah like for example

Code:

[enable]
000000:
jmp 000000
[disable]
000000:
jne 000000

_________________

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 2:03 pm    Post subject: Reply with quote

I am making a guide, but microsoft keeps bitching at me. I hope I can fix the problems today, for today or tomarrow...
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

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

PostPosted: Sun Jul 06, 2008 2:14 pm    Post subject: Reply with quote

You should try to do this yourself (even if you "aren't good at this", it sounds like, to me, that you just want to get spoonfed... I've got nothing better to do though

If you look down in his thread, there's an example of changing the assembly

Code:

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

#define ADDRESS 0x00000000

BOOL bWantsExit = FALSE;
BOOL bSet = FALSE;

DWORD WINAPI MonitorHotKeys()
{
   BYTE *pbAddr = (BYTE *)ADDRESS;

   while( !bWantsExit )
   {
      if( GetAsyncKeyState( VK_F12 )&1 )
      {
         if( !bSet ) {
             *pbAddr = 0xe8;
             for( int i = 1; i <= 4; i++ ) *(pbAddr+i) = 00;
         }
         else {
             *pbAddr = //jne byte code here
             for( int i = 1; i <= 4; i++ ) *(pbAddr+i) = 00;
         }
      }
      Sleep( 100 );
   }
   return 0;
}

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;
}


I think that'll work. Haven't tested it though.

_________________
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
Chaosis13
Master Cheater
Reputation: 0

Joined: 14 Aug 2007
Posts: 372

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

MICROSOFT STOPED BITCHING AT ME! I will have my guide up tomrrow, unless my mom gets angry from me programming too much. lol
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 3:38 pm    Post subject: Reply with quote

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

Code:
#define ADDRESS 0x00000000 //Hack Adress


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



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?



Now, but I am really noob at this so do you mine supplying me with like an sln example file or something. I don't know the things that go in the header and resource and all that. Yes I am nub... I am somewhat getting spoon fed. But I am trying to learn off of this as well. This will probably just be for personal use anyways.

_________________

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 5:55 pm    Post subject: Reply with quote

And no1 wants to help someone who will just use it for personal uses. But from what I am understanding, you need to read a C++ book; not just small online tut's. (Even if that is how I learned AS2, books are better.)

But he also didn't explain it the best, wait for my tut. But dont expect spoon feeding.
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 5:58 pm    Post subject: Reply with quote

I tried, but I don't learn good from books, because I just don't read I fall asleep, but I learn pretty well off of sources. Like I have learned quite alot off of Dark Walk's Private Server Trainer source code, along with Spawnfestis's old GO trainer source and Renko's bot source.
_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

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

Learn the language before you try and get people to spoon feed you code.
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 6:08 pm    Post subject: Reply with quote

That is how I learn though. I learn from other people's sources...
_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

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

mrkrishan wrote:
That is how I learn though. I learn from other people's sources...


You aren't learning, it's obvious you are just taking them and modifying them for your own needs.

Do it from scratch, it provides a better understanding.
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 6:19 pm    Post subject: Reply with quote

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.
_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
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 1, 2  Next
Page 1 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