View previous topic :: View next topic |
Author |
Message |
Ugly Truth How do I cheat?
Reputation: 0
Joined: 04 Dec 2013 Posts: 9
|
Posted: Mon Apr 28, 2014 7:25 am Post subject: How to make LUA scripts execute standalone exe? |
|
|
I know CE do that, but CE take so many RAM space and with 3 process running in background, and problem here is the other guy can get all my LUA scripts by view memory with CE. So how can I make LUA scripts to EXE?
And can I ask one more question ?
Code:
h = io.popen('WMIC PROCESS get Caption,Commandline')
line = h:read()
why io.popen not closing after open ?
And this code
Code:
os.execute("WMIC /OUTPUT:C:\\ProcessList.txt PROCESS get Caption,Commandline")
h=io.popen('C:\\ProcessList.txt')
line=h:read()
while line do
print(line)
end
All the string in ProcessList.txt become "??C" , do anyone know why ?
Thanks you.
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8585 Location: 127.0.0.1
|
Posted: Mon Apr 28, 2014 1:09 pm Post subject: |
|
|
The text returned by WMIC is unicode, which Lua does not handle as it is an ASCII encoded language.
_________________
- Retired. |
|
Back to top |
|
 |
Ugly Truth How do I cheat?
Reputation: 0
Joined: 04 Dec 2013 Posts: 9
|
Posted: Tue Apr 29, 2014 1:36 am Post subject: |
|
|
ok I already fixed it, Just use h:read("*a") every going to be fine.
And do you know how to make LUA scripts with form execute standalone EXE ?
thanks for your help
|
|
Back to top |
|
 |
kennard11 How do I cheat?
Reputation: 0
Joined: 27 Mar 2014 Posts: 9
|
Posted: Tue May 20, 2014 9:28 am Post subject: |
|
|
To get your cheat engine lua script to a trainer, open it in cheat engine and click Save As and select .EXE.
|
|
Back to top |
|
 |
mariamerlino How do I cheat?
Reputation: 0
Joined: 22 May 2014 Posts: 0
|
Posted: Thu May 22, 2014 9:25 am Post subject: |
|
|
You can use the standalone interpreter to run Lua scripts and load external ...
|
|
Back to top |
|
 |
Redouane Master Cheater
Reputation: 3
Joined: 05 Sep 2013 Posts: 363 Location: Algeria
|
Posted: Sun May 25, 2014 5:08 am Post subject: Re: How to make LUA scripts execute standalone exe? |
|
|
Ugly Truth wrote: | I know CE do that, but CE take so many RAM space and with 3 process running in background, and problem here is the other guy can get all my LUA scripts by view memory with CE. So how can I make LUA scripts to EXE? |
I believe that you are looking for a way to save Lua scripts to tiny executables,I use srlua to do this,if you want to add a GUI to your exe then use iuplua or wxlua,if you are trying to write a hack for a game or program,then use the Alien library (to call foreign functions inside dlls).
I do use srlua,but I have never used the Alien library.
Also,by using those librairies,your app will be lighter,but you'll pay the price in its development : a GUI designer is much easier to use than a GUI library,because you'll have to code it yourself.
|
|
Back to top |
|
 |
|