Page 111 of 154
Re: Cargo Distribution
Posted: 11 May 2011 07:05
by fonso
rini17 wrote:I tried newest version from git (commit 5d3e26eb7) under linux x64 and it was occassionally crashing. I tried to look it up with gdb and came up with easy fix, below.
Thanks for the report. I've fixed it in d90184e3.
Re: Cargo Distribution
Posted: 03 Jun 2011 11:49
by Wasila
Sorry about the bump, but is this no longer being worked on? Or is there something being worked on between this and YACD?
Re: Cargo Distribution
Posted: 04 Jun 2011 08:10
by fonso
I'm occasionally merging with trunk and uploading the result. I've just done that. I haven't gotten around to rework the distyact branch for current yacd, yet, as that is much more work. And I have that bug report on github which I should take care of...
Re: Cargo Distribution
Posted: 04 Jun 2011 08:59
by Wasila
What exactly is the distyacd branch? I've heard about it, but don't see what it adds to YACD/takes from CargoDist.
Re: Cargo Distribution
Posted: 04 Jun 2011 21:56
by FlameSing
Sorry for the stupid question, but I can't understand one thing. Why does the message "Cost: ..." appears over vehicle? It sometimes appears instead of "Transfer" or "Income".
Re: Cargo Distribution
Posted: 04 Jun 2011 22:08
by Level Crossing
FlameSing wrote:Sorry for the stupid question, but I can't understand one thing. Why does the message "Cost: ..." appears over vehicle? It sometimes appears instead of "Transfer" or "Income".
That means that
you have to
pay to transport the goods. You do not get a profit from this.
Re: Cargo Distribution
Posted: 04 Jun 2011 22:13
by FlameSing
Level Crossing wrote:That means that you have to pay to transport the goods. You do not get a profit from this.
But
why does it happens?
Re: Cargo Distribution
Posted: 04 Jun 2011 22:16
by Level Crossing
FlameSing wrote:Level Crossing wrote:That means that you have to pay to transport the goods. You do not get a profit from this.
But
why does it happens?
I was just reading another forum thread about it, but I forgot.
Here's a wiki article with the info:
http://wiki.openttd.org/Negative_income ... er_service
Re: Cargo Distribution
Posted: 04 Jun 2011 22:30
by FlameSing
Oh, thanks a lot! Now it's clear for me, I'm happy

Re: Cargo Distribution
Posted: 05 Jun 2011 16:25
by fonso
distyacd implements cargodist's "distribution" behavior of routing goods only to reachable destinations (and to all of them) on top of yacd. However, it's stuck with an old version of yacd at the moment.
Re: Cargo Distribution
Posted: 05 Jun 2011 16:30
by Wasila
So does this mean some cargo is done using YACD's technique and some with yours? Or can it be toggled on/off / between the two?
Sorry about all the questions - I'm very interested in the current situation.
Re: Cargo Distribution
Posted: 05 Jun 2011 17:03
by Alberth
In the combined cdist/yacd program, cdist is 'just' a layer on top of yacd.
yacd has the concept of labeling cargo with a destination, deciding the routing of cargo through the network, and computing payment on delivery.
(all this was of course also in the cdist before yacd appeared.)
This is all just infra structure. Kind of like the postal service, where the player controls the vehicles.
The service in itself has the capability to transport packages, but it needs actual packages from external sources to become active. If everybody would stop sending letters, they'd just all sit down and wait for a letter
yacd also has a way of generating labeled cargo, so the player actually has something to transport.
cdist in this respect replaces that way of generating labeled cargo with a different one.
Re: Cargo Distribution
Posted: 05 Jun 2011 18:39
by Wasila
I'm afraid I'm still slightly confused... So if YACD's way of generating cargo (with a predetermined destination anywhere) is replaced by Cargodist's way (with a pretermined destionation already on the network) you are saying that Cargodist and Cargodist YACD edition are functionally the same? So what's the point?
Re: Cargo Distribution
Posted: 05 Jun 2011 19:29
by Alberth
I never studied either patch, so I'll leave it to the authors to explain the differences in more detail.
As for the point, why can you buy 5 different coffee machines in a shop?
After all, any machine would do, right?
The answer is mostly that they differ in how they are constructed, what extensions may be possible, how fast it works, etc.
Different implementations of the same patch (eg we also have 3 or so daylength patches) have similar differences between them.
The trick is now to take the strong points of cdist, yacd, and its combination, so the end result will be as good as possible.
Re: Cargo Distribution
Posted: 10 Jun 2011 08:44
by dragon2184
Hi
Im new to this forum but ive played the old cargo destination pack in the past. i have to say you guys are geniuses, and i cant play the normal game anymore because Cargodist is just too good. Anyway ive recently reinstalled windows and im now looking at getting the latest cargodist pack. unfortunately im not great with computers. is there an easy way to download the latest whole game or do i need to get the old file and update it??
sorry for my lack of knowledge, that was probably a dumb question but ill take the criticism so long as i get to play this awesome version of an already awesome game!
thanks for anyones time in replying
Re: Cargo Distribution
Posted: 10 Jun 2011 10:37
by Creat
The link you are looking for is in the first post, I'd suggest you read it (it does have important information).
The link to get the most up to date version is
this. Download the ZIP-file that corresponds to your system (32 or 64 bit), extract it and you should be able to run it just fine. You only need the file that ends in .zip, just ignore the rest

Re: Cargo Distribution
Posted: 21 Jun 2011 16:48
by ProfMobius
Hello there. I wanted to know if Cargo Distribution allows for a distribution mode similar to Simutrans (i.e: Coal mine A can only deliver coal to factory B and C, etc). This is something I really liked in Simutrans and was hoping to see in OpenTTD.
Re: Cargo Distribution
Posted: 21 Jun 2011 17:00
by Level Crossing
ProfMobius wrote:Hello there. I wanted to know if Cargo Distribution allows for a distribution mode similar to Simutrans (i.e: Coal mine A can only deliver coal to factory B and C, etc). This is something I really liked in Simutrans and was hoping to see in OpenTTD.
If I am not mistaken, YACD (Yet Another Cargo Destinations) has something like that, where cargo choose a destination in the beginning, whether it is on a route or not.
Re: Cargo Distribution
Posted: 22 Jun 2011 00:40
by Creat
Yes it does. But YACD also currently assigns amounts to specific destinations. That means that if coal mine A will deliver coal to powerplants B and C, and you don't connect A to C, about half the coal won't show up at all for you to transport. In simutrans connecting any one destination (of the list of valid destinations) would suffice to be able to transport everything a coal mine produces.
Re: Cargo Distribution
Posted: 22 Jun 2011 10:52
by ProfMobius
Thank for the answers. Shortly after posting, I tried YACD and it is as close as it can get to Simutrans mechanism. You are right that the cargo is split between different destinations, so you can't really move everything to a given destination, but it is quite nice in the concept (a coal mine will have contracts with different industries, etc).
Only thing missing is an easy way to check the destination industries. You have to open the coal mine, click on each destination, and check where it is (no 'link industries' overlay like in simutrans).