Community Forum

messed up trailer

Forum Overview >> Scripting

CategoryScripting
Created14.02.2017 13:10


Machiel Evink (machiell) 14.02.2017 13:15
I cant find out what the problem is.
The trailer was working somtimes and by the tipping the game stops
And i cant see the fillplane and i dont know how to fix.

this is a converted trailer but i cant fix the errors anymore

i hope somone can .

here is de xlm. of the trailer: [spoiler]<?xml version="1.0" encoding="utf-8" standalone="no"?>

<vehicle type="FortunaFTM300">


<storeData>
<name>
<de>WagnerWK800Plus</de>

<en>WagnerWK800Plus</en>
</name>
<specs>
<neededPower>250</neededPower>

<maxSpeed>120</maxSpeed>
</specs>
<functions>
<function>$l10n_function_tipper</function>
</functions>
<image>store.dds</image>
<price>65000</price>
<dailyUpkeep>200</dailyUpkeep>
<lifetime>600</lifetime>
<rotation>0</rotation>
<brand>LIZARD</brand>
<category>tippers</category>
<vertexBufferMemoryUsage>700976</vertexBufferMemoryUsage>
<indexBufferMemoryUsage>130434</indexBufferMemoryUsage>
<textureMemoryUsage>21321312</textureMemoryUsage>
<instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
<instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
</storeData>




<annotation>Copyright Thoboliker, All Rights Reserved.</annotation>

<typeDesc>$l10n_typeDesc_tipper</typeDesc>

<filename>Fortuna_FTM.i3d</filename>

<size width="4" length="12" lengthOffset="-0.2"/>

<wheels autoRotateBackSpeed="2.0">

<wheel repr="0>0" driveNode="0>0|0" radius="0.72" restLoad="1.3" initialCompression="50" suspTravel="0.10" spring="60" damper="30" mass="0.265" hasParticles="true"/>

<wheel repr="0>1" driveNode="0>1|0" radius="0.72" restLoad="1.3" initialCompression="50" suspTravel="0.10" spring="60" damper="30" mass="0.265" hasParticles="true"/>

<wheel repr="0>2" driveNode="0>2|0" radius="0.72" restLoad="1.3" initialCompression="50" suspTravel="0.10" spring="60" damper="30" hasTireTracks="true" tireTrackAtlasIndex="2" mass="0.265" hasParticles="true"/>

<wheel repr="0>3" driveNode="0>3|0" radius="0.72" restLoad="1.3" initialCompression="50" suspTravel="0.10" spring="60" damper="30" hasTireTracks="true" tireTrackAtlasIndex="2" mass="0.265" hasParticles="true"/>

<wheel repr="0>4" driveNode="0>4|0" radius="0.72" restLoad="1.3" initialCompression="50" suspTravel="0.10" spring="60" damper="30" mass="0.265" hasParticles="true"/>

<wheel repr="0>5" driveNode="0>5|0" radius="0.72" restLoad="1.3" initialCompression="50" suspTravel="0.10" spring="60" damper="30" mass="0.265" hasParticles="true"/>
</wheels>


<steeringAxleAngleScale startSpeed="5" endSpeed="70"/>

<brakeForce>1.5</brakeForce>

<massPerFillLevel value="0.00001"/>


<skinnedNodes>

<skinnedNode index="0>8|0"/>

<skinnedNode index="0>8|1"/>

<skinnedNode index="0>8|2"/>

<skinnedNode index="0>8|3"/>

<skinnedNode index="0>8|4"/>

<skinnedNode index="0>8|5"/>

<skinnedNode index="0>8|6"/>

<skinnedNode index="0>8|7"/>

</skinnedNodes>


<lights>


<!--to be adjusted manually-->


<low>

<light decoration="0>6|0|1|3|0" lightTypes="0"/>

<light decoration="0>6|17|0" lightTypes="0"/>

</low>


<!--to be adjusted manually-->


<high>

<light decoration="0>6|0|1|3|0" lightTypes="0"/>

<light decoration="0>6|17|0" lightTypes="0"/>


</high>


<!--to be adjusted manually-->


<states>0 1 2</states>


</lights>


<brakeLights>

<brakeLight decoration="0>6|0|1|3|2"/>

<brakeLight decoration="0>6|17|2"/>

</brakeLights>


<turnLights>

