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 


Changing LUA Type

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

Joined: 23 Feb 2013
Posts: 4

PostPosted: Sat Feb 23, 2013 4:00 pm    Post subject: Changing LUA Type Reply with quote

I play a game called Garry's Mod and it uses its own type of LUA, I think, because whenever i try a script for garrysmod theres always some sort of error. Is there a way to make it use the Gmod LUA style.
Back to top
View user's profile Send private message
Rectangle
Advanced Cheater
Reputation: 1

Joined: 23 Feb 2013
Posts: 73

PostPosted: Sat Feb 23, 2013 9:06 pm    Post subject: Reply with quote

In short? No.

Details? LUA is a scripting language, Garry's Mod is a sandbox game developed by Valve, and Cheat Engine is an application developed by Dark Byte. The three are completely unrelated, except for the fact that Garry's Mod and Cheat Engine use LUA to 'extend' specific parts of their code to 3rd party developers. What this means is, as with all scripting languages, the LUA code that you can write depends on what the associated application already has coded internally, and also depends on what the developers of that application have decided to expose to scripting.

So since Cheat Engine exposes only select parts of itself to other developers, and Garry's Mod only exposes select parts of itself, that is exactly what you get: Direct, controlled manipulation of the application itself. So in order for Garry's Mod to use the LUA functions found in Cheat Engine, Garry's Mod would have to be compiled to use the same source code that Cheat Engine uses, and furthermore, would have to expose the same set of functions/interfaces to LUA that Cheat Engine does. So if you wanna write a letter to Valve asking to take a look at Cheat Engine's source code and implement it in their own software, be my guest but you're obviously just wasting your time.

Alternatively? You could just learn LUA, learn the functions/interfaces exposed by Cheat Engine, and use that knowledge to manipulate Garry's Mod however you like.
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