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 


Injecting a lua script with calls to in-process scripts

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

Joined: 08 Dec 2017
Posts: 2

PostPosted: Fri Dec 08, 2017 2:22 pm    Post subject: Injecting a lua script with calls to in-process scripts Reply with quote

I am trying to inject a lua script into a process. The lua script in question calls a number of functions from other lua scripts that are typically loaded (I mean when the process is run normally). I've tried writing the lua script into the CE Lua Engine, but I get errors when trying to call the functions (attempt to call a nil value (global 'name of function')).

I'm sure there's a way to do this - I've even found memory addresses of the functions I'm trying to call in the process - but I'm just so out of my depth here... anything significantly more complex than finding/changing variables like health and i struggle.

Any and all help is appreciated, feel free to treat me like a moron - it's the best way for me to learn.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 121

Joined: 09 Jun 2013
Posts: 3279

PostPosted: Sat Dec 09, 2017 8:19 pm    Post subject: Reply with quote

Best of luck...
http://forum.cheatengine.org/viewtopic.php?p=5471918
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