[Patch] Departure boards, 24h clock + binary 25 (r27452)

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

rsdworker
Traffic Manager
Traffic Manager
Posts: 144
Joined: 18 Mar 2009 13:58

Re: [Patch] Departure boards, 24h clock + binary

Post by rsdworker » 25 Jan 2012 21:53

hthhs wrote:I've added the ability to enter timetable start dates as text (in hhmm format) instead of using the date gui when "Show time in minutes rather than days" is enabled. Enable Interface > "Enter timetable start times as text ..." to do this.

Any leading zeroes in the time may be omitted, so e.g. 0120 may be entered as 120, and 0005 may be entered as 5.

The first post in the thread has been updated with the new diff. Enjoy! :)
nice :)

User avatar
Level Crossing
Tycoon
Tycoon
Posts: 1183
Joined: 07 Feb 2011 22:04
Location: East Coast, United States

Re: [Patch] Departure boards, 24h clock + binary

Post by Level Crossing » 26 Jan 2012 22:37

I have a suggestion that (IMO) would improve this patch...

Can you make an option to show only one departure instead of several identical ones at the same time? For example, if I have 5 buses departing at the same time to the same place, only one will be shown.

Is this possible?
Like my avatar? See my screenshot thread
Chill's Patchpack, an awesome collection of OTTD patches

hthhs
Engineer
Engineer
Posts: 107
Joined: 03 Sep 2010 12:58
Location: London, UK

Re: [Patch] Departure boards, 24h clock + binary

Post by hthhs » 27 Jan 2012 23:22

Done :) use the setting Interface > Departure boards > Merge identical departures.

The first post of the thread has been updated with the new diff.

Edit: binary updated too.

User avatar
Norfolkadam
Engineer
Engineer
Posts: 77
Joined: 11 Jun 2010 19:16
Location: Norfolk, UK
Contact:

Re: [Patch] Departure boards, 24h clock + binary 24 (r23954)

Post by Norfolkadam » 18 Feb 2012 23:27

I was just wondering if there is any way to stop the time appearing as 03:.. in the timetabling window half the time and instead have the actual arrival/departure time all the time?
Helmland - The English and Danish island in the North Sea

hthhs
Engineer
Engineer
Posts: 107
Joined: 03 Sep 2010 12:58
Location: London, UK

Re: [Patch] Departure boards, 24h clock + binary 24 (r23954)

Post by hthhs » 19 Feb 2012 12:26

That doesn't happen for me :? please can you post a screenshot of what's happening?

User avatar
Norfolkadam
Engineer
Engineer
Posts: 77
Joined: 11 Jun 2010 19:16
Location: Norfolk, UK
Contact:

Re: [Patch] Departure boards, 24h clock + binary 24 (r23954)

Post by Norfolkadam » 19 Feb 2012 15:26

Here's a screenshot for you. You can see that some of the times in the timetable are 05:.. etc
Attachments
Bedested Transport, 8th Dec 2854.png
(323.16 KiB) Downloaded 7 times
Helmland - The English and Danish island in the North Sea

User avatar
jvassie
Tycoon
Tycoon
Posts: 3420
Joined: 18 Dec 2002 18:00
Location: High Wycombe, England
Contact:

Re: [Patch] Departure boards, 24h clock + binary 24 (r23954)

Post by jvassie » 19 Feb 2012 16:15

Norfolkadam wrote:Here's a screenshot for you. You can see that some of the times in the timetable are 05:.. etc
Looks to me like a font size issue.
(British) Modular Stations Set - Thread: | Website:
Swiss Set - Thread: | Website:
Route Map Creator
Image

Eddi
Tycoon
Tycoon
Posts: 7420
Joined: 17 Jan 2007 00:14

Re: [Patch] Departure boards, 24h clock + binary 24 (r23954)

Post by Eddi » 19 Feb 2012 17:55

it's the same issue as mentioned here: http://www.tt-forums.net/viewtopic.php?p=927020#p927020
are you using an outdated patch?
You might not exactly be interested in Ferion, but if you are, have fun :)

hthhs
Engineer
Engineer
Posts: 107
Joined: 03 Sep 2010 12:58
Location: London, UK

Re: [Patch] Departure boards, 24h clock + binary 24 (r23954)

Post by hthhs » 22 Feb 2012 22:15

I don't have time to fix it properly this week, but here's a quick and dirty hack that should work...
Attachments
departureboardswallclock24_1-r23974.diff
(126.48 KiB) Downloaded 171 times

tim_c
Engineer
Engineer
Posts: 86
Joined: 16 May 2007 19:40
Location: St Neots

Re: [Patch] Departure boards, 24h clock + binary 24 (r24156)

Post by tim_c » 17 May 2012 10:21

Can anyone compile this for OSX, as I'm stupid and can't do it

Please? ;)

hthhs
Engineer
Engineer
Posts: 107
Joined: 03 Sep 2010 12:58
Location: London, UK

Re: [Patch] Departure boards, 24h clock + binary 24 (r24156)

Post by hthhs » 19 May 2012 21:52

I would, but unfortunately I don't have a mac. All I can do is point you at the instructions on the wiki.

It seems to me that the simplest way to do it is to:

* Install MacPorts and the libraries required to compile OpenTTD (instructions)
* Install svn (instructions)
* Get the latest source (instructions)
* Apply the patch (instructions)
* Compile (instructions)

Good luck! The hardest part is getting it set up and compiling successfully for the first time. Subsequent compiles should be much easier. :)

Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4741
Joined: 09 Sep 2007 05:03
Location: home

Re: [Patch] Departure boards, 24h clock + binary 24 (r24263)

Post by Alberth » 20 May 2012 06:50

And in the first try please skip the "apply patch" step, to test the compiler setup.

tim_c
Engineer
Engineer
Posts: 86
Joined: 16 May 2007 19:40
Location: St Neots

Re: [Patch] Departure boards, 24h clock + binary 24 (r24263)

Post by tim_c » 20 May 2012 07:35

Well thanks; I'll give it a go but I've never managed it before! :)

jostor
Engineer
Engineer
Posts: 48
Joined: 10 Jan 2012 19:38

Re: [Patch] Departure boards, 24h clock + binary 24 (r24474)

Post by jostor » 15 Sep 2012 10:08

Is there some way to change the current time on the clock (and also change all timetables accordingly)? Due to some bugs, my attempt at creating 24h timetables have been screwed over by the clock being faster than the ingame ticks if you are having FPS drops in game (for example after playing a very heavy map.

What I want to do is basically to just set the clock back for example 3 hours and have all the trains timetable orders also jump 3 hours back (so no trains are delayed/early, it's just like for example if you adjusted for DST).

hthhs
Engineer
Engineer
Posts: 107
Joined: 03 Sep 2010 12:58
Location: London, UK

Re: [Patch] Departure boards, 24h clock + binary 24 (r24576)

Post by hthhs » 08 Oct 2012 15:41

I've added a clock offset setting that should allow you to do what you want. Patch updated in the first post of the thread.

jostor
Engineer
Engineer
Posts: 48
Joined: 10 Jan 2012 19:38

Re: [Patch] Departure boards, 24h clock + binary 24 (r24576)

Post by jostor » 13 Oct 2012 08:25

hthhs wrote:I've added a clock offset setting that should allow you to do what you want. Patch updated in the first post of the thread.
Great, cheers for the update! :)

Eddi
Tycoon
Tycoon
Posts: 7420
Joined: 17 Jan 2007 00:14

Re: [Patch] Departure boards, 24h clock + binary 24 (r24576)

Post by Eddi » 14 Oct 2012 20:47

hthhs wrote:I've added a clock offset setting that should allow you to do what you want. Patch updated in the first post of the thread.
you should probably automatically update this offset when using the year cheat (or looping the end year), to have the time stay constant?
You might not exactly be interested in Ferion, but if you are, have fun :)

Kimby
Engineer
Engineer
Posts: 48
Joined: 02 Dec 2009 15:42

Re: [Patch] Departure boards, 24h clock + binary 24 (r24576)

Post by Kimby » 24 Dec 2012 17:01

I'd like to report a few issues I noticed with this patch in the version present in the latest ChilPP (sorry if you already fixed the problems in later versions)

The easiest issue:
I play with both the train name and the group name showing on the board. However, it seems there's no space at all reserved between those two fields, resulting in the groupname being behind the train name without any kind of separation for the longest train names on the board. For now I fixed it by starting all my groupnames with a space, but it would be nicer if the patch could handle that :)

The other issue:
I play with "Handle conditional order jumps by assuming they will not be taken". Mostly, that works fine, but I get the feeling something weird happens when an unconditional jump is encountered. Could it be that the patch still thinks it will not be taken ?

My orders are roughly like this (simplyfied, but the essence remains)

Code: Select all

1 Go to A
2 Jump to 8 when requires service is true
3 Go to B
4 Go to A
5 Jump to 10 when requires service is true
6 Go to B
7 Jump to 1
8 Go to Depot
9 Jump to 3
10 Go to Depot
11 Jump to 6
Everything works fine for the jumps in lines 2 and 5, but the jump in line 7 seems to ignored even when it's unconditional.
In fact, my timetable seems to be consistent with assuming unconditional jumps will not be made. Once the jump is actually made, the correct information suddenly appears on the board.

jirik
Engineer
Engineer
Posts: 3
Joined: 12 Aug 2008 21:29
Location: Hradec kralove
Contact:

Re: [Patch] Departure boards, 24h clock + binary 24 (r24576)

Post by jirik » 16 Jan 2013 14:55

Does anybody able to compile OTTD with these patches together: Departure boards and Cargo distribution? And make installation package (or just zip package for unziping)?

I have some problems with compiling ottd.

Thanks

Eddi
Tycoon
Tycoon
Posts: 7420
Joined: 17 Jan 2007 00:14

Re: [Patch] Departure boards, 24h clock + binary 24 (r24576)

Post by Eddi » 16 Jan 2013 17:00

You might not exactly be interested in Ferion, but if you are, have fun :)

Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 2 guests