<turnLightLeft decoration="0>6|0|1|3|1|0"/>

<turnLightLeft decoration="0>6|17|1|0"/>

<turnLightRight decoration="0>6|0|1|3|1|1"/>

<turnLightRight decoration="0>6|17|1|1"/>

</turnLights>


<reverseLights>

<reverseLight index="0>6|17|3"/>

</reverseLights>


<inputAttacherJoints>

<inputAttacherJoint index="2>3" jointType="trailerLow" rootNode="2>" attacherHeight="0.7826"/>

</inputAttacherJoints>


<attacherJoints>

<attacherJoint index="0>6|16" jointType="trailer" allowsJointLimitMovement="false" canTurnOnImplement="false" upperRotationOffset="0" lowerRotLimit="10 80 80">

<schema position="0.5 0" rotation="0" invertX="false"/>

</attacherJoint>

</attacherJoints>


<tipReferencePoints>

<tipReferencePoint index="0>6|4" width="2.5" />

</tipReferencePoints>


<tipAnimations>

<tipAnimation speedScale="0.9" animationName="tipAnimationBack" dischargeStartTime="1.5" dischargeEndTime="10">


<tipEffect>
<effectNode node="0|0|0" linkNode="0>6|0|6|0" materialType="unloading" materialTypeId="3" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.5"/>

<effectNode node="0|0|1" linkNode="0>6|0|6|0" materialType="smoke" materialTypeId="1" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.5"/>

</tipEffect>

<emitterShape node="0>13|0"/>
<fillVolume>
<unloadInfo index="1"/>
<height index="1"/>
</fillVolume>


<dischargeParticleSystems>

<dischargeParticleSystem type="chaff" node="0>6|0|6|1" psRootNode="0|0" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d"/>

<dischargeParticleSystem type="potato" node="0>6|0|6|1" psRootNode="0|1" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d"/>

<dischargeParticleSystem type="sugarBeet" node="0>6|0|6|1" psRootNode="0|2" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d"/>

<dischargeParticleSystem type="woodChips" node="0>6|0|6|1" psRootNode="0|3" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d"/>

<dischargeParticleSystem type="silage" node="0>6|0|6|1" psRootNode="0|4" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d"/>

</dischargeParticleSystems>





</tipAnimation>

</tipAnimations>


<fillVolumes>

<volumes>
<volume index="0>6|0|5|0" maxDelta="2.0">

</volume>

</volumes>



<unloadInfos>
<unloadInfo fillVolumeIndex="1" >
<node index="0>6|0|5|1|0" width="1.0" length="2.6" minHeight="0.7" priority="2" />
<node index="0>6|0|5|1|1" width="1.0" length="2.6" minHeight="0.7" priority="2" />
<node index="0>6|0|5|1|2" width="1.0" length="6.6" />
<node index="0>6|0|5|1|3" width="1.0" length="6.6" />
</unloadInfo>
<unloadInfo fillVolumeIndex="1" >
<node index="0>6|0|5|1|4" width="0.6" length="0.6" minHeight="0.7" priority="2" />
<node index="0>6|0|5|1|2" width="1.0" length="6.6" />
<node index="0>6|0|5|1|3" width="1.0" length="6.6" />
</unloadInfo>
</unloadInfos>

<heights>

<height fillVolumeIndex="1">

<refNode index="0>6|0|7|0"/>

<refNode index="0>6|0|7|1"/>

<node index="0>6|0|6|0" baseScale="0.99 1 1" transAxis="0 0 0"/>

<node index="0>6|0|6|1" baseScale="2.0 0.1 1" scaleAxis="0 0 0" transAxis="0 0.5 0"/>

</height>

</heights>


</fillVolumes>


<cylinderedHydraulicSound file="$data/sounds/hydraulicUp.wav" pitchOffset="0.8" volume="0.4"/>

<fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5"/>

<fillRootNode index="0>"/>

<exactFillRootNode index="0>6|19"/>

<fillAutoAimTargetNode index="0>6|5"/>

<fillMassNode index="0>"/>


<fillUnits>

<fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="100000"/>

</fillUnits>


<movingParts>
<!-- door hydraulics -->

<movingPart index="0>6|0|0|0" referencePoint="0>6|0|1|2" referenceFrame="0>11" isActiveDirty="true">

<translatingPart index="0>6|0|0|0|0"/>

