LuziferSenpai / factorio-mods

0 stars 1 forks source link

[BUG] ACS: Trains forget all interrupts when coupling #3

Open ChakatStormCloud opened 1 month ago

ChakatStormCloud commented 1 month ago

Describe the bug Trains will forget all interrupts when coupling, regardless of direction, or what it's coupling to, even if the connects to engine with the exact same schedule. This does not happen when decoupling.

To Reproduce Steps to reproduce the behavior:

  1. Setup a train with interrupts, send it to do anything
  2. as soon as it successfully couples it will forget all interrupts

Expected behavior Do not forget the interrupts

Screenshots

Mod Information

Factorio Error Report

Additional context If the train is part of a group, it will instantly overwrite the trains schedule, re-adding the interrupts but removing any temporary stops (thus breaking out of any interrupts it's performing), and continue to the next station in the normal schedule.

LuziferSenpai commented 1 month ago

Yea, that is a current problem with the API. While testing in the beta, robot256 and I noticed this too. I cant fix this currently, because of missing API endpoints.

I hope by next week we get the missing API Endpoints.