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 


Cheat Engine Forum Index
PostGo back to topic
Dark Byte
Site Admin
Reputation: 458
Joined: 09 May 2003
Posts: 25296
Location: The netherlands

PostPosted: Mon Jan 10, 2011 5:36 pm    Post subject: auto attach to process

The following script will auto attach cheat engine to the Tutorial process.
You can change it to any other process you like and put it in the Lua section of your cheat table so when your table is loaded it will automatically open the correct process

Code:

aalist=getAutoAttachList()
stringlist_add(aalist,"Tutorial-i386.exe");


Alternatively, you could do
Code:

OpenProcess("Tutorial-i386.exe")

But that will only work when the game has already been started as oposed to the autoattach which will also attach when the game has not yet been started.

There can be a max delay of 2 seconds between adding the item to the list or openening of the process and ce attaching to the process
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Post reviews:   Approve 1
Author Review
Jorg hi
Review: Approve
Post reference:
ReviewPosted: Mon Jan 10, 2011 6:33 pm

If only this was made 3 months ago..
Back to top
View user's profile Send private message
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites