Page 13 of 15

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

Posted: 25 Jan 2012 21:53
by rsdworker
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 :)

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

Posted: 26 Jan 2012 22:37
by Level Crossing
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?

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

Posted: 27 Jan 2012 23:22
by hthhs
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.

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

Posted: 18 Feb 2012 23:27
by Norfolkadam
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?

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

Posted: 19 Feb 2012 12:26
by hthhs
That doesn't happen for me :? please can you post a screenshot of what's happening?

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

Posted: 19 Feb 2012 15:26
by Norfolkadam
Here's a screenshot for you. You can see that some of the times in the timetable are 05:.. etc

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

Posted: 19 Feb 2012 16:15
by jvassie
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.

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

Posted: 19 Feb 2012 17:55
by Eddi
it's the same issue as mentioned here: http://www.tt-forums.net/viewtopic.php?p=927020#p927020
are you using an outdated patch?

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

Posted: 22 Feb 2012 22:15
by hthhs
I don't have time to fix it properly this week, but here's a quick and dirty hack that should work...

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

Posted: 17 May 2012 10:21
by tim_c
Can anyone compile this for OSX, as I'm stupid and can't do it

Please? ;)

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

Posted: 19 May 2012 21:52
by hthhs
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. :)

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

Posted: 20 May 2012 06:50
by Alberth
And in the first try please skip the "apply patch" step, to test the compiler setup.

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

Posted: 20 May 2012 07:35
by tim_c
Well thanks; I'll give it a go but I've never managed it before! :)

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

Posted: 15 Sep 2012 10:08
by jostor
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).

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

Posted: 08 Oct 2012 15:41
by hthhs
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.

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

Posted: 13 Oct 2012 08:25
by jostor
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! :)

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

Posted: 14 Oct 2012 20:47
by Eddi
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?

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

Posted: 24 Dec 2012 17:01
by Kimby
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.

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

Posted: 16 Jan 2013 14:55
by jirik
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

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

Posted: 16 Jan 2013 17:00
by Eddi