Cargo Distribution

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

Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Cargo Distribution

Post by Rubidium »

Patching 1.0.2 with cargo distribution makes little sense. The idea of 1.0.2 is that it is a stable release for playing multiplayer games and the like. If you patch 1.0.2 with cargo distribution you will get something that is totally not compatible with 1.0.2.

So you're better of just fetching the last binary from this thread.
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Cargo Distribution

Post by Eddi »

also, 1.0.2 is not the "newest version", it is only the "latest stable version", which is technically very old already, as it is based on a version from march with very little changes since then.

cargodist instead is developed against the "unstable" version (aka "trunk"/"nightly"), which had many more changes since march, and thus is way newer. patching cargodist on 1.0.2 would mean going backwards.
corps
Engineer
Engineer
Posts: 30
Joined: 27 Oct 2007 21:10

Re: Cargo Distribution

Post by corps »

So the the cargodist is compiled with the lastest nightly version?
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2868
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Cargo Distribution

Post by ChillCore »

No Cargodist is developed against trunk. http://wiki.openttd.org/FAQ_OpenTTD_versions
Compiling yourself is explained here: http://wiki.openttd.org/Category:Compiling_OpenTTD
If you run into trouble with compiling you can ask questions here: http://www.tt-forums.net/viewtopic.php?f=33&t=21678 (You are expected to have at least tried before asking questions ...)
From time to time somebody will post a compiled windows binary which you can find if you scroll back a few pages.
There is a patchpack that contains the latest version of cargodist here: http://www.tt-forums.net/viewtopic.php?f=33&t=47622 (It is not meant to evaluate cargodist as it is not guaranteed to be free of errors, meaning do not complain here if you experience trouble with it)

Hope that helps a bit ...
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

corps wrote:So the the cargodist is compiled with the lastest nightly version?
Not the "latest nightly version", but rather a version of trunk (a revision).
corps
Engineer
Engineer
Posts: 30
Joined: 27 Oct 2007 21:10

Re: Cargo Distribution

Post by corps »

Thx A LOT for helping, i downloaded a patched version of march (found here http://bundles.openttdcoop.org/cargodist/g5b3732ce/)

Now its working, its an amazing patch!

Sorry for inconvinience
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2868
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Cargo Distribution

Post by ChillCore »

I forgot about that link.
That would indeed be better for evaluating Cargodist than using a patchpack and if you are lucky there might still be a server online that you can join with it too.
Don't forget to post your savegame if you can crash it in some some way or need some help. fonso will appreciate it :) .
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Arie-
Director
Director
Posts: 593
Joined: 20 Jan 2009 16:07

Re: Cargo Distribution

Post by Arie- »

Also don't forget that the g1*** etc. build of CargoDist is somewhat newer. However, it just came to my mind that if I remember correctly, fonso has changed the supply scaling algorithm since that last build. So maybe a new build is useful.
corps
Engineer
Engineer
Posts: 30
Joined: 27 Oct 2007 21:10

Re: Cargo Distribution

Post by corps »

The lastest that i found was from March, is there a newer one? (binary, i dont know how to compile hehe)

Oh, i dont play multiplayer, i just like to play "single player", in a "hardcore" mode ^^

But if i have a problem ill ask ;)

Very appreciate
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2868
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Cargo Distribution

Post by ChillCore »

If I were on windows I'd be happy to compile it for you.
However, I can produce a patch for svn if someone wants one.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Arie-
Director
Director
Posts: 593
Joined: 20 Jan 2009 16:07

Re: Cargo Distribution

Post by Arie- »

Just take a look at this http://bundles.openttdcoop.org/cargodist/ directory. It shows the g71 build being newer. I do not know which one is newer however or what the difference is between those two.
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2868
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Cargo Distribution

Post by ChillCore »

The difference is about 9 months worth of development with the g17 being newer. :P

If somebody on windows feels like compiling I have attached the svn patch for r20016.

