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 


Mimic Cheat engine search in a script

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
cripcelot
How do I cheat?
Reputation: 0

Joined: 30 Mar 2015
Posts: 4
Location: TN USA

PostPosted: Wed Jul 22, 2015 9:40 pm    Post subject: Mimic Cheat engine search in a script Reply with quote

I want to find a certain string in memory without having to open the lua thing in cheat engine... I am using a AutoHotkey script and just want to be able to call something that will let me know if a string was found in memory, I would guess somehow utliizing Cheat Engine already having the process open? Hope this makes sense.

EDIT: I guess I may be asking how to call and utilize the results of memscan_firstScan externally.

_________________
CEng Noob.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Jul 23, 2015 10:16 am    Post subject: Reply with quote

You can create Lua scripts and assign whatever hotkey you want to them.
Code:
[ENABLE]
{$lua}
local memscan = getCurrentMemscan()
if memscan.FoundList.Count > 0 then
  -- something
end
{$asm}
[DISABLE]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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