Cargo Distribution
Moderator: OpenTTD Developers
Re: Cargo Distribution
Ok, thanks for both your replies!
Sent from my GT-S5830 using Tapatalk
Sent from my GT-S5830 using Tapatalk
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Cargo Distribution
I tried to retrieve info from a screenshot about the used NewGRFs. Seems that only the software version is output, but not the NewGRF configuration as done with screenshots made with trunk...
I expected output similiar to this:
Code: Select all
osie ~/Documents/OpenTTD/Gronfingley\ Transport\,\ 2281-01-03.png
Software: g5225ad3f-cd
Code: Select all
Software: hc28b17a1M
Description: Graphics set: OpenGFX (978)
NewGRFs:
41501202 7FD3A30F749BFA5D5E1DF61326AD9B08 heqs_heavy_equipment_set-1.5.1/heqs.grf
414E0101 5D665C64693A438E3046C22666F46E08 fish_ship_set-0.9.2/fish.grf
43485053 2E3CD4DEF5781D546081B382C2E25A93 chips_station_set-1.0.0/chips.grf
44573452 48CF5FC0DEB895136F337A7E563FC66D dwestationtiles_industrial_ter-v0.7/dwe_stat_r.grf
4A430002 EFB21CFA6828362FDA9B2D629B5EEEB4 indstatr-v0.8.1/indstatr.grf
4F472B31 5DAE6C2B974DD9BFDF2035C2D8BAD033 ogfx-trains-0.3.0/ogfx-trains.grf
4F472B32 3FD44FD23CAC8D29AA314BF6A304B684 opengfx_road_vehicles-0.4.0/ogfx-rv.grf
53455230 62AE9E6810240DF86292A4EEC57C0ADD swedishrails/swedishrails.grf
Companies:
0: Human
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Cargo Distribution
This is weird. How can I test that? What is 'osie'? g5225ad3f-cd is from June 12th, btw. When was that feature included in trunk?planetmaker wrote:I tried to retrieve info from a screenshot about the used NewGRFs. Seems that only the software version is output, but not the NewGRF configuration as done with screenshots made with trunk...
The guy on the picture is not me, it's Alonso.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Cargo Distribution
That feature is much older... osie (OpenTTD Screenshot Information Explorer) is a small command line tool which can be used to read out the meta info from openttd screenshots - the output is as I pasted.fonso wrote:This is weird. How can I test that? What is 'osie'? g5225ad3f-cd is from June 12th, btw. When was that feature included in trunk?planetmaker wrote:I tried to retrieve info from a screenshot about the used NewGRFs. Seems that only the software version is output, but not the NewGRF configuration as done with screenshots made with trunk...
I didn't yet check myself with cd whether it doesn't work with that version or a newer - I just got that screenshot. Worth to test with a self-made screenshot, I guess.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Cargo Distribution
The data read by osie is stored in a PNG text chunk just like for example EXIF data is, so it's quite imaginable that there are some image editors that mangle it.planetmaker wrote:Worth to test with a self-made screenshot, I guess.
-- Michael Lutz
Re: Cargo Distribution
Screenshot taken from the main screen using console and 'screenshot'.
Code: Select all
C:\Users\xxxxxx\Desktop>osie.exe c:\Games\OpenTTD-CD-gd4255b61\screenshot.png
Software: gd4255b61-cd
Description: Graphics set: zBase (162)
NewGRFs:
Companies:
0: Human
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Cargo Distribution
That looks like what I'd expect to see... so maybe the screenshots I looked at were edited afterwards, even though they didn't look like.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Cargo Distribution
note that you can get the same info with "exiftool" and some other "stock" programs.
Re: Cargo Distribution
I just tested with a couple of older and newer screenshots and the output (see osie.txt) seems fine. Maybe that guy just doesn't want us to know his newgrfs and edits the screenshots before posting them ...
- Attachments
-
- osie.txt
- (7.77 KiB) Downloaded 116 times
The guy on the picture is not me, it's Alonso.
Re: Cargo Distribution
Autorefit with cargodist works fine now. Vehicles only refit to cargo which they can actually load.
- Attachments
-
- example.sav
- created with gaeed7eee-cd
- (12.11 KiB) Downloaded 88 times
The guy on the picture is not me, it's Alonso.
Re: Cargo Distribution
Hey everyone,
so I've also installed cargodist. It sounds pretty awesome, but I'm experiencing a very strange behavior.
My problem is that neither of my vehicles wants to load any kind of cargo, unless I set "full load" in the vehicle order list. I've tried it both with buses and trains for passengers, and coal trucks and trains for coal. What happens is that the vehicle stops in the station and immediately starts to go to the next station without loading anything (I've double checked, there is actually cargo waiting in the station) If I set in the timetable that I want the vehicle to wait for a couple of days, it stays at the station, but doesn't load anything either.
I don't experience this behavior using the original openttd.
What could be the problem?
so I've also installed cargodist. It sounds pretty awesome, but I'm experiencing a very strange behavior.
My problem is that neither of my vehicles wants to load any kind of cargo, unless I set "full load" in the vehicle order list. I've tried it both with buses and trains for passengers, and coal trucks and trains for coal. What happens is that the vehicle stops in the station and immediately starts to go to the next station without loading anything (I've double checked, there is actually cargo waiting in the station) If I set in the timetable that I want the vehicle to wait for a couple of days, it stays at the station, but doesn't load anything either.
I don't experience this behavior using the original openttd.
What could be the problem?
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Cargo Distribution
Did you actually check whether there was cargo in the station *before* the vehicle visited it?
Unless you use full load orders, a vehicle will visit all its stations it is ordered to go to, pick up no cargo and only find cargo in the ordered stations on its 2nd trip - after the stations know that it may accept the cargo the vehicle tried to load.
Unless you use full load orders, a vehicle will visit all its stations it is ordered to go to, pick up no cargo and only find cargo in the ordered stations on its 2nd trip - after the stations know that it may accept the cargo the vehicle tried to load.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Cargo Distribution
Yes, there are actually passengers waiting in the station. I let the game run for 1 year without touching it. More and more passengers were waiting in the stops, but none of the vehicles were loading anyone, unless I specified full load in the orders.
Re: Cargo Distribution
Oops, sorry, I messed up the loading logic with the latest version. Vehicles only load cargo they've reserved before and so they'll only load on full load orders ... and actually it doesn't even compile on the compile farm. Use g4cae4a7a-cd until I get around to fix it.
The guy on the picture is not me, it's Alonso.
Re: Cargo Distribution
Ah okay, now it works! Thanks for the help!
Re: Cargo Distribution
The bundles server seems to be over a month behind. I'm happy to compile for linux, but some people who I'd like to play with aren't happy with compiling on Windows, and I don't have that...
Is there any particular reason, or somewhere else to get Windows binaries for the recent version? Having come up hard against the autorefit bug before, I'd rather not go back to the old ones
.
Thanks for fixing that, by the way. Now I can proceed with idiotic network design

