Mogli12 / GearboxAddon

Farming Simulator 2017: Gearbox addon
GNU General Public License v3.0
53 stars 28 forks source link

gearboxMogli.lua:2723: attempt to index a nil value / tempomatMogli.lua:460: attempt to index field 'cruiseControl' (a nil value) #351

Closed RuppMartin001 closed 6 years ago

RuppMartin001 commented 6 years ago

Hallo Stefan,

ich habe versucht in einem bestehenden Spiel Gearbox hinzuzufügen (Version 3.0.3.8 laut moddesc). Leider startet das Spiel dann nicht.

Im Log steht:

C:/Daten/Landwirtschafts Simulator 17/Installed Mods/FS17_woodCrusher/FS17_woodCrusher.i3d (216.40) ms

Error 3 loading gearboxMogliLoader: C:/Daten/Landwirtschafts Simulator 17/Installed Mods/FS17_GearboxAddon_3_3_1_0_b38/gearboxMogli.lua:2723: attempt to index a nil value Error: Running LUA method 'loadSharedI3DFileFinished'. C:/Daten/Landwirtschafts Simulator 17/Installed Mods/FS17_GearboxAddon_3_3_1_0_b38

/tempomatMogli.lua:460: attempt to index field 'cruiseControl' (a nil value)

Möglichweise passen die anderne Mods nicht. Ich vermute, dass es an FS17_ponyRideable oder F17_woodcrusher liegt. Die Mods haben motoren und sind doch eigentlich keine Fahrzeuge.

Ich habe bei einem Teil der Fahrzeuge dies zu der Konfiguration hinzugefügt:

...

Beim Pony und bein Woodcrusher aber nicht.

An was könnte es liegen?

Die vehicles.xml findest du hier: vehicles.zip

Viele Grüße

Martin

Mogli12 commented 6 years ago

Hallo Martin,

irgendein Fahrzeug hat ein Getriebe aber nicht die Spec. Drivable?

Viele Grüße, Stefan

RuppMartin001 commented 6 years ago

Hallo Stefan,

vielen Dank!

Das Problem lag am „Holzbrecher“ (F17_woodCrusher.zip).

http://www.farming-simulator.com/mod.php?lang=de http://www.farming-simulator.com/mod.php?lang=de&country=de&mod_id=101761&title=fs2017 &country=de&mod_id=101761&title=fs2017

Als ich den Mod vom Spiel abgewählt hatte, konnte ich das Spiel mit dem GearboxAddon-Mod öffnen.

Bei dem “Holzbrecher“- Mod gibt es eine Definition von Übersetzungen.

Drivable macht aber keinen Sinn, da es ja ein Anhänger mit Holzhäcksler ist.

Viele Grüße

Martin

Von: Stefan Biedenstein [mailto:notifications@github.com] Gesendet: Montag, 12. März 2018 08:12 An: Mogli12/GearboxAddon Cc: RuppMartin001; Author Betreff: Re: [Mogli12/GearboxAddon] gearboxMogli.lua:2723: attempt to index a nil value / tempomatMogli.lua:460: attempt to index field 'cruiseControl' (a nil value) (#351)

Hallo Martin,

irgendein Fahrzeug hat ein Getriebe aber nicht die Spec. Drivable?

Viele Grüße, Stefan

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Mogli12/GearboxAddon/issues/351#issuecomment-372212494 , or mute the thread https://github.com/notifications/unsubscribe-auth/Abfxiwdu4fSvMfARLdQ4IKpoi6hiGxI0ks5tdh-xgaJpZM4Sl6a6 . https://github.com/notifications/beacon/Abfxi890jDVYMjHeo0tWHeY54xJ8tO80ks5tdh-xgaJpZM4Sl6a6.gif

Mogli12 commented 6 years ago

The problem should not occur anymore with version 3.0.4.0.

RuppMartin001 commented 6 years ago

Thank you very much!

The errors appear no longer!