Posted: Wed Dec 23, 2020 1:49 am Post subject: how hack lua based games
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......
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
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