Community Forum

error map

Forum Overview >> Scripting

CategoryScripting
Created05.03.2015 12:52


Ludovic Fritz (mrludo40) 05.03.2015 12:52
Error: index out of range
LUA call stack:
D:/code/lsim2015/build/finalbin/dataS/scripts/Utils.lua(9) : printCallstack
D:/code/lsim2015/build/finalbin/dataS/scripts/Utils.lua(58) : checkChildIndex
D:/code/lsim2015/build/finalbin/dataS/scripts/animals/AnimalHusbandry.lua(127) : indexToObject
=C:/Users/T/Documents/My Games/FarmingSimulator2015/mods//Baldeykino/map/models/WaterMod/WaterMod.lua(22) : orgload
=C:/Users/T/Documents/My Games/FarmingSimulator2015/mods//Czech_Map_by_Coufy_V2_FS15/scripts/WaterMod.lua(22) : orgload
D:/code/lsim2015/build/finalbin/dataS/scripts/animals/AnimalHusbandry.lua(25) : load
Index: 2
Error: index out of range
LUA call stack:
D:/code/lsim2015/build/finalbin/dataS/scripts/Utils.lua(9) : printCallstack
D:/code/lsim2015/build/finalbin/dataS/scripts/Utils.lua(58) : checkChildIndex
D:/code/lsim2015/build/finalbin/dataS/scripts/objects/BunkerSilo.lua(213) : indexToObject
D:/code/lsim2015/build/finalbin/dataS/scripts/objects/BunkerSilo.lua(17) : load
Index: 0>5
Error: Running LUA method 'BunkerSilo.onCreate'.
D:/code/lsim2015/build/finalbin/dataS/scripts/objects/BunkerSilo.lua(240) : assertion failed!
Error: shovel target maizeTarget has invalid fill types
Error: shovel target maizeTarget has invalid fill types
Warning (physics): Add trigger callback failed, object shovelTrigger is not a physics trigger.


need help thank you

Emil Drefers (Unknown) 05.03.2015 13:57
Hi,

this is a pretty common mistake/error.

Well, if you edit the husbandries make sure not to change the hierachy!

If for any reason you want to change the hierachy you have to adjust the "user attributes", namely the ones which point out to other objects like a trigger.


Cheers,
Emil


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