Edit: Wrong diff attached the first time.
Attachments
trunk-cargodist_r20016_svn.diff
(306.16 KiB) Downloaded 102 times
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Creat
Traffic Manager
Traffic Manager
Posts: 141
Joined: 26 Oct 2009 16:33

Re: Cargo Distribution

Post by Creat »

As quite a few have requested an up-to-date binary, here it is. It was build with the most current git-checkout at the time of writing.

Cargodist version-string is: g0f7d66d2
It is based on Trunk r20016 (in case anyone cares...)

Note: sorry for it being a .rar and not a .zip file, the later was too large to upload/attach to the forum post... Am I right to assume there is a 4 MB limit?

Disclaimer:
If CargoDist crashes, do not report it to the OpenTTD developers. Report it to this thread. When making your post about the crash, please upload the crash.dmp, crash.log, crash.sav, and crash.png. These files are vital to finding what happened during the crash.

In case it is needed I've also attached the corresponding PDB, this is intended for developers only! If you just want to play the game, you don't need it!

(thanx to petert for the disclaimer, kinda stole that from him ;) )
Attachments
OpenTTD_CD_g0f7d66d2_win32.rar
Win 32 Binary, g0f7d66d2
(3.59 MiB) Downloaded 261 times
PDB_DebugDatabase_g0f7d66d2_win32.zip
Debug Database, FOR DEVELOPERS ONLY!
(3.87 MiB) Downloaded 107 times
Arie-
Director
Director
Posts: 593
Joined: 20 Jan 2009 16:07

Re: Cargo Distribution

Post by Arie- »

Arie- wrote:Just take a look at this http://bundles.openttdcoop.org/cargodist/ directory. It shows the g71 build being newer. I do not know which one is newer however or what the difference is between those two.
Ok, that one was a small typo with a big impact: it had to say g17 :(. @ Creat, well done, I think many appreciate it, at least I do.
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

Creat wrote:(thanx to petert for the disclaimer, kinda stole that from him ;) )
Glad I could help :-)
cato58
Engineer
Engineer
Posts: 6
Joined: 07 Apr 2008 14:06

Re: Cargo Distribution

Post by cato58 »

Not sure if this bug belongs here or not, but I am using the NAR grif with cargo distribution and I have to use electric rails to get some of the steam engines - the Norris and the Atlantic.


For those who are having problems with passengers crushing your transport network, I found increasing the impact of distance on cargo distribution - in the advanced settings - solves this problem.
Attachments
Nelson & Co., 8th Jan 1854.sav
(198.14 KiB) Downloaded 100 times
GoldRush
Engineer
Engineer
Posts: 85
Joined: 27 Oct 2009 16:40

Re: Cargo Distribution

Post by GoldRush »

cato58 wrote:Not sure if this bug belongs here or not, but I am using the NAR grif with cargo distribution and I have to use electric rails to get some of the steam engines - the Norris and the Atlantic.


For those who are having problems with passengers crushing your transport network, I found increasing the impact of distance on cargo distribution - in the advanced settings - solves this problem.
What version is it and what patches does it have?
cato58
Engineer
Engineer
Posts: 6
Joined: 07 Apr 2008 14:06

Re: Cargo Distribution

Post by cato58 »

I pulled a compiled version from a link somewhere in this thread.

The game has a title of "OpenTTDg5b3732ceM-cargodist".

I am using the Ubuntu lenny version.
corps
Engineer
Engineer
Posts: 30
Joined: 27 Oct 2007 21:10

Re: Cargo Distribution

Post by corps »

Thx A LOT guys for compiling and uploading.
User avatar
fonso
President
President
Posts: 948
Joined: 13 Oct 2007 08:28

Re: Cargo Distribution

Post by fonso »

cato58 wrote:Not sure if this bug belongs here or not, but I am using the NAR grif with cargo distribution and I have to use electric rails to get some of the steam engines - the Norris and the Atlantic.
That bug is known. It was a bug in trunk and it has been fixed. The version you are running is a little dated ...
The guy on the picture is not me, it's Alonso.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 8 guests