Is there any particular reason, or somewhere else to get Windows binaries for the recent version? Having come up hard against the autorefit bug before, I'd rather not go back to the old ones

Thanks for fixing that, by the way. Now I can proceed with idiotic network design

Temporary Permanent signature filling text. Content coming soon delayed indefinitely! Oh, and I have had a screenshot thread.
Linux user (XMonad DWM/KDE, Arch), IRC obsessive and rail enthusiast. No longer building robots; now I ring church bells.
Author of an incredibly boring stickied post about NewGRFs.
Linux user (XMonad DWM/KDE, Arch), IRC obsessive and rail enthusiast. No longer building robots; now I ring church bells.
Author of an incredibly boring stickied post about NewGRFs.
Re: Cargo Distribution
http://farm.openttd.org/browse/OTTD3PT-CD-DOXY-46/log looks like the build farm's hard disk is full. The error is:
Maybe I should try to build the documentation sometime, though ...
Code: Select all
30-Sep-2012 04:28:18 Could not open file /var/lib/bamboo/xml-data/build-dir/OTTD3PT-CD-DOXY/docs/source/html/functions_enum.html for writing
The guy on the picture is not me, it's Alonso.
-
- Engineer
- Posts: 2
- Joined: 10 Jun 2011 08:26
Re: Cargo Distribution
Hi there. i love Cargodist but i cant seem to play it online?
This might be something that has already come up and i have missed it but please post if you have any info.
Thanks
This might be something that has already come up and i have missed it but please post if you have any info.
Thanks
Re: Cargo Distribution
Well, it only works with a CargoDist server of the same version. It won't work in multiplayer with any stable release or trunk version.
There aren't many (any?) public cargodist servers running currently. I used to run one, but no-one used it so I stopped bothering
.
There aren't many (any?) public cargodist servers running currently. I used to run one, but no-one used it so I stopped bothering

Temporary Permanent signature filling text. Content coming soon delayed indefinitely! Oh, and I have had a screenshot thread.
Linux user (XMonad DWM/KDE, Arch), IRC obsessive and rail enthusiast. No longer building robots; now I ring church bells.
Author of an incredibly boring stickied post about NewGRFs.
Linux user (XMonad DWM/KDE, Arch), IRC obsessive and rail enthusiast. No longer building robots; now I ring church bells.
Author of an incredibly boring stickied post about NewGRFs.
Who is online
Users browsing this forum: No registered users and 10 guests