CrosRoad95 Posted November 19, 2016 Posted November 19, 2016 please update lua 5.1 to 5.4, lua and add serverside option to enable package, io and os library ( i know that require can download virus ) and add to config option <loadstring_client>enable||disable</loadstring_client> && <loadstring_server>enable||disable</loadstring_server> ( when loadstring is used on client, player is kicked by anti cheat and loadstring not running, when used on server, only block, both should output information to log (ip,code,file,line))
MTA Team Dutchman101 Posted November 19, 2016 MTA Team Posted November 19, 2016 Updating LUA version would break many existing scripts, therefore it wasn't updated for years. 1
Callum Posted November 19, 2016 Posted November 19, 2016 The age-old complaint has been that Lua is out of date, I remember everybody used to want 5.2. Like Dutchman101 said, it can't really ever happen because we're so dependent on Lua being exactly as-is. 1
MTA Team Dutchman101 Posted November 19, 2016 MTA Team Posted November 19, 2016 (edited) 5 minutes ago, Callum said: The age-old complaint has been that Lua is out of date, I remember everybody used to want 5.2. Like Dutchman101 said, it can't really ever happen because we're so dependent on Lua being exactly as-is. That's right, anyone saying it could use an update didn't think further than shouting that: besides script compatibility, many MTA-dependent modifications and fixes are integrated with LUA 5.1 that we use, it would take ages before devs would finish fixing the integration by re-adding all MTA-specific parts and patches done to LUA 5.1 through the years, from scratch. It'll be like starting from zero. LUA 5.1 was heavily adapted to work fine with MTA. Edited November 19, 2016 by Dutchman101
Recommended Posts