• Lua writing module.
    9 replies, posted
I need a module that would allow me to write to anywhere in the garrysmod directory. For instance, in the Lua directory. But the SAME WAY that file.Write does Except I can write it into lua/ etc
gm_rawio :) . It allows you to do ANYTHING with files (even deleting win32.exe).
[QUOTE=KatNotDinner;32591413]gm_rawio :) . It allows you to do ANYTHING with files (even deleting win32.exe).[/QUOTE] Anything in the garrysmod directory, I really just need create and edit files in the garrysmod directory. Deleting would be unrequired. And rawio is very dangerous to have on random servers, the same with WinAPI
I think hes talking about creating/editing files clientside
[QUOTE=Netsurfers;32603754]I think hes talking about creating/editing files clientside[/QUOTE] yup.
It [b]can[/b] dangerous, but most people aren't dumb enough to leave a stupid module such as WinAPI or gm_rawio in there required modules folder before playing a server. Just Dev with it, and remove when you want to play the servers.
I meant like, gmcl_write or something, and the functions can ONLY be ran by the client, i.e you cannot use ply:SendLua("WinAPI:DeleteSystem32:D") or sumin.
[QUOTE=tazy4tazy;32667456]I meant like, gmcl_write or something, and the functions can ONLY be ran by the client, i.e you cannot use ply:SendLua("WinAPI:DeleteSystem32:D") or sumin.[/QUOTE] :SendLua("WinAPI.DeleteSystem32") would work fine if the module was loaded in the clients state. If not, require it in the send lua.
Sorry, you need to Log In to post a reply to this thread.