Elvas Tower: Reworking the Dispatcher Window - Elvas Tower

Jump to content

Posting Rules

All new threads will be started by members of the Open Rails team, Staff, and/or Admins. Existing threads started in other forums may get moved here when it makes sense to do so.

Once a thread is started any member may post replies to it.
  • 9 Pages +
  • « First
  • 6
  • 7
  • 8
  • 9
  • You cannot start a new topic
  • You cannot reply to this topic

Reworking the Dispatcher Window How could we make it more intuitive? Rate Topic: -----

#71 User is offline   cjakeman 

  • Vice President
  • PipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 2,876
  • Joined: 03-May 11
  • Gender:Male
  • Location:Peterborough, UK
  • Simulator:Open Rails
  • Country:

Posted 16 October 2023 - 06:28 AM

View Postcjakeman, on 15 October 2023 - 08:14 AM, said:

Next, I'll have a look at the Map Window translations. Since it was originally just a Debug Window, I don't think it ever had translations working.


I've got the translations in the MapForm to work now on my PC, as in the first image.

Attached Image: 2023-10-16 15_22_28-Open Rails.jpg


Windows Forms require an extra statement and you have to run Localizer.Localize() on the appropriate catalog after you initialize the form - see code diff below.

Attached Image: 2023-10-16 15_24_37-GitHub Desktop.jpg

Hope this helps,

#72 User is offline   Looky1173 

  • Hostler
  • Group: Status: Active Member
  • Posts: 67
  • Joined: 16-May 22
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 24 October 2023 - 05:10 AM

View Postcjakeman, on 16 October 2023 - 06:28 AM, said:

Windows Forms require an extra statement and you have to run Localizer.Localize() on the appropriate catalog after you initialize the form - see code diff below.

Thank you for your help Chris, I finally got translations working! However, they do not work with dropdown menus (ContextMenuStrip), and I can't find anything online for why should this be.

In general, the new Map window has reached feature parity with the old one (as of the build after U2023.10.24-0407), so please test it and let me know of any bugs! I will soon remove the old Dispatcher if everyone's satisfied with the new one. Additional features for the new window will come in subsequent PRs (pull requests).

#73 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,039
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 24 October 2023 - 12:18 PM

Szervusz, Gergely.
>Drop-down menus
They should have get text tags, as I can see.

#74 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,016
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 10 December 2023 - 12:56 PM

Maybe I have lost some related post, but where can I find the Daylight offset box in the new Map Window?

#75 User is offline   Looky1173 

  • Hostler
  • Group: Status: Active Member
  • Posts: 67
  • Joined: 16-May 22
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 11 December 2023 - 03:48 AM

View PostCsantucci, on 10 December 2023 - 12:56 PM, said:

Maybe I have lost some related post, but where can I find the Daylight offset box in the new Map Window?

It's now a key combination, like the other debug actions:

Attached Image: Screenshot 2023-12-11 124402.jpg

#76 User is offline   cjakeman 

  • Vice President
  • PipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 2,876
  • Joined: 03-May 11
  • Gender:Male
  • Location:Peterborough, UK
  • Simulator:Open Rails
  • Country:

Posted 11 December 2023 - 07:17 AM

View PostLooky1173, on 11 December 2023 - 03:48 AM, said:

It's now a key combination, like the other debug actions:

So that you can use it without opening the Map Window.


Glad you find it useful.


#77 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,016
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 11 December 2023 - 12:27 PM

Thanks, Gergely.

#78 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,039
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 16 December 2023 - 05:47 AM

Hello.
I'm grateful to authors for this new window - the next step for such long-awaited 2-d viewer.
I hope, some day it will become standalone option to run the game - very useful as a low-resource consumption testing environment for activity/timetables debugging.
Pair of issues, partially tied with translation:
Attached Image: мп.jpgAttached Image: м.jpg
Drawn path now is light-blue (instead of red before) dashed line, platforms are light-light blue and very thin highlight - They both are looking the same now!:(.
So it's hard to see platforms on map.

What "Allow new players to join" and "Penalty for speeding && SPAD" actually mean?
I have to re-phrase those for fitting fields, but the Manual tells no details.

#79 User is offline   Looky1173 

  • Hostler
  • Group: Status: Active Member
  • Posts: 67
  • Joined: 16-May 22
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 16 December 2023 - 06:57 AM

Hi Weter,

I appreciate your feedback, and will look into making platforms stand out more. By the way, do you like the dashed path, or would you prefer it to be drawn as a solid line as in the old Map window?

"Allow new players to join" controls whether players who aren't in the multiplayer server may join the session. If it's checked (it is by default), people will be able to join your multiplayer session normally. If it's unchecked, the server will refuse any new connections and those who attempt to join will start in the classic offline single player mode instead.

I copied "Penalty for speeding & SPAD" (the double ampersand && is necessary as explained here, but I should probably change it to the second solution to avoid confusion) from the old Map window. However, I've just done some digging into the code and it appears that this option actually does nothing. Essentially, in its current state, it's a waste of CPU time. It would be interesting to hear from a developer who knows more about why this option was added and if it is still needed or not.

#80 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,039
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 16 December 2023 - 07:06 AM

Good evening, Gergely!
Thanks for interest.
I think, dashed path drawing is a good idea. Maybe, making it thinner on greater map magnification?

Hm, Do I understand it right, since multiplayer dispatcher (host) have decided, that there are enough players already - he can uncheck that box to prevent new players joining, while everyone, who have already joined will be left within multiplayer and allowed to continue current session?

  • 9 Pages +
  • « First
  • 6
  • 7
  • 8
  • 9
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users