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 


[HELP] Making CE Auto attach to a certain game

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

Joined: 06 Dec 2006
Posts: 16

PostPosted: Tue Sep 04, 2007 4:18 pm    Post subject: [HELP] Making CE Auto attach to a certain game Reply with quote

Topic sais most of it, this will be my first time doing any work on CE other then using it to hack.
Any help would be great, since im pretty much a complete noob at it.

_________________
"Suicide is man's way of telling god "You cant fire me, I quit."
Back to top
View user's profile Send private message MSN Messenger
Lorrenzo
Moderator
Reputation: 4

Joined: 02 Jun 2006
Posts: 3744

PostPosted: Tue Sep 04, 2007 5:00 pm    Post subject: Reply with quote

I don't know how, but I have seen many topics on how to do it.
I'm sure if you search a little you find something.
Back to top
View user's profile Send private message
sryno125
Newbie cheater
Reputation: 0

Joined: 06 Dec 2006
Posts: 16

PostPosted: Tue Sep 04, 2007 5:56 pm    Post subject: Reply with quote

Believe me, I have tried. Search is down atm -_-
_________________
"Suicide is man's way of telling god "You cant fire me, I quit."
Back to top
View user's profile Send private message MSN Messenger
Michel
Expert Cheater
Reputation: 0

Joined: 16 May 2007
Posts: 214
Location: The Netherlands

PostPosted: Wed Sep 05, 2007 7:54 am    Post subject: Reply with quote

1) First you need to know how to add a button to the main gui, if you don't know how to do it search around and theres a tut about this.
2) Then you have to open mainunit and add this code to the button click procedure(if shellapi is not on your use list add it)


Code:
ShellExecute(Handle, 'open','c:\Program Files\MapleStory\MapleStory.exe', nil, nil, SW_SHOWNORMAL) ;
if frmprocesswatcher=nil then
    frmprocesswatcher:=tfrmprocesswatcher.Create(mainform);
  modalresult:=mrcancel;



If maple doesn't launch you can try the modified verison of this code posted by zenos

Code:
{$ifndef net}
ShellExecute(Handle, 'open','C:\Program Files\Wizet\MapleStory\MapleStory.exe', nil, nil, SW_SHOWNORMAL) ;
if frmprocesswatcher=nil then
    frmprocesswatcher:=tfrmprocesswatcher.Create(mainform);
 modalresult:=mrcancel;
{$endif}


3) Now you go to the view menu and then proyect manager
4) Go down the list until you find frmProcessWatcherUnit and double click on it
5) Once on frmProcessWatcherUnit look for this procedure


Code:
procedure Tprocesswatchthread.Updatelist2;



and then go down until you find this:


Code:
try
          if whatever38(peprocess,processname,16)=-1 then
            tvprocesslist.items.Add(nil,IntToHex(self.pid,8)+' ('+IntToHex(self.peprocess,8)+') - ??? (0)')
          else
            tvprocesslist.items.Add(nil,IntToHex(self.pid,8)+' ('+IntToHex(self.peprocess,8)+') - '+processname+' (0)');


just change the whatever38 to your custom strings
6) Below that code add these lines

Code:
if processname ='MapleStory.exe' then
            begin
              pwop(IntToHex(self.pid,8));
              MainForm.ProcessLabel.caption:=IntToHex(self.pid,8)+' ('+IntToHex(self.peprocess,8)+') - '+processname+' (0)';
              mainform.enableGui;
              close;
            end;
 

7)Now check that the code looks like this

Code:
try
          if whatever38(peprocess,processname,16)=-1 then
            tvprocesslist.items.Add(nil,IntToHex(self.pid,8)+' ('+IntToHex(self.peprocess,8)+') - ??? (0)')
          else
            tvprocesslist.items.Add(nil,IntToHex(self.pid,8)+' ('+IntToHex(self.peprocess,8)+') - '+processname+' (0)');
            if processname ='MapleStory.exe' then
            begin
              pwop(IntToHex(self.pid,8));
              MainForm.ProcessLabel.caption:=IntToHex(self.pid,8)+' ('+IntToHex(self.peprocess,8)+') - '+processname+' (0)';
              mainform.enableGui;
              close;
            end;

        finally
          freemem(processname);
 

8 ) compile and when you hit that button maplestory will launch and it will auto-attach.





Credits to aleara.

There ya go..
Back to top
View user's profile Send private message
sryno125
Newbie cheater
Reputation: 0

Joined: 06 Dec 2006
Posts: 16

PostPosted: Wed Sep 05, 2007 2:00 pm    Post subject: Reply with quote

2nd Edit:
Thanks, im working on it now

_________________
"Suicide is man's way of telling god "You cant fire me, I quit."
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source 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