bergerhealer / TrainCarts

Minecarts redefined
MIT License
205 stars 63 forks source link

Switcher sign fault not switching rail to the left #493

Open jeddell opened 9 months ago

jeddell commented 9 months ago

Info

Please provide the following information:


Bug

Description

Trying to set up a switcher sign so that the rail turns left, (travelling north to south) so that a train with a particular name, turns left. On t he sign: line 1: [+train] line 2: switcher line3: e:n@loop2 line4: s:default

The train, named 'loop2', did not turn left (east).

Expected behaviour

Train should have turned east at the rail intersection.

Actual behaviour

Train did NOT turn as expected

Steps to reproduce

  1. Created a rail line heading north to south
  2. Added a line head east adjacent to this line
  3. placed a switcher sign as detail above, 1 block below the rail line heading north to south at the intersection of the east line. The text of the sign faces west, so that when you are editing the sign, you as t he player are facing east.
  4. Added the text as detailed above, along with many other permutations to try and get the train line to redirect the train to turn east. Including test variations such as e:true, l:true etc.

Additional Information

I did seek help from t he discord support channel, however I felt that this may be a long term issue as all suggestion to rectify this issue failed.

List of attached images: Initial setting when issue was discovered: help_tc2

Image to show the name of the train and a default left signal in the switcher sign. train always travels north to south help_tc4

Orientation of the train line on the server and the expected behaviour after the sign is triggered. The sign is 1 block under the north south rail at the intersection facing west. help_tc5

The final setup before retiring for the night in an attempt to get the rail line to switch to the left. This failed also and prompted me to submit this as an issue. help_tc6

bergerkiller commented 9 months ago

I would advice updating bkcommonlib to 1.20.4-v1/2, as I generally only test with the latest builds of everything. TC does have some backwards-compatibility for older bkcommonlibs but its good to rule that out.

In that T junction screenshot, do trains come from the east? Because in its current sign position the sign will only activate for trains coming from that direction. If they come from another direction it should be specified with [+train:*] ideally.