Yue Posted August 10, 2018 Share Posted August 10, 2018 ; Lua Sandboxing Disbled??? Initializing Lua... Warning: Lua sandboxing disabled. Executing file "C:/Users/Yue/Desktop/Montacargas/Scripts/Error.lua" Executing file "C:/Users/Yue/Desktop/Montacargas/Scripts/Main.lua" Executing file "C:/Users/Yue/Desktop/Montacargas/Scripts/Menu.lua" Initializing OpenGL graphics driver... OpenGL version 460 GLSL version 460 Device: GeForce GTX 1050/PCIe/SSE2 Loading shader "C:/Users/Yue/Desktop/Montacargas/Shaders/Drawing/drawprimitive.shader"... Loading component "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/Panel.lua..." Executing file "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/Panel.lua" Loading font "C:/WINDOWS/Fonts/Arial.ttf"... Loading component "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/Button.lua..." Executing file "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/Button.lua" Loading shader "C:/Users/Yue/Desktop/Montacargas/Shaders/Drawing/drawtext.shader"... Deleting script "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/Button.lua" Loading component "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/Button.lua..." Executing file "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/Button.lua" Loading component "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/Tabber.lua..." Executing file "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/Tabber.lua" Loading component "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/Label.lua..." Executing file "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/Label.lua" Loading component "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/ChoiceBox.lua..." Executing file "C:/Users/Yue/Desktop/Montacargas/Scripts/GUI/ChoiceBox.lua" Loading map "C:/Users/Yue/Desktop/Montacargas/Maps/start.map"... Loading texture "C:/Users/Yue/Desktop/Montacargas/Materials/Common/bfn.tex"... Loading material "C:/Users/Yue/Desktop/Montacargas/materials/escenario/suelo.mat"... Loading shader "C:/Users/Yue/Desktop/Montacargas/Shaders/Model/diffuse+normal.shader"... Loading texture "C:/Users/Yue/Desktop/Montacargas/materials/escenario/suelo.tex"... Loading texture "C:/Users/Yue/Desktop/Montacargas/materials/escenario/suelo_dot3.tex"... Loading shader "C:/Users/Yue/Desktop/Montacargas/Shaders/Editor/wireframe.shader"... Loading model "C:/Users/Yue/Desktop/Montacargas/models/montacargas/chassis.mdl" Loading material "C:/Users/Yue/Desktop/Montacargas/models/montacargas/forklift.mat"... Loading shader "C:/Users/Yue/Desktop/Montacargas/Shaders/Model/diffuse.shader"... Loading texture "C:/Users/Yue/Desktop/Montacargas/models/montacargas/forklift_d.tex"... Loading material "C:/Users/Yue/Desktop/Montacargas/models/montacargas/forklift_underside.mat"... Loading texture "C:/Users/Yue/Desktop/Montacargas/models/montacargas/forklift_underside_d.tex"... Loading shape "C:/Users/Yue/Desktop/Montacargas/models/montacargas/chassis.phy"... Loading model "C:/Users/Yue/Desktop/Montacargas/models/montacargas/llanta.mdl" Loading material "C:/Users/Yue/Desktop/Montacargas/models/montacargas/forklift_wheels.mat"... Loading texture "C:/Users/Yue/Desktop/Montacargas/models/montacargas/forklift_wheels_d.tex"... Loading shape "C:/Users/Yue/Desktop/Montacargas/models/montacargas/llanta.phy"... Loading model "C:/Users/Yue/Desktop/Montacargas/models/montacargas/llanta2.mdl" Loading shape "C:/Users/Yue/Desktop/Montacargas/models/montacargas/llanta2.phy"... Loading model "C:/Users/Yue/Desktop/Montacargas/models/pallet/woodenpallet.mdl" Loading material "C:/Users/Yue/Desktop/Montacargas/models/pallet/woodenpallet.mat"... Loading texture "C:/Users/Yue/Desktop/Montacargas/models/pallet/WoodenPallet.tex"... Loading shape "C:/Users/Yue/Desktop/Montacargas/models/pallet/woodenpallet.phy"... Loading component "C:/Users/Yue/Desktop/Montacargas/scripts/objects/player/spectator.lua..." Executing file "C:/Users/Yue/Desktop/Montacargas/scripts/objects/player/spectator.lua" Loading component "C:/Users/Yue/Desktop/Montacargas/scripts/game/pivotechassis.lua..." Executing file "C:/Users/Yue/Desktop/Montacargas/scripts/game/pivotechassis.lua" Loading component "C:/Users/Yue/Desktop/Montacargas/scripts/game/suspensiondelantera.lua..." Executing file "C:/Users/Yue/Desktop/Montacargas/scripts/game/suspensiondelantera.lua" Loading component "C:/Users/Yue/Desktop/Montacargas/scripts/game/suspensiontrasera.lua..." Executing file "C:/Users/Yue/Desktop/Montacargas/scripts/game/suspensiontrasera.lua" Loading shader "C:/Users/Yue/Desktop/Montacargas/Shaders/Misc/occlusionquery.shader"... Loading shader "C:/Users/Yue/Desktop/Montacargas/Shaders/Model/Shadow/shadow.shader"... Loading shader "C:/Users/Yue/Desktop/Montacargas/Shaders/Lighting/directionallight.shader"... Loading shader "C:/Users/Yue/Desktop/Montacargas/Shaders/Drawing/drawimage.shader".. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted August 10, 2018 Share Posted August 10, 2018 Are you wondering why sand boxing is disabled? I think someone said this was from the Leadwerks 2.x days and not applicable now... 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted August 10, 2018 Share Posted August 10, 2018 Lua sandboxing disables many libraries so that unsafe code cannot be run. By default it is disabled (and the warning given), and it will only be enabled if a command line parameter is passed to the EXE. This was implemented for Game Launcher, but probably isn't so important now. 1 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
macklebee Posted August 10, 2018 Share Posted August 10, 2018 5 minutes ago, Josh said: Lua sandboxing disables many libraries so that unsafe code cannot be run. By default it is disabled (and the warning given), and it will only be enabled if a command line parameter is passed to the EXE. This was implemented for Game Launcher, but probably isn't so important now. Eh actually its probably still important for users to understand that by having the sandbox disabled that it loads specific lua libraries that could be used to run unsafe code. Of course, it should be left up to the programmer to decide their needs, but without that option I do not think most people here would understand what was being enabled in the background. I personally like having the option. 2 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.