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

rbn2903
Engineer
Engineer
Posts: 122
Joined: 08 Dec 2007 18:04
Location: Aachen (Aken), Germany

Re: Cargo Distribution

Post by rbn2903 »

hm, ok, if it's a problem of wording, then I would have to wait for a German translating and that will probably only happen if and when cargodist hits trunk ;)
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

I can't provide a binary at this moment in time, but I can give you a quick updated patchfile (also available on my dev site):
Attachments
cargodist_r18922.diff
(306.61 KiB) Downloaded 180 times
Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: Cargo Distribution

Post by Roujin »

Wasila wrote:The amount of settings added is a small fraction of the amount of settings already there. Perhaps the settings could be better worded:

I assume that the ARMOURED cargo class is just valuables - if so, put valuables instead. Same sort of thing for EXPRESS. Perhaps the accuracy could be converted into a percentage, although I'm not sure how that would work. The last three settings I don't see a better wording.
In the default game, that may be so. However, NewGRFs that define new cargoes (ECS, FIRS etc.) may remove those and/or add any new cargoes belonging to those classes.
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
User avatar
SpComb
Tycoon
Tycoon
Posts: 1109
Joined: 13 Nov 2003 20:26
Location: Finland
Contact:

Re: Cargo Distribution

Post by SpComb »

Here's something random for your amusement and fonso's horror.

Step one: create a couple vehicles without orders:

Image

Step two: rework the towns' road networks such that there aren't any dead ends, and add in any bus stops as feels appropriate :)

Image

Step three: watch the MCF solver try and figure it out (clickable image)...

Image.

Although, I touched up the stations a little to make the link graph a little saner later on, so it didn't look as impressive anymore once the old links timed out :)

