I tried using the one Alex Grist made, but apparently writing the file does nothing at all.
[url]https://github.com/alexgrist/gmsv_fileio[/url]
You could use my old HSP module, it has a bunch of file functions (See the bottom of main.cpp)
[url]http://mfsinc.googlecode.com/svn/trunk/VC/gmsv_hsp_win32/[/url]
You could use gm_io.
It's a minimal module that exposes source's filesystem to lua.
[url]https://github.com/Marvincmarvin/gm_io[/url]
I use hio.
[url]http://puu.sh/3zEke.zip[/url]
Example of the reason why I use it.
[lua]
hIO.Remove("data\\AntiCheat\\" .. fsid .. "\\img1.txt")
hIO.Remove("data\\AntiCheat\\" .. fsid .. "\\img1.jpeg")
hIO.Rename("data\\AntiCheat\\" .. fsid .. "\\img1.txt", "data\\AntiCheat\\" .. fsid .. "\\img1.jpeg")
[/lua]
That's the same reason I have to use the fileio for xD
That anticheat is for taking screenshots of other people right?
I take screenshots of everyone. If your detected a copy is sent to a separate directory.
Could you hand me a function reference for hIO?
Sorry, you need to Log In to post a reply to this thread.