Posted: Fri Mar 11, 2016 3:00 am Post subject: How to read a file and modify it? (Question updated)
Hi there. I want to load a file from my PC and then modify it by aob scan. How to do that in Lua? Thanks.
Edit: Sorry for the confusion. Actually I mean that I want to create a trainer that can load a file and by clicking a button on the trainer, it will do a aob scan and modify the result of the scan. I did some research, some functions are needed, such as:
Code:
just a few examples:
load_dialog.....
io.open()......
assert()......
local f = assert(io.open(XXX))
local data = f:read("*a")
So, how to make such a trainer? Thanks.
Last edited by Dr.Disrespect on Fri Mar 11, 2016 10:23 am; edited 1 time in total
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