</movingPart>


<!-- axle1 -->

<movingPart index="0>0|1" referencePoint="0>1" referenceFrame="0>" isActiveDirty="true"/>

<!-- axle2 -->

<movingPart index="0>2|1" referencePoint="0>3" referenceFrame="0>" isActiveDirty="true"/>

<!-- axle3 -->

<movingPart index="0>4|1" referencePoint="0>5" referenceFrame="0>" isActiveDirty="true"/>

<!-- Wheel front left -->

<movingPart index="0>0|1|2" referencePoint="0>1|1" referenceFrame="0>1|1" isActiveDirty="true">

<translatingPart index="0>0|1|2|0|0|0"/>

</movingPart>


<!-- Wheel front right -->

<movingPart index="0>0|1|3" referencePoint="0>0|2" referenceFrame="0>0|2" isActiveDirty="true">

<translatingPart index="0>0|1|3|0|0|0"/>

</movingPart>


<!-- Wheel back left -->

<movingPart index="0>4|1|2" referencePoint="0>5|1" referenceFrame="0>5|1" isActiveDirty="true">

<translatingPart index="0>4|1|2|0|0|0"/>

</movingPart>


<!-- Wheel back right -->

<movingPart index="0>4|1|3" referencePoint="0>4|2" referenceFrame="0>4|2" isActiveDirty="true">

<translatingPart index="0>4|1|3|0|0|0"/>

</movingPart>


</movingParts>


<movingTools>

<movingTool index="0>6|3">

<componentJoint index="0" anchorActor="0"/>

</movingTool>


<movingTool index="0>6|0|1">

<dependentPart index="0>6|0|0"/>

</movingTool>


</movingTools>


<animations>

<animation name="tipAnimationBack">


<!-- Mulde -->

<part node="0>6|0" startTime="0" endTime="1" startRot="0 0 0" endRot="-7.142 0 0"/>

<part node="0>6|0" startTime="1.05" endTime="2" startRot="-7.142 0 0" endRot="-14.274 0 0"/>

<part node="0>6|0" startTime="2.05" endTime="3" startRot="-14.274 0 0" endRot="-21.426 0 0"/>

<part node="0>6|0" startTime="3.05" endTime="4" startRot="-21.426 0 0" endRot="-28.568 0 0"/>

<part node="0>6|0" startTime="4.05" endTime="5" startRot="-28.568 0 0" endRot="-35.71 0 0"/>

<part node="0>6|0" startTime="5.05" endTime="6" startRot="-35.71 0 0" endRot="-42.852 0 0"/>

<part node="0>6|0" startTime="6.05" endTime="7" startRot="-42.852 0 0" endRot="-50 0 0"/>


<!-- Deformnodes -->


<part node="0>6|0|9|14" startTime="0" endTime="1" startTrans="-1.143 3.108 -4.386" endTrans="-1.143 3.108 -4.231"/>

<part node="0>6|0|9|15" startTime="0" endTime="1" startTrans="1.143 3.108 -4.386" endTrans="1.143 3.108 -4.231"/>

<part node="0>6|0|9|16" startTime="0" endTime="1" startTrans="-1.143 3.108 -4.814" endTrans="-1.143 3.108 -4.255"/>

<part node="0>6|0|9|17" startTime="0" endTime="1" startTrans="1.143 3.108 -4.814" endTrans="1.143 3.108 -4.255"/>

<part node="0>6|0|9|18" startTime="0" endTime="1" startTrans="-1.143 3.108 -5.394" endTrans="-1.143 3.108 -4.259"/>

<part node="0>6|0|9|19" startTime="0" endTime="1" startTrans="1.143 3.108 -5.394" endTrans="1.143 3.108 -4.259"/>


<!-- Schwenk Zyl -->

<part node="0>6|1" startTime="0" endTime="1" startRot="0 0 0" endRot="-4.4 0 0"/>

<part node="0>6|1" startTime="1.05" endTime="2" startRot="-4.4 0 0" endRot="-8.1 0 0"/>

<part node="0>6|1" startTime="2.05" endTime="3" startRot="-8.1 0 0" endRot="-11.75 0 0"/>

<part node="0>6|1" startTime="3.05" endTime="4" startRot="-11.75 0 0" endRot="-15.4 0 0"/>