Sadly, the vehicles were not profitable with the default running costs :(
CSL
Engineer
Engineer
Posts: 41
Joined: 18 Aug 2004 15:02

Re: Cargo Distribution

Post by CSL »

Dear Petre please make a win32 binary for the latest patch many thanks indeed!
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

CSL wrote:Dear Petre please make a win32 binary for the latest patch many thanks indeed!
Sorry, time has very much gotten away from me in the past week. I've had two essays, two tests, and one quiz. I will make you a CargoDist binary either today or tommorow. </rant>
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: Cargo Distribution

Post by NekoMaster »

petert wrote:
CSL wrote:Dear Petre please make a win32 binary for the latest patch many thanks indeed!
Sorry, time has very much gotten away from me in the past week. I've had two essays, two tests, and one quiz. I will make you a CargoDist binary either today or tommorow. </rant>
Alright, I hope you can also make a Linux 32 binary since I can't since the instructions for compiling on linux dont apply to my linux distro (Puppy Linux)
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
CSL
Engineer
Engineer
Posts: 41
Joined: 18 Aug 2004 15:02

Re: Cargo Distribution

Post by CSL »

petert wrote:
CSL wrote:Dear Petre please make a win32 binary for the latest patch many thanks indeed!
Sorry, time has very much gotten away from me in the past week. I've had two essays, two tests, and one quiz. I will make you a CargoDist binary either today or tommorow. </rant>
Thanks and look forward for that! :P
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

Whew, finally had time to make another build! r18948, MSVC.

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 (only available as of r18184, so if you are using a build older than that, don't bother). These files are vital to finding what happened during the crash. For developers, you can find the PDB file and other files at this site: http://users.tt-forums.net/petert/dev/

Peter
Attachments
g269b0891-cargodist_win32.rar
(3.1 MiB) Downloaded 190 times
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: Cargo Distribution

Post by NekoMaster »

Thanks petert, now think you could make a Linux 32 build when you have the time?
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

NekoMaster wrote:Thanks petert, now think you could make a Linux 32 build when you have the time?
New Status: Git fetch failed, and I'm not willing to spend any more time on this,. I have too much other work.
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: Cargo Distribution

Post by NekoMaster »

petert wrote:
NekoMaster wrote:Thanks petert, now think you could make a Linux 32 build when you have the time?
New Status: Git fetch failed, and I'm not willing to spend any more time on this,. I have too much other work.
Alright, Ill leave you alone....
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
User avatar
fonso
President
President
Posts: 948
Joined: 13 Oct 2007 08:28

Re: Cargo Distribution

Post by fonso »

I've committed an update. It resolves the conflicts with recent changes in trunk's smallmap_gui.cpp. I've finally given in and reintegrated the "subscroll" method for smoother scrolling. Before you could only scroll by multiples of 4 pixels in my smallmap.
The guy on the picture is not me, it's Alonso.
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

That was quick, good thing I'm still on my normal computer. r18972, MSVC

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 (only available as of r18184, so if you are using a build older than that, don't bother). These files are vital to finding what happened during the crash. For developers, you can find the PDB file and other files at this site: http://users.tt-forums.net/petert/dev/

Peter[
Attachments
gbc4a66da-cargodist_win32.rar
(3.1 MiB) Downloaded 196 times
Last edited by petert on 31 Jan 2010 23:43, edited 1 time in total.
Grandmaster
Engineer
Engineer
Posts: 72
Joined: 11 Feb 2007 21:10
Location: Rotterdam, Netherlands

Re: Cargo Distribution

Post by Grandmaster »

petert wrote:That was quick, good thing I'm still on my normal computer. r18942, MSVC
Don't you mean r18972
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

Grandmaster wrote:Don't you mean r18972
Thanks, fonso told me about that on IRC. Fixed.
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: Cargo Distribution

Post by NekoMaster »

hmm... bored.... waiting for linux 32 binary...
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

NekoMaster wrote:hmm... bored.... waiting for linux 32 binary...
You sound pretty entitled, like I said, it wasn't working. Unless you offer to give me a new computer or pay to have it fixed.
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: Cargo Distribution

Post by NekoMaster »

petert wrote:
NekoMaster wrote:hmm... bored.... waiting for linux 32 binary...
You sound pretty entitled, like I said, it wasn't working. Unless you offer to give me a new computer or pay to have it fixed.
Wait... why would you need a new computer?
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
User avatar
Raichase
Moderizzle
Moderizzle
Posts: 11509
Joined: 15 Dec 2002 00:58
Location: Sydney, Australia. Usually at work in the underground railway station...
Contact:

Re: Cargo Distribution

Post by Raichase »

NekoMaster wrote:hmm... bored.... waiting for linux 32 binary...
Mate, you're the bloke who chooses to use a different operating system from "the norm". I stick with Windows and all it's failings because I am computer illiterate. It works, so I put up with it. I am always thankful for people like petert who take their own time out to do things that I can't do, so that I may enjoy some of the things that computer minded people can enjoy by compiling their own OTTD versions, or whatever it is.

You can ask for this Linux Build, and if nobody makes it for you, you have two options. Either move on with your life, or learn how to do it yourself. Faced with such a choice, if petert couldn't share his builds anymore for whatever reason, I would just accept it, thank him for the work he has done so far, and then find something else to do.

Life (and these forums) are full of people who exist for reasons beyond keeping you happy. Nobody here is paid to do what they do, to work on OTTD and suchforth, they do it because they get enjoyment out of it, and they are kind enough to share their work with us. If people come to the forums and make it no-longer enjoyable... they stop doing it! Then nobody has anything. Not only do people like that ruin someones hobby and enjoyment, but they also ruin it for a lot of other people.

Think of it as the kid that comes into the playground, demands to be given attention, and when he's not, he kicks the ball over the fence and runs off crying - not only is he worse off, but everyone else is now too, and they didn't even do anything wrong.

Please, have a bit of a think about it - there are real people here, not virtual people who don't exist. Perhaps try learning how to do it yourself, and if you struggle, ask about it - people will be happy to help you, because you are making an effort. People appreciate that, and will want to help you. This is a very friendly forum compared to many out there, and you will get a long way by having a go.
Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
ImageImage
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 5 guests