[Patch] Improved Timetable Management [V2.31tr SVN15778]

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

bokkie
Transport Coordinator
Transport Coordinator
Posts: 327
Joined: 19 Jan 2007 19:26

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by bokkie »

Best way to reduce passengers (and mail!) is probably with NewGRF. I can imagine (hope!) that someone could code a NewGRF with OpenGFX's houses with a configurable amount of passenger/mail generation, that way it could be used with every cargod(i/e)st attempt and doesn't it require any more code to be changed. But yeah, I would heart that as well!!
audigex
Tycoon
Tycoon
Posts: 2056
Joined: 09 Dec 2007 21:28
Contact:

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by audigex »

It was really just to solve the problem with cargodest, if I recall.

The simple reason being that if we assume there's 4 stations which produce 100 pax a month, 1-4

1-2-3-4

Normally you'd get about 50 going between any given pair (1<>2, 2<>3, 3<>4) so you never really have to worry about more than 100 (end links) or 50 (other links) on any connection, you only need a 100-capacity train. With some sort of cargodest system, you've got 100 a month, but some of those may have to travel over every link.

Eg a train going 1-4 may pick up 100 at 1, drop off 33 but pick up another 100 at 2, drop off another 33 at 3, pick up another 100 and then head to 4 to drop off 234. In this slightly oversimplified case, you can see how you need a much larger capacity in the same time frame to clear all the passengers. Imagine if there were 200 stations in the network, and you can easily see how the middle gets clogged up.

Anyway, I digress :-)
Jon
speedy64
Engineer
Engineer
Posts: 26
Joined: 01 Jun 2009 11:30

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by speedy64 »

seems a hard job to update it for cargodest as both - trunk and cargodest changed A LOT since r15778...
but i will try it. but couldnt get an old version of cargodest to check it with the "original" cargodest-timetable-patch to see what to be updated. had problems with my hd and reinstalled vista so there was not so much time last days...
User avatar
JamieLei
Tycoon
Tycoon
Posts: 7432
Joined: 10 Jan 2007 18:42
Location: Stratford, London

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by JamieLei »

I have to say I still absolutely love this patch to bits - we played the cargodest + ITM build from last December on multiplayer and it works flawlessly!
Any opinions expressed are purely mine and not that of any employer, past or present.
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by Eddi »

so, i tried updating this patch to r17628. (that's about 2000 revisions, which is a lot in OpenTTD terms)

i'm fairly confident that i did not introduce any functionality/logic bugs, but the gui stuff is very messy, so expect bugs/inconsistencies there. also i could have screwed up loading of recent trunk savegames.
Attachments
timetable4.diff
diff for modified files
(209.13 KiB) Downloaded 283 times
timetable_new.tgz
new files introduced by the patch
(12.64 KiB) Downloaded 213 times
2007Alain2007
Chief Executive
Chief Executive
Posts: 658
Joined: 11 Nov 2007 12:06
Contact:

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by 2007Alain2007 »

just asking why did you not have the added files in the patch?

also A LOT of warning comeing up about the lang files
For Community Integrated Version http://code.google.com/p/civopenttd/
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by Eddi »

a) i constantly forget them

b) ignore the warnings.
seansharlos
Engineer
Engineer
Posts: 3
Joined: 08 Apr 2008 08:49

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by seansharlos »

if this final update with the trunk works, could anyone PLEASE :bow: make a .zip or .7z of it.

that is the only patch i play with, and i would like it to be up-to-date.

thanks.
User avatar
Gremnon
Tycoon
Tycoon
Posts: 1517
Joined: 16 Sep 2005 12:23
Skype: the_gremnon
Location: /home
Contact:

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by Gremnon »

seansharlos wrote:if this final update with the trunk works, could anyone PLEASE :bow: make a .zip or .7z of it.

that is the only patch i play with, and i would like it to be up-to-date.

thanks.
My patchpack (See signature) should work with current trunk, however, if it's just this patch you want, and no others, it's not very helpful.
It also isn't difficult, on any system, to read the OpenTTD wiki and learn to compile yourself - no matter how daunting it looks, it's actually very simple, if you have patience to learn.

OT, can we remove this emoticon: :bow:
It seems to be terribly overused.
tvmelissa
Engineer
Engineer
Posts: 16
Joined: 01 Feb 2006 01:47

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by tvmelissa »

Does anyone know PhilSophus off board?

I PM'ed him a while ago asking for a copy of his mercurial tree for ITiM, but he doesn't seem to be around lately.

If anyone has another way of reaching him, could you please ask him to check his PMs?

Thanks,

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

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by Alberth »

Rather than using the hg queue of PhilSophus, you may want to use the latest version by Eddi instead, see a few items higher: http://www.tt-forums.net/viewtopic.php?p=820863#p820863
tvmelissa
Engineer
Engineer
Posts: 16
Joined: 01 Feb 2006 01:47

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by tvmelissa »

