Tractor mod with error

NowHeresRoy
Posts: 443
Joined: Tue Jun 02, 2015 7:34 pm

Tractor mod with error

Post by NowHeresRoy »

Working on a tractor mod that ive copied from my game files. Ive done this a bunch of times without errors but this time i tried something new and decided to import wheels instead of using the in-game files for that. This is what i am getting. I know it probably tells me where the problem is, i'm just not knowledgeable enough to figure it out.

C:/Users/Administrator/Documents/My Games/FarmingSimulator2015/mods//huerlimannXM4Ti/huerlimannXM4Ti.i3d (49.04 ms)
Warning: Y-Translation of component 1 (node 0>) (huerlimannXM4Ti.i3d) should be 0
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(49) : checkChildIndex
D:/code/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(4208) : indexToObject
D:/code/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(1033)
D:/code/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(105) : loadFinished
D:/code/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(660) : load
D:/code/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(754) : loadVehicle
D:/code/lsim2015/dlc/configs/../goldPackFinal/ShopPlacementFix.lua(18) : oldLoadVehicleAtPlace
D:/code/lsim2015/build/finalbin/dataS/scripts/BuyVehicleEvent.lua(83) : loadVehicleAtPlace
D:/code/lsim2015/build/finalbin/dataS/scripts/network/Connection.lua(53) : run
D:/code/lsim2015/build/finalbin/dataS/scripts/gui/ShopScreen.lua(913) : sendEvent
D:/code/lsim2015/build/finalbin/dataS/scripts/gui/Gui.lua(301) : update
D:/code/lsim2015/build/finalbin/dataS/scripts/main.lua(1436) : update
Index: 2|0
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(49) : checkChildIndex
D:/code/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(4208) : indexToObject
D:/code/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(1033)
D:/code/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(105) : loadFinished
D:/code/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(660) : load
D:/code/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(754) : loadVehicle
D:/code/lsim2015/dlc/configs/../goldPackFinal/ShopPlacementFix.lua(18) : oldLoadVehicleAtPlace
D:/code/lsim2015/build/finalbin/dataS/scripts/BuyVehicleEvent.lua(83) : loadVehicleAtPlace
D:/code/lsim2015/build/finalbin/dataS/scripts/network/Connection.lua(53) : run
D:/code/lsim2015/build/finalbin/dataS/scripts/gui/ShopScreen.lua(913) : sendEvent
D:/code/lsim2015/build/finalbin/dataS/scripts/gui/Gui.lua(301) : update
D:/code/lsim2015/build/finalbin/dataS/scripts/main.lua(1436) : update
Index: 2|1
dataS2/character/player/player.i3d (101.11 ms)
PC User
TEXAS USA
Therefore, if anyone is in Christ, he is a new creation. The old has passed away; behold, the new has come.
User avatar
thunderhawk
Posts: 1452
Joined: Sat Jan 17, 2015 1:02 am

Re: Tractor mod with error

Post by thunderhawk »

Looks like you may have deleted somethings or moved something in transform group this error normally comes up on me when that node id is no longer used in I3D File And The Code line is still in XML FIle Go Into Vehilce XML And find lines that has these node id's And remove the entire line of coding
Index: 2|0
Index: 2|1
Example Line below Note All Code Line In Green will need deleted
Note movingPart index Is just what I used your line could be anywhere in Xml


<!-- Steering Cylinder hoses -->

<movingPart index="0>2|0" referencePoint="1>2|1|0|0" referenceFrame="0>" isActiveDirty="true" invertZ="false"/>
Dell XPS 720 Intel Core 2 Quad Extreme 3.0ghz
Liquid cooled with a 120mm x 240mm radiator twin 120mm cooler master SickleFlow fans
Nvidia GTX 660ti
Patch 1.4.4 Windows 7 home
Playing through a Sanyo 50" tv
Post Reply