summaryrefslogtreecommitdiff
path: root/mesecons_detector/init.lua
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2014-08-06 22:54:17 -0400
committerShadowNinja <shadowninja@minetest.net>2014-10-07 17:09:25 -0400
commitbd1766e448b149f7245c3d2db18af7ecc984f7ca (patch)
treeb84d704de007a1549476e7cb161efe643cf3512b /mesecons_detector/init.lua
parentd325292291ebc0bdb10ebc73b235b9569842e003 (diff)
downloadmesecons-bd1766e448b149f7245c3d2db18af7ecc984f7ca.tar
mesecons-bd1766e448b149f7245c3d2db18af7ecc984f7ca.tar.gz
mesecons-bd1766e448b149f7245c3d2db18af7ecc984f7ca.tar.bz2
mesecons-bd1766e448b149f7245c3d2db18af7ecc984f7ca.tar.xz
mesecons-bd1766e448b149f7245c3d2db18af7ecc984f7ca.zip
Improve the LuaController
Changes: * Stops code after a certain number of instructions. * Allows functions, due to instruction counting. * Allows loops and goto with non-JIT Lua (LuaJIT doesn't count looping as an instruction, allowing infinite loops), due to instruction counting. * Removes string matching functions as they can be slow. * Adds some safe functions. * Limits the amount of printing that can be done (to prevent console flooding). * Code cleanup. * More...
Diffstat (limited to 'mesecons_detector/init.lua')
0 files changed, 0 insertions, 0 deletions