stijnwop / manureSystem

Manure System modification for Farming Simulator 2022
GNU General Public License v3.0
98 stars 57 forks source link

Warning (nil): Invalid connector type COUPLING #99

Open IosifStalin opened 4 years ago

IosifStalin commented 4 years ago

000000 What am i doing wrong

            <unloadingTrigger name="UnloadingTriggerFisch" exactFillRootNode="exactFillRootNode6">

            <manureSystemConnectors rootNode="0|5" fillType="lebfische" >
                <connector type="COUPLING" node="2|2|1"/>
            </manureSystemConnectors>

            </unloadingTrigger>

00000

Warning (nil): Invalid connector type COUPLING 2020-05-22 12:21 Error: Running LUA method 'GC_ProductionFactory.onCreate'. 2020-05-22 12:21 C:/Users/yuorn/Documents/My Games/FarmingSimulator2019/mods/FS19_GlobalCompany/triggers/GC_UnloadingTrigger.lua:211: table index is nil

I tried rootNode = "7 | 0" node = "4 | 84 | 0 | 0 | 5 | 2 | 2 | 1"

but nothing has changed

stijnwop commented 4 years ago

Did you enable the manure system?

IosifStalin commented 4 years ago

Did you enable the manure system? Yes, I added to MODDESK

<extraSourceFiles>        
<sourceFile filename="scripts/GC_Checker.lua" />
<sourceFile filename="scripts/ManureSystemAvailabilityCheck.lua" />
</extraSourceFiles>
stijnwop commented 4 years ago

I mean did you active the manure system mod itself.

IosifStalin commented 4 years ago

I mean did you active the manure system mod itself.

Yes

stijnwop commented 4 years ago

Please share your full log.

IosifStalin commented 4 years ago

log.txt

IosifStalin commented 4 years ago

Please share your full log.

Can you give me a map in order to make it clearer?

stijnwop commented 4 years ago

What if you left out the type="COUPLING" cause it should default on that.

Floowy commented 4 years ago

Not a placeable object, faced the same issue a few hours ago. Need to be changed into a GC_PLACEABLE, not possible to get this running with a "built-in" GC-Production.

Anonymous-any commented 3 years ago

Not a placeable object, faced the same issue a few hours ago. Need to be changed into a GC_PLACEABLE, not possible to get this running with a "built-in" GC-Production.

   Warning (nil): Invalid connector type COUPLING
 Error: Running LUA method 'GC_ProductionFactory.onCreate'.
 mods/FS19_GlobalCompany/triggers/GC_UnloadingTrigger.lua:211: table index is nil

Hello, I'm on same issue ... I search to add hose for diesel in a factory GlobalCompany in map already like the same (Yagodnoe 2.5.1). I not know good why GC team don't fix this ? who is the faulty ? @Floowy , or other Can you explain better for non initiate like me please ? "Need to be changed into a GC_PLACEABLE" you mean where so ? and what else ? I can have no errors by replace/adding (Placeable) in xml factory and i3dmap like below :

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<globalCompany>
    <productionFactories>
        <productionFactoryPlaceable indexName="Karjer" saveId="globalCompany_Karjer">

<Attribute name="onCreate" type="scriptCallback" value="GC_ProductionFactoryPlaceable.onCreate"/> but I not have the factory in the onCreateObjects.xml saveGame folder. I hope this can be solved ? Thank regard