[Dominik] [0.12.22] [for 0.17] Train Manual mode via Script

This subforum contains all the issues which we already resolved.
Cbrad24
Inserter
Inserter
Posts: 29
Joined: Sun Dec 20, 2015 4:36 am
Contact:

[Dominik] [0.12.22] [for 0.17] Train Manual mode via Script

Post by Cbrad24 »

Changing a train to manual mode via script while the UI is open means that the Manual Start/Stop button doesn't resync until you Close/Re-open the UI.

I have created a mini-mod to demonstrate, but I won't be surprised if this is added to the 0.13 changes.
trainmanual_minimod_1.0.0.zip
Small mod that constantly changes any locomotive to manual while in the driver seat.
(942 Bytes) Downloaded 258 times
Steps to reproduce:
  • 1. Add mod
    2. Hop into any locomotive
    3. Open Train UI
    4. Set to automatic
    5. Mod sets to manual, doesn't update button
    6. Close UI, Open again and button is in manual
Twinsen
Factorio Staff
Factorio Staff
Posts: 1354
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [0.12.22] Train Manual mode via Script

Post by Twinsen »

This is a general problem with all, or most GUIs.
GUIs don't listen to game state changes because of the problems that will be caused by the multiplayer latency.

Waiting for kovarex to move this somewhere.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.22] Train Manual mode via Script

Post by kovarex »

I think that this one is not hard to solve, but it will have to wait for 0.13 as the gui is redesigned there and I don't want to do double work.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14360
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.12.22] [waiting for 0.13] Train Manual mode via Script

Post by Rseding91 »

We may look into these kinds of "bugs" in the future but right now this is how it works.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5290
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.12.22] [waiting for 0.13] Train Manual mode via Script

Post by Klonan »

Still an issue in 0.16
Dominik
Former Staff
Former Staff
Posts: 658
Joined: Sat Oct 12, 2013 9:08 am
Contact:

Re: [Dominik] [0.12.22] [for 0.17] Train Manual mode via Script

Post by Dominik »

Okey, fixed, but by a new gui update system that will be in 0.17.
Post Reply

Return to “Resolved Problems and Bugs”