Community Forum

LUA Call Stack

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created02.12.2020 17:12


Berke Serdaro─člu (blauea) 02.12.2020 17:12
Hello. My new mod back to review. Certification report is following:

LUA call stack:
dataS/scripts/vehicles/specializations/Dashboard.lua (376) : setShaderParameter
dataS/scripts/vehicles/specializations/Dashboard.lua (318) : loadEmitterDashboardFromXML
dataS/scripts/vehicles/specializations/Dashboard.lua (257) : loadDashboardFromXML
dataS/scripts/vehicles/specializations/Lights.lua (281) : loadDashboardsFromXML
dataS/scripts/vehicles/SpecializationUtil.lua (30)
dataS/scripts/vehicles/Vehicle.lua (615) : raiseEvent
dataS/scripts/i3d/I3DManager.lua (71) : asyncCallbackFunction
dataS/scripts/vehicles/Vehicle.lua (333) : loadSharedI3DFile
dataS/scripts/gui/ShopConfigScreen.lua (839) : load
dataS/scripts/gui/ShopConfigScreen.lua (622) : loadCurrentConfiguration
dataS/scripts/gui/ShopConfigScreen.lua (1424) : updateData
dataS/scripts/gui/elements/MultiTextOptionElement.lua (365) : raiseCallback
dataS/scripts/gui/elements/ButtonElement.lua (425) : raiseCallback
dataS/scripts/gui/elements/GuiElement.lua (616) : mouseEvent
dataS/scripts/gui/elements/MultiTextOptionElement.lua (221) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (616) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (616) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (616) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (616) : mouseEvent
dataS/scripts/gui/base/Gui.lua (561) : mouseEvent
dataS/scripts/main.lua (1817) : mouseEvent
Warning (script): Entity 'windowsOutside' has invalid type in method 'setShaderParameter'.

But i dont get what are these means and i dont have an idea how to fix it. Can someone please lead me.
Thanks in advance.

Bilbo Beutlin (BBeutlin) 03.12.2020 00:27
Honestly: did you ever test your mod and read the log afterwards? Obviously not, else you had noticed the error.

The error report tells you already what's wrong:
"Entity 'windowsOutside' has invalid type in method 'setShaderParameter'."
That can have several reasons. Commonly inappropriate shader type or parameter, missing or faulty xml attributes, and many more.
Do an approach by comparing i3d and xml with a default vehicle.

Berke Serdaro─člu (blauea) 03.12.2020 04:54
Normally i test my mods and check the log but, i missed this one. And when i see this much things in the report i was confused but i fixed it. Thank you for responding.


Note: Log in to post. Create a new account here.