Alberth wrote:Rather than using the hg queue of PhilSophus, you may want to use the latest version by Eddi instead, see a few items higher: http://www.tt-forums.net/viewtopic.php?p=820863#p820863
I've already got my own privately updated version of the patch. I was looking for the mercurial tree because I have some ideas for extending/improving PhilSophus's code, which would be easier if I have his queues.
Tekky
Route Supervisor
Route Supervisor
Posts: 420
Joined: 19 Dec 2006 04:24

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by Tekky »

tvmelissa wrote:
Alberth wrote:Rather than using the hg queue of PhilSophus, you may want to use the latest version by Eddi instead, see a few items higher: http://www.tt-forums.net/viewtopic.php?p=820863#p820863
I've already got my own privately updated version of the patch. I was looking for the mercurial tree because I have some ideas for extending/improving PhilSophus's code, which would be easier if I have his queues.
PhilSophus once sent me his Mercurial Queues for version 2.01. If you are interested, I can PM them to you. Unfortunately, I do not have any later version :-(
yorkie
Transport Coordinator
Transport Coordinator
Posts: 354
Joined: 11 Oct 2004 00:38

Re: [Patch] Improved Timetable Management [V2.30 SVN14647&cd]

Post by yorkie »

Tekky wrote:Here is the new Win32 binary of ITiM 2.30 with cargodest. This time, I have only supplied a binary without the passenger reduction patch, as the passenger reduction patch has not been updated for the savegame bump. I could try to update the passenger reduction patch myself, but I am not up to date on current cargodest development and therefore cannot tell whether this patch is still required or not.
EDIT: I have now also included the binary with the reduction patch, supplied by PhilSophus..
Thanks for this :) I tried it out but the cargodest doesn't seem to work, see:-

Image

On top is the default view, and below it is when I click on destinations, it doesn't change the view. Am I doing something wrong?

I tried updating the latest version of Open TTD (0.7.3) with these patches manually using TortioisSVN as per the instructions but I got errors and it just didn't work.

Has anyone got any ideas on how I can make a binary for Open TTD 0.7.3 with the latest Improved Timetable Management and Cargodest patches? Has anyone had any success themselves? (If so I'll bribe you for your binary ;))
Tekky
Route Supervisor
Route Supervisor
Posts: 420
Joined: 19 Dec 2006 04:24

Re: [Patch] Improved Timetable Management [V2.30 SVN14647&cd]

Post by Tekky »

yorkie wrote: On top is the default view, and below it is when I click on destinations, it doesn't change the view. Am I doing something wrong?
If I recall correctly, you must activate passenger/cargo destinations in the patch settings first.

yorkie wrote: Has anyone got any ideas on how I can make a binary for Open TTD 0.7.3 with the latest Improved Timetable Management and Cargodest patches? Has anyone had any success themselves? (If so I'll bribe you for your binary ;))
Cargodest has not been updated for 6 months now. Therefore, I do not believe there will be any further patches based on cargodest and it never will be compatible with 0.7.3. However, there is a similar, more recent project named Cargo Distribution.
User avatar
MagicBuzz
Tycoon
Tycoon
Posts: 1357
Joined: 15 Feb 2003 17:32
Location: Vergezac, France

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by MagicBuzz »

Is there a manual about this patch ?
Espacially the Headway system. I wonder what's the use of the "automatic" button.
Dante123
Chief Executive
Chief Executive
Posts: 672
Joined: 11 Aug 2009 16:10
Location: The Nederlands
Contact:

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by Dante123 »

so if i understand correct from the first post, this also has a function like the daylength patch ?
or is it only for train/busses/.. orders to have more realistic planning ?


in the first case, do you see the possibility to support the ECS vectors (grf that adds a whole lot of new industries) ?
here some of the info i gor from george, the creator of ecs: http://www.tt-forums.net/viewtopic.php? ... &start=360
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by Eddi »

No, this has absolutely nothing to do with daylength.

it creates a virtual 24h clock independent from the date, to facilitate cyclic timetabling and synchronising routes
Psistorm
Traffic Manager
Traffic Manager
Posts: 173
Joined: 05 Jun 2004 12:22

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by Psistorm »

MagicBuzz wrote:Is there a manual about this patch ?
Espacially the Headway system. I wonder what's the use of the "automatic" button.
the headway management, as far as I understand, allows separating trains along the route, like your patch (which sadly never made trunk, it was great) did, letting people automagically spread out trains along a route

edit: since I just brought this up a bit in another thread: how likely would it be to get a build using this patch and cargodist? would be a charm for my PAX networks :D
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: [Patch] Improved Timetable Management [V2.31tr SVN15778]

Post by Rubidium »

Psistorm wrote:how likely would it be to get a build using this patch and cargodist?
Unless someone seriously updates this patch, it's near 0. This patch is ages old, some parts have made it into trunk, lots of it has not so even 'simply' updating it is a far from trivial activity.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 11 guests