Posted: Thu Dec 19, 2019 11:48 am Post subject: Lua to EXE (Console)
Hey! I know its possible to save a lua written script to a standalone exe, however is it possible to make it so that it works/prints to console instead of a cheat engine window layout? Also, is it possible to compile it to EXE with any other compiler other than Cheat Engine itself, but still using the functions Cheat Engine offers?
Disable 'Show on Print' on the 'Lua Engine' popup so the windows do not come up when messages are printed to console and do something like this below (in Windows system):
Code:
getLuaEngine().cbShowOnPrint.Checked=false
local out = io.popen('find /v "" > con', "w")
function print(s)
out:write(s.."\r\n") --\r because windows
out:flush()
end
print("It really works this time!")
For compiling Lua script you can search for Lua Compiler. _________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
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