Page 1 of 1

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

Posted: Mon Feb 22, 2016 5:10 am
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 237 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

Re: [0.12.22] Train Manual mode via Script

Posted: Wed Mar 02, 2016 11:33 am
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.

Re: [0.12.22] Train Manual mode via Script

Posted: Thu Mar 03, 2016 10:56 am
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.

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

Posted: Mon Apr 03, 2017 10:57 am
by Rseding91
We may look into these kinds of "bugs" in the future but right now this is how it works.

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

Posted: Mon Feb 12, 2018 4:28 pm
by Klonan
Still an issue in 0.16

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

Posted: Fri Mar 16, 2018 4:52 pm
by Dominik
Okey, fixed, but by a new gui update system that will be in 0.17.