• lua_openscript
    10 replies, posted
Hello. I would like to know how I can prohibit the use of lua_openscript_cl and lua_openscript on my server. And recently there was an incident when the server was visited by a player with Exploit menus and could take weapons from people. After that, he said that he had a loki menu.  I downloaded it and it worked for me too. I rechecked all the add-ons and found nothing suspicious.  What should I do?
Get a good anti-cheat Cake, Simplac
If sv_allowcslua is set to 0 users cannot run lua without the use of a bypass that either forces it to something other than 0 or creates a new way of loading lua. There are several ways of doing it. All you can do is to detect their bypasses or scripts. In the end if you're worried about exploits you just need to patch them on the server as people will always finds way to run client lua.
I can not figure out how to put sv_allowcslua to 0.
It’s just a ConVar...
Firstly, you might want to check if your server already has it enabled by opening the console and typing sv_allowcslua If it is already set to 0, you may have a bad addon that gives them access. Otherwise, you can open your server's cfg/server.cfg, and put this in on a new line sv_allowcslua 0
Where can I find this ConVar
You just type it in console or your server.cfg. If you're using DarkRP, it will automatically be forced to one, so you have to turn that off in your config.
And how to disable it? Through the server.cfg is not disabled.
https://github.com/FPtje/darkrpmodification/blob/master/lua/darkrp_config/settings.lua#L75
Thank you.
Sorry, you need to Log In to post a reply to this thread.