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

This subforum contains all the issues which we already resolved.
Post Reply
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 » Mon Feb 22, 2016 5:10 am

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 67 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: 850
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [0.12.22] Train Manual mode via Script

Post by Twinsen » Wed Mar 02, 2016 11:33 am

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: 7085
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.22] Train Manual mode via Script

Post by kovarex » Thu Mar 03, 2016 10:56 am

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: 8877
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 » Mon Apr 03, 2017 10:57 am

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: 3550
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 » Mon Feb 12, 2018 4:28 pm

Still an issue in 0.16

Dominik
Factorio Staff
Factorio Staff
Posts: 455
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 » Fri Mar 16, 2018 4:52 pm

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

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users