<part node="0>6|1" startTime="4.05" endTime="5" startRot="-15.4 0 0" endRot="-18.93 0 0"/>

<part node="0>6|1" startTime="5.05" endTime="6" startRot="-18.93 0 0" endRot="-22.53 0 0"/>

<part node="0>6|1" startTime="6.05" endTime="7" startRot="-22.53 0 0" endRot="-26.23 0 0"/>


<!-- Hub Zyl-->

<part node="0>6|1|0" startTime="0" endTime="1" startTrans="0 -0.413 0" endTrans="0 0.058 0"/>

<part node="0>6|1|0|0" startTime="1.05" endTime="2" startTrans="0 0.059 0" endTrans="0 0.526 0"/>

<part node="0>6|1|0|0|0" startTime="2.05" endTime="3" startTrans="0 0.016 0" endTrans="0 0.471 0"/>

<part node="0>6|1|0|0|0|0" startTime="3.05" endTime="4" startTrans="0 0.013 0" endTrans="0 0.467 0"/>

<part node="0>6|1|0|0|0|0|0" startTime="4.05" endTime="5" startTrans="0 0.001 0" endTrans="0 0.445 0"/>

<part node="0>6|1|0|0|0|0|0|0" startTime="5.05" endTime="6" startTrans="0 0.008 0" endTrans="0 0.444 0"/>

<part node="0>6|1|0|0|0|0|0|0|0" startTime="6.05" endTime="7" startTrans="0 0.004 0" endTrans="0 0.426 0"/>


<!-- Heckklappe -->

<part node="0>6|0|1" startTime="0" endTime="2" startRot="0 0 0" endRot="92 0 0"/>


</animation>


<!-- move support -->

<animation name="moveSupport">

<part node="0>6|3" startTime="0" endTime="0.2" startTrans="0.41534 0.47 3.68581" endTrans="0.41534 -0.00646 3.68581"/>

<part node="0>9" startTime="0" endTime="0.01" visibility="true"/>

<part node="0>9" startTime="0.01" endTime="0.2" visibility="false"/>

<part node="0>10" startTime="0" endTime="0.01" visibility="true"/>

<part node="0>10" startTime="0.01" endTime="0.2" visibility="false"/>

<part node="0>1|2" startTime="0" endTime="0.01" visibility="false"/>

<part node="0>1|2" startTime="0.01" endTime="0.2" visibility="true"/>

<part node="0>0|3" startTime="0" endTime="0.01" visibility="false"/>

<part node="0>0|3" startTime="0.01" endTime="0.2" visibility="true"/>


<!--part componentJointIndex="1" startTime="0" endTime="0.05" startRotLimit="2 0 0" endRotLimit="0 0 0"/-->


</animation>


</animations>


<support animationName="moveSupport"/>

<washable dirtDuration="90" washDuration="1" workMultiplier="4"/>

<components count="3">

<component1 centerOfMass="0 0.5 -1.5" solverIterationCount="20"/>


<!-- mainFrame -->

<component2 solverIterationCount="15"/>


<!-- supportBar -->

<component3 centerOfMass="0 0 -0.5" solverIterationCount="120"/>


<!-- Deichsel -->

<joint component1="0" component2="1" index="0>6|3|0" rotLimit="0 0 0" transLimit="0 0 0"/>


<!-- supportBar -->

<joint component1="2" component2="0" index="2>5" rotLimit="0 0 0" transLimit="0 0 0"/>


<!-- Deichsel -->

</components>
<schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>





</vehicle> [/spoiler]

