Railcraft Reborn

Railcraft Reborn

3M Downloads

Interlock signal boxes do not react to connected boxes as expected

robotman2412 opened this issue ยท 2 comments

commented

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Bug

When wirelessly connected to a controller and a receiver and physically connected to another signal box (receiver signal box in this case), interlock signal boxes do not update their outputs when the state of the physically connected box changes.

Railcraft Reborn version

1.0.10

NeoForge/Forge version

Forge 47.2.20

Minecraft version

1.20.1

Minecraft server

No

To Reproduce

Place interlock signal boxes as shown in the picture:

  1. Wirelessly connected to a signal controller ("incoming signal") and a distant signal or signal receiver;
  2. Multiple of these units next to each other;
  3. Next to a signal receiver ("control signal") which is in turn connected to another signal controller.
    Observe the bug:
  4. Change the aspect of the control signal to green
  5. Change the aspect of an incoming signal A to green and all others to red
  6. Observe that distant signal A turns green (correct behaviour)
  7. Change the aspect of the control signal to red
  8. Observe that no distant signals have changed (erroneous behaviour; all distant signals should be red)
  9. Change the aspect of incoming signal B to green
  10. Observe that no distant signals have changed (erroneous behaviour; distant signal A should have become green)
  11. Change the aspect of incoming signal B to red
  12. Observe that no distant signals have changed (erroneous behaviour; distant signal A should have become/already been green)
  13. Change B to green again and then change A to red
  14. Observe that distant signal B turns green (correct behaviour)

Expected behavior

I expected the interlock signal boxes to always change their outputs when the "control signal" changes, as seen in this video of Railcraft by CovertJaguar.

Logs & Environment

(... hundreds of thousands of these lines of text ...)
[22Feb2024 14:28:39.099] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.100] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.100] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.100] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.100] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.100] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.100] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.106] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.106] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.106] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.149] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.149] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.149] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.149] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.149] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.149] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.149] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.149] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.149] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.149] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.154] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.154] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.154] [Server thread/WARN] [mods.railcraft.world.entity.vehicle.RollingStockImpl/]: Link mismatch between Minecart['Minecart'/47, l='ServerLevel[Tha Debug]', x=95.76, y=78.06, z=36.50] and Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50] (link was missing on Minecart['Minecart'/70, l='ServerLevel[Tha Debug]', x=97.32, y=78.06, z=36.50])
[22Feb2024 14:28:39.196] [Server thread/INFO] [net.minecraft.client.server.IntegratedServer/]: Saving and pausing game...
[22Feb2024 14:28:39.200] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[Tha Debug]'/minecraft:overworld
[22Feb2024 14:28:39.207] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[Tha Debug]'/minecraft:the_end
[22Feb2024 14:28:39.208] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[Tha Debug]'/minecraft:the_nether

Screenshots & Video

2024-02-22_14 13 19
https://www.youtube.com/watch?v=ivZqxCTl5pA

commented
commented

It works as expected now, thanks!