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 


how hack lua based games

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

Joined: 03 Sep 2014
Posts: 112

PostPosted: Wed Dec 23, 2020 1:49 am    Post subject: how hack lua based games Reply with quote

hi all
googled for it but simply can't figure it out, so much advanced expretions.
can anyone simply tell me where to begin?
from what searched I think I should hook lua51.lua_gettop but eax changes every time........

i also can't see much of strings and symbols in this games......
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Wed Dec 23, 2020 5:21 am    Post subject: Reply with quote

while i did not modify a Windows based lua game (i did for android for one of family kids), but this generic approach should work regardless of the platform.

the game must be shipped with lua library to execute game code, by looking at the binary file of that library you will be able to determine lua version used to run lua scripts.

by having the version, you can look up for lua decmpiler based on that version. (e.g. luadec or unluac)

then just decmpile and mess around with that code, if debugging information are not stripped then you will be able to see variable and function names.

then compile back using official luac for that specific version.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
reverser69
Expert Cheater
Reputation: 0

Joined: 03 Sep 2014
Posts: 112

PostPosted: Wed Dec 23, 2020 5:52 am    Post subject: Reply with quote

thanks a lot.
but I'm after the function calling ....
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4697

PostPosted: Wed Dec 23, 2020 12:14 pm    Post subject: Reply with quote

https://forum.cheatengine.org/viewtopic.php?p=5751910#5751910
_________________
I don't know where I'm going, but I'll figure it out when I get there.
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 Gamehacking 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