and here the log [spoiler]GIANTS Engine Runtime 7.0.0 (14200) 64bit (Build Date: Feb 13 2017)
Copyright (c) 2008-2016, GIANTS Software GmbH (giants-software.com), All Rights Reserved.
Copyright (c) 2003-2016, Christian Ammann and Stefan Geiger, All Rights Reserved.
Application: FarmingSimulator2017
Main System
CPU: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
Memory: 7845 MB
OS: Windows NT 10.0 64-bit
Physics System
Version: 5.9.5
Thread(s): 2
Input System
Keyboard enabled
Mouse enabled
Gamepad/Joystick enabled
Force Feedback disabled
Audio System
Driver: OpenAL
Version: 1.1
Device: Generic Software
Render System
Driver: Direct 3D 11
Card Vendor: Intel Corporation
Renderer: Intel(R) HD Graphics 4600
Version: 20.19.15.4531 (29.9.2016)
Revision: 6
Feature level: DirectX 11 ON
Info: Effective window resolution 1280 x 720
Started 2 threads for threadpool 'Render threadpool'
Hardware Profile
Level: Custom High
View Distance Factor: 1.100000
Shadow Quality: 2.000000 Size: 4096 Filter-Size: 16
Shader Quality: 2
Skip Mipmaps: 0
LOD Distance Factor: 1.100000
Terrain LOD Distance Factor: 1.500000
Terrain Normal Mapping: Yes
Foliage View Distance Factor: 1.400000
Foliage Density: 0.500000
Volume Mesh Tessellation Factor: 0.850000
Tyre Tracks Segments Factor: 2.000000
Max. Number of Shadow Lights: 3
Max. Number of Lights: 512
Max. Number of Lights Per Cluster: 32
MSAA: 2
Farming Simulator 17
Version: 1.4.2.0 1.4.2RC5
Available Languages: en de jp pl cz fr es ru it pt hu nl cs ct br tr ro kr
Language: nl
Time: 2017-02-14 00:48:17
Register configuration 'inputAttacherJoint'
Register configuration 'attacherJoint'
Register configuration 'frontloader'
Register configuration 'motor'
Register configuration 'baseColor'
Register configuration 'wheel'
Register configuration 'rimColor'
Register configuration 'design'
Register configuration 'designColor'
Register configuration 'vehicleType'
Game vehicle types loaded
Load mod: WagnerWK800Plus (Version: 1.0.0.0)
Error: Can't load resource 'C:/Users/machiel/Documents/My Games/FarmingSimulator2017/mods/WagnerWK800Plus/Textures/store_Fortuna.dds'.
Register vehicle type: WagnerWK800Plus.FortunaFTM300
dataS/cameraPath01.i3d (0.10) ms
dataS/cameraPath02.i3d (0.10) ms
dataS/cameraPath03.i3d (0.08) ms
data/sky/skyUS_day_night.i3d (13.40) ms
data/sky/rain.i3d (1.61) ms
data/sky/hail.i3d (0.80) ms
data/sky/dust.i3d (0.67) ms
data/maps/map01.i3d (3650.53) ms
data/objects/basketball/basketball.i3d (11.23) ms
Disabled withering
data/vehicles/steerable/caseIH/caseIH1660.i3d (141.21) ms
data/vehicles/cutters/caseIH/caseIH1030Cutter.i3d (98.81) ms
data/vehicles/steerable/newHolland/newHolland8340.i3d (106.69) ms
data/vehicles/tools/kuhn/kuhnCultimerL300.i3d (53.02) ms
data/vehicles/steerable/caseIH/caseIH1455.i3d (165.63) ms
data/vehicles/tools/greatPlains/gp3P1006NT.i3d (68.73) ms
data/vehicles/trailers/metaltech/db8000.i3d (92.50) ms
data/vehicles/steerable/lizard/lizardPickupRodeo.i3d (94.09) ms
data/placeables/shelters/storageShelter02.i3d (5.70) ms
data/placeables/shelters/storageShelter01.i3d (9.95) ms
data/placeables/shelters/vehicleShelter.i3d (4.07) ms
data/objects/bigBagContainer/bigBagContainerSeeds.i3d (18.70) ms
data/objects/pallets/fertilizerTank.i3d (11.01) ms
data/objects/bigBagContainer/bigBagContainerFertilizer.i3d (6.42) ms
data/vehicles/train/locomotive.i3d (72.23) ms
data/vehicles/train/wagonTimber.i3d (35.59) ms
data/vehicles/train/wagonWoodChips.i3d (37.65) ms
data/vehicles/train/wagonGrain.i3d (35.38) ms
data/vehicles/train/wagonSugarbeets.i3d (36.13) ms
dataS2/character/player/player01.i3d (279.60) ms
Error: Can't load resource 'C:/Users/machiel/Documents/My Games/FarmingSimulator2017/mods/WagnerWK800Plus/store.dds'.
Error: Can't load resource 'C:/Users/machiel/Documents/My Games/FarmingSimulator2017/mods/WagnerWK800Plus/store.dds'.
C:/Users/machiel/Documents/My Games/FarmingSimulator2017/mods/WagnerWK800Plus/Fortuna_FTM.i3d (354.90) ms
Warning: reverseLights.reverseLight#index in 'C:/Users/machiel/Documents/My Games/FarmingSimulator2017/mods/WagnerWK800Plus/FortunaFTM300.xml' is not supported anymore. Use reverseLights.reverseLight#realLight and reverseLights.reverseLight#decoration instead.
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (60) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (88) : loadLights
dataS/scripts/vehicles/specializations/Lights.lua (160) : loadLightSetup
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|17|0
Warning: decoration or/and realLight missing for light 'vehicle.lights.low.light(1)' in 'C:/Users/machiel/Documents/My Games/FarmingSimulator2017/mods/WagnerWK800Plus/FortunaFTM300.xml'
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (60) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (88) : loadLights
dataS/scripts/vehicles/specializations/Lights.lua (161) : loadLightSetup
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|17|0
Warning: decoration or/and realLight missing for light 'vehicle.lights.high.light(1)' in 'C:/Users/machiel/Documents/My Games/FarmingSimulator2017/mods/WagnerWK800Plus/FortunaFTM300.xml'
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (60) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (187) : loadLights
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|17|2
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (60) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (227) : loadLights
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|17|1|0
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (60) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (237) : loadLights
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|17|1|1
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/vehicles/specializations/AnimatedVehicle.lua (78) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|9|14
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/vehicles/specializations/AnimatedVehicle.lua (78) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|9|15
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/vehicles/specializations/AnimatedVehicle.lua (78) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|9|16
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/vehicles/specializations/AnimatedVehicle.lua (78) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|9|17
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/vehicles/specializations/AnimatedVehicle.lua (78) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|9|18
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/vehicles/specializations/AnimatedVehicle.lua (78) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|9|19
Warning (Script): Entity 'fillVolumes' has invalid type in method 'createFillPlaneShape'.
LUA call stack:
dataS/scripts/vehicles/specializations/FillVolume.lua (70) : createFillPlaneShape
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Warning (LUA): 'setVisibility': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/vehicles/specializations/FillVolume.lua (71) : setVisibility
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/vehicles/specializations/FillVolume.lua (119) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|7|0
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/FillVolume.lua (178) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|5|1|0
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/FillVolume.lua (178) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|5|1|1
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/FillVolume.lua (178) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|5|1|2
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/FillVolume.lua (178) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|5|1|3
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/FillVolume.lua (178) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|5|1|4
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/FillVolume.lua (178) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|5|1|2
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/FillVolume.lua (178) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>6|0|5|1|3
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/vehicles/specializations/Trailer.lua (129) : indexToObject
dataS/scripts/vehicles/Vehicle.lua (626)
dataS/scripts/BaseMission.lua (767) : load
dataS/scripts/BaseMission.lua (914) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1035) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1870) : update
Index: 0>13|0
Error: failed to load i3d file 'data/vehicles/particleAnimations/shared/unloadingBack.i3d'
Error: failed to load i3d file 'data/vehicles/particleAnimations/shared/unloadingBack.i3d'
Error: Running LUA method 'update'.
dataS/scripts/vehicles/specializations/Trailer.lua(159) : attempt to index a nil value
Application exit request forced.
Application exit request forced.
[/spoiler]




Emil Drefers (Unknown) 20.02.2017 17:02
Hi,

please make sure to integrate your mod with as less errors/warnings as possible.

In the shown example there are way too may problems.

Anyhow, the actual problem might be that a "fillVolume" could not be created.
You can test that by using the editor.
-> select the fillVolume
-> got to menu -> Scripts -> Vehicles -> Fill Plane -> Fill Plane Create

But before checking this, I would highly recommend to eliminate all other mistakes.

Cheers,
Emil

Machiel Evink (machiell) 20.02.2017 22:27
Hi,

Yes youre right.
I cant see it in the editor only the dirtscript.
I have solfed a few problems but thats al lot of work.

how can i script the fill plane?

Thanks,
machiell

Emil Drefers (Unknown) 21.02.2017 13:42
Hi,

if you wanna script your own functionalities for a fillVolume please have a look at our script documentation.
Everything you need and can do is shown there.

e.g.
https://gdn.giants-software.com/documentation_scripting.php?version=script&category=70&class=2642

Cheers,
Emil


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