stijnwop / manualAttach

Manual Attach modification for Farming Simulator 2022
GNU General Public License v3.0
108 stars 29 forks source link

Cannot disconnect CanAGRO 926 VT-HK belt/auger after connecting #86

Closed dziuch closed 2 years ago

dziuch commented 3 years ago

Manual Attach version: 1.1.0.0 and current master branch CanAGRO 926 VT-HK version: 1.0.0.0

Similar to issues #85 and #74 the CanAgro auger cannot be disconnected after connecting. I'm assuming it's because it has connectionHoses that ingame belts don't have.

I made it work by adding the following code after line 691 in src/ManualAttach.lua: or SpecializationUtil.hasSpecialization(ConveyorBelt, typeEntry.specializations)

Rensiur commented 3 years ago

After implementing the suggested fix the following warning and endless loading loop appears.

Message: 2020-11-10 22:19 Error: Running LUA method 'loadSharedI3DFileFinished'. 2020-11-10 22:19 I:/FS19_Mods/mods/FS19_manualAttach/src/vehicle/ManualAttachConnectionHoses.lua:175: attempt to index local 'spec' (a nil value)

dziuch commented 3 years ago

You mean during loading a save or in what situation? It works fine here, so please provide more info.

Rensiur commented 3 years ago

After implementing the line as you described I get the respective error whgen trying to load my map. I also have regular problems trying to unhook implements, always being asked to lower them, which is nonsense for Seeding units and the like . So maybe some issue on my side.