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 


lua script and assembly ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
mohammedfenix1
Cheater
Reputation: 0

Joined: 08 Feb 2015
Posts: 48

PostPosted: Tue Feb 17, 2015 2:09 pm    Post subject: lua script and assembly ? Reply with quote

1-what is lua script and what can I do with lua script
2-what is the different between lua and assembly
Back to top
View user's profile Send private message
Redouane
Master Cheater
Reputation: 3

Joined: 05 Sep 2013
Posts: 363
Location: Algeria

PostPosted: Wed Feb 18, 2015 7:40 am    Post subject: Re: lua script and assembly ? Reply with quote

mohammedfenix1 wrote:
1-what is lua script and what can I do with lua script
2-what is the different between lua and assembly


Assembly : http://wiki.cheatengine.org/index.php?title=Cheat_Engine:Auto_Assembler

Lua : http://wiki.cheatengine.org/index.php?title=Lua

The main difference is that : Lua is a high level,general purpose programming language,and assembly is the machine language,the one that gets executed in your ram.
Assembly is nowadays mostly used to make hacks,or to debug programs,not to actually make real programs or games,because it's architecuture-specific,32bit assembly is different than 64bit,and some opcodes are specific to some windows versions,generally,a compiler takes care of translating high-level code to asm.
With Lua,you can make more complex scripts,for example,an inventory editor.
Back to top
View user's profile Send private message
SteveAndrew
Master Cheater
Reputation: 30

Joined: 02 Sep 2012
Posts: 323

PostPosted: Wed Feb 18, 2015 8:19 am    Post subject: Re: lua script and assembly ? Reply with quote

mohammedfenix1 wrote:
1-what is lua script and what can I do with lua script
2-what is the different between lua and assembly



1. You can take control or automate or modify the behavior of Cheat Engine via code. You can control what cheat engine does or will do.

2. Auto Assembler code gets injected into the game itself, and is mainly used for modifying the behavior of the game.

So in short, with Lua you extend or modify CE's code, with ASM you extend or modify the game's code.


For example, lately I've been using Lua to take control of CE's debugger, and do some automated debugging and single stepping, which is useful for finding addresses again from the beginning (If your AOB doesn't work anymore or something like that).

While of course I've always used Auto Assembler to hook into the game and change how it operates which is the best way to cheat a game of course Very Happy. Which you'll almost certainly need in conjunction with Lua if you use Lua as well, since well the game is made of assembler, so you'll be injecting code at some point. Unless you're just writing to some pointers perhaps, however like I said it still comes down to the assembler !

_________________
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Feb 18, 2015 3:58 pm    Post subject: Reply with quote

LUA can also be used in conjunction with targets that make use of LUA. It can be very powerful and make things very easy for those that know LUA since most everything can be found using string searches (correct me if I'm wrong).
Unfortunately, there aren't a lot of 'newbie-friendly' tutorials floating about regarding this method (that I know of).
Back to top
View user's profile Send private message
mohammedfenix1
Cheater
Reputation: 0

Joined: 08 Feb 2015
Posts: 48

PostPosted: Sun Feb 22, 2015 3:42 pm    Post subject: Reply with quote

thanks to all of u guys , maybe i will try to learning it after being good in assembly
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