Ive been using this plugin for months without issue and yesterday after I wiped the server but kept the same custom map, the original Workcart doesnt seem to want to connect with my set of trains.
Im using the process: /awt.add Workcart - and then: /awt.train Workcart WagonB WagonB Caboose Workcart - to make a 5 car train.
This has been working but now the original workcart doesnt connect to the 4 back train cars.
My server has 5 trains going around with 5 cars each. But now because of this I have about 10 or so trains with half of them being just Workcarts that wouldnt connect.
Any idea why this just now started happening? Also - does the forward/backward position on the track matter when it comes to spawning the original Workcart and the awt.train (train cars) or not? I have tried moving the original Workcart spawn slightly behind the edit trigger that adds all the rest, and it still doesnt connect.
Trains not connecting at creationSolved
Can you try this version?
https://raw.githubusercontent.com/WheteThunger/AutomatedWorkcarts/master/AutomatedWorkcarts.cs
WhiteThunder
Can you try this version?
https://raw.githubusercontent.com/WheteThunger/AutomatedWorkcarts/master/AutomatedWorkcarts.cs
Thanks for the reply! I uploaded that and had a look around at my train spawns with /awt.show and thought about it, and I think this may have been my fault. I think what I did was added original Workcart with /awt.add Workcart - and then did '/awt.add' again for the whole list of cars instead of '/awt.train' so then it duplicated the single Workcart and then the whole 5 car connected train.
Either way, problem is solved when I went back and removed the triggers for the whole 5 car setup, redid it with /awt.train [cars] and all is good :)
Makes sense, thanks for the update. Glad you figured it out.