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 


Driving Cheat Engine 6.2 with AutoIt

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

Joined: 03 Jan 2013
Posts: 37

PostPosted: Thu Jan 03, 2013 7:10 pm    Post subject: Driving Cheat Engine 6.2 with AutoIt Reply with quote

I am using autoitx3.dll/win32ole to drive my computer (mouse clicks, key presses, etc). But as soon as I activate the Cheat Engine window, all of the AutoIt commands stop executing.

My motivation is that I have a huge list of memory addresses and I want to do something with each of them in Cheat Engine. Since CE doesn't have any command line interface (as far as I know), an easy solution is to just code up a small autoit script to loop through the list and CE.

It appears the Cheat Engine is blocking this type of automation (a lot like many games block automation tools). Can anyone make a suggestion as to how I can get this to work?

Thanks!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

Joined: 09 May 2003
Posts: 25987
Location: The netherlands

PostPosted: Thu Jan 03, 2013 7:28 pm    Post subject: Reply with quote

Cheat engine doesn't have a command prompt, but you can make it execute a script and terminate itself, without it ever being shown.

Write your script using lua and ce's functions to modify tables, files, addresses, opening processes, editing memory, etc...
Then when it's working properly (tested it) backup your plaintext .ct file with the lua script, and then save the table using cheat engine with the extention ".cetrainer" (You must backup as .cetrainers can not be reopened for editing)

If you pass a .cetrainer as a command to the cheat engine .exe (or just launch it from the shell, ce registers the .cetrainer extension ) it will execute the script without showing the gui (unless you tell the script to make a gui an show that)

I'm not really actively blocking it, have you tried the 32-bit ce ? (Perhaps autoit sees that the 64-bit version of ce will completely crap out if anything gets hooked)

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
sullx
Cheater
Reputation: 0

Joined: 03 Jan 2013
Posts: 37

PostPosted: Thu Jan 03, 2013 7:38 pm    Post subject: Reply with quote

Ok, thanks for the reply. I will look in to using a lua script. But, currently I am doing a bunch of debugging and would like to use AutoIt to drive some repetitive task in CE. Is there anyway to get it to work? Any idea why it's blocking it?

Thanks
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

Joined: 09 May 2003
Posts: 25987
Location: The netherlands

PostPosted: Thu Jan 03, 2013 7:50 pm    Post subject: Reply with quote

Perhaps you're not running autoit as admin.
Since cheat engine runs as admin the only other programs that can touch cheat engine are those that run as admin as well

Also, a lot of repetitive tasks can be done with lua scripts. And alternatively, the gui can be accessed from lua as well as a last resort

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
sullx
Cheater
Reputation: 0

Joined: 03 Jan 2013
Posts: 37

PostPosted: Thu Jan 03, 2013 9:59 pm    Post subject: Reply with quote

Yes that did it regarding AutoIt. Sorry to have not tried that. But I am happy to know about Lua as it is certainly more robust.
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 Discussions 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