Was that example.sav or example2.sav, which version are you running now on what platform and have you compiled yourself or did you use some precompiled (Tvel's?) binary? Also what does the crash look like? Is it the "black, unresponsive window" effect or does the window disappear with Windows (if that's your platform) possibly giving you a crash report?audigex wrote:Aha, ignore me - it appears I have two cargodist builds, I didn't realise I had an older one. I'll try it with the newer one now
Edit: Yup, the last one works - my bad
It crashed almost immediately, so I'm not sure what that's about - about 30 seconds after I loaded the game and 10 seconds after unpausing :s
I'll try again, see if it's a fluke
Cargo Distribution
Moderator: OpenTTD Developers
Re: Cargo Distribution
The guy on the picture is not me, it's Alonso.
Re: Cargo Distribution
I don't get the full error report, just the "stopped working" window - I'm not sure which one it's equivalent to, but the window gets a translucent white overlay and can't be clicked with the following windows report:
"OpenTTD has stopped working"
Check online
Close program
Problem signature:
Problem Event Name: APPCRASH
Application Name: openttd.exe
Application Version: 0.8.0.17268
Application Timestamp: 4a928bbb
Fault Module Name: openttd.exe
Fault Module Version: 0.8.0.17268
Fault Module Timestamp: 4a928bbb
Exception Code: 40000015
Exception Offset: 00270791
OS Version: 6.1.7100.2.0.0.256.1
Locale ID: 2057
Additional Information 1: ab07
Additional Information 2: ab07784ec88725afe8b5624e20b8f07e
Additional Information 3: 919c
Additional Information 4: 919c06d1d217e69a85214b0b83bb33a1
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
--------------------------------------
System info, I'll include it all as I'm not sure what's relevant. Using the binary posted (Tvels) on example.sav.
Windows 7 x64
AMD Phenom X3 720BE 2.8gHz (@3.6gHz currently, 1.5125v, rock solid stable)
Biostar TA790GX3 AM2+
4GB PC2-8500
PNY 8800GT 512mb
Seagate/WD 500GB 7200rpm
It happens after unpausing, but I'm not sure exactly why - below is the console output directly before the crash with debug_level and developer set to 9. Ignore the colours, I had to adjust the levels to get it readable with that translucent overlay.
"OpenTTD has stopped working"
Check online
Close program
Problem signature:
Problem Event Name: APPCRASH
Application Name: openttd.exe
Application Version: 0.8.0.17268
Application Timestamp: 4a928bbb
Fault Module Name: openttd.exe
Fault Module Version: 0.8.0.17268
Fault Module Timestamp: 4a928bbb
Exception Code: 40000015
Exception Offset: 00270791
OS Version: 6.1.7100.2.0.0.256.1
Locale ID: 2057
Additional Information 1: ab07
Additional Information 2: ab07784ec88725afe8b5624e20b8f07e
Additional Information 3: 919c
Additional Information 4: 919c06d1d217e69a85214b0b83bb33a1
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
--------------------------------------
System info, I'll include it all as I'm not sure what's relevant. Using the binary posted (Tvels) on example.sav.
Windows 7 x64
AMD Phenom X3 720BE 2.8gHz (@3.6gHz currently, 1.5125v, rock solid stable)
Biostar TA790GX3 AM2+
4GB PC2-8500
PNY 8800GT 512mb
Seagate/WD 500GB 7200rpm
It happens after unpausing, but I'm not sure exactly why - below is the console output directly before the crash with debug_level and developer set to 9. Ignore the colours, I had to adjust the levels to get it readable with that translucent overlay.
- Attachments
-
- cd_developer.png (14.57 KiB) Viewed 2481 times
Jon
Re: Cargo Distribution
Please set your CPU to its specified clock frequency and try again. Also please run memtest86+ to see if you have broken your RAM. If you're brave you may want to try cpuburn (http://pages.sbcglobal.net/redelm/) to see if your CPU has taken permanent damage. It won't "catch any flaws", but will likely crash in some way or another if your CPU is broken. If you haven't cooled it enough your system may also take permanent damage from this excercise.audigex wrote: AMD Phenom X3 720BE 2.8gHz (@3.6gHz currently, 1.5125v, rock solid stable)
Also make sure you have all the GRFs before starting example.sav. If you don't want to mess around with those, have a look at example2.sav.
The guy on the picture is not me, it's Alonso.
Re: Cargo Distribution
Small suggestion - would you be able to make non-stop orders compulsory when using this patch? - It would solve A LOT of problems 

Any opinions expressed are purely mine and not that of any employer, past or present.
Re: Cargo Distribution
Hi there, I'm a bit of a n00blet when it comes to patching and compiling ottd myself, but whenever I try and apply the cargodist patch to any revision it prompts me for each and every file, citing that I used the wrong -p option.
Is this to do with the 2nd line of the patch file not being index/*file.cpp* and instead being (in my case) index a42c1db..88fe2bc 100644
I (tried to) applythe r17268 patch.
Terminal outputs:
Any help?
Is this to do with the 2nd line of the patch file not being index/*file.cpp* and instead being (in my case) index a42c1db..88fe2bc 100644
I (tried to) applythe r17268 patch.
Terminal outputs:
Code: Select all
wolfie@ubuntu:~/openttd$ patch -p0 -i cargodist_r17268.diff
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj
|index a42c1db..88fe2bc 100644
|--- a/projects/openttd_vs80.vcproj
|+++ b/projects/openttd_vs80.vcproj
--------------------------
File to patch:
Last edited by WWW on 30 Aug 2009 01:54, edited 1 time in total.
Re: Cargo Distribution
Not a pro myself but try -p1 

Re: Cargo Distribution
Hi,
I am having this patching trouble too
, Tortoise doesnt work as well as Patch (i tried -p -p0 -p1 -p2
). Its too bad for me because posted latest binary files are not working for me and I really like this patch. Its a master piece around here.

I am having this patching trouble too





Re: Cargo Distribution
Any chance of updated Debian/Ubuntu binaries? Stuck back in Jun atm
. Oh well its still better then plain TTD whether anyone has enough time to upload a new binary

- NekoMaster
- Tycoon
- Posts: 4001
- Joined: 16 Aug 2008 22:26
- Skype: neko-master
- Location: Oshawa, Ontario, CANADA
Re: Cargo Distribution
*sigh* this looks interesting but I have no clue how to patch things, and dont try to link me to a tutorial cause I've tried patching my self and it didn't work.
So... could some body please upload a Win32 Binary, preferably the next time someone builds it or if they already have it.
Please don't freak out just cause I asked, its not that hard to just zip your build that you made for your self and upload it for those who...
-Dont have the space for the tools
-Have the processing power to compile code
-Suck at programing and patching (like me)
So... could some body please upload a Win32 Binary, preferably the next time someone builds it or if they already have it.
Please don't freak out just cause I asked, its not that hard to just zip your build that you made for your self and upload it for those who...
-Dont have the space for the tools
-Have the processing power to compile code
-Suck at programing and patching (like me)


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!
Re: Cargo Distribution
There's a build a few pages back: http://www.tt-forums.net/download/file.php?id=116113. Crashed two times for me though but since I'm unable to reproduce and didn't get an error report (got a windows crash dialogue, not the openttd one) I didn't post about it yet.
-
- Engineer
- Posts: 4
- Joined: 14 Mar 2009 14:12
- Location: Oberderdingen-Flehingen (Germany)
- Contact:
Re: Cargo Distribution
Hi there
Even with the newest version (r17268, Win32-build by Tvel) I'm getting desyncs on my Multiplayer game quite often.
Even with the newest version (r17268, Win32-build by Tvel) I'm getting desyncs on my Multiplayer game quite often.
- Attachments
-
- DvK Transportaion, 1999-09-21.sav
- Server savegame
- (787.28 KiB) Downloaded 66 times
-
- newgrf list
- newgrf.jpg (53.57 KiB) Viewed 1906 times
Re: Cargo Distribution
No warranty, no support will be provided, no affiliation with Fonso, entirely untested, use at your own risk. Compiled only in English to cut down on compilation time. Does not include libpng due to incompatibility.
- NekoMaster
- Tycoon
- Posts: 4001
- Joined: 16 Aug 2008 22:26
- Skype: neko-master
- Location: Oshawa, Ontario, CANADA
Re: Cargo Distribution
whats libpng for? loading png hieght maps and 32bit sprites?Teeg wrote:Windows binary of the latest snapshot.
No warranty, no support will be provided, no affiliation with Fonso, entirely untested, use at your own risk. Compiled only in English to cut down on compilation time. Does not include libpng due to incompatibility.


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!
Re: Cargo Distribution
To my knowledge, all it should affect is that you won't be able to save screenshots as .png.
Re: Cargo Distribution
I'm a super-non-experienced when it comes to compiling, but if you follow OpenTTD's manual about compiling you'll be able to do it. Once you understand it, it's easy.nb-au wrote:Any chance of updated Debian/Ubuntu binaries? Stuck back in Jun atm. Oh well its still better then plain TTD whether anyone has enough time to upload a new binary
Firstly read the official Debian/Ubuntu guide about preparing your system.
When you finish with that jump to "Getting the source".
That's all I'll say, logging off :9
Re: Cargo Distribution
Hello,
I tryed lastest version I could find ( Teeg one)
and I don't clearly understand why train 1 and 2 are always full and never deliver passengers.
train 1 and 2 commute between the "big" node A1 (a rail station where almost all train go) and A4 (the airport node)
the orders for these two trains are : Goto A1 and Goto A4
nothing specific (no "non stop" or what ever )
that makes passenger to stay at A4 as they are never picked up...
I think my network is quite simple, I did not used specific feature.
Thank you.
I tryed lastest version I could find ( Teeg one)
and I don't clearly understand why train 1 and 2 are always full and never deliver passengers.
train 1 and 2 commute between the "big" node A1 (a rail station where almost all train go) and A4 (the airport node)
the orders for these two trains are : Goto A1 and Goto A4
nothing specific (no "non stop" or what ever )
that makes passenger to stay at A4 as they are never picked up...
I think my network is quite simple, I did not used specific feature.
Thank you.
- Attachments
-
- Test2.sav
- the save
- (90.07 KiB) Downloaded 72 times
Re: Cargo Distribution
Oh, what a mess ...
Obviously there are quite a few crashes and desyncs to hunt down. Unfortunately I can't do a lot about it this week. So if you find out something interesting, please post it here. Save games, descriptions how to make it crash or desync, debug logs, backtraces, anything which might help to find the problems. Try to be as precise as possible. Don't worry if I don't answer immediately. I will review all the stuff and look into it next week or the week after. When the problems are solved, I'll ask TrueBrain to build the new version on the compile farm.
I already have an idea about the desync. I guess the multimaps I use in the loading optimization sort the entries with equal keys in some nondeterministic way. You could help me verify this by doing the following:
1. Make a savegame in paused state of the desyncing game.
2. Load and immediately (without unpausing) save that game on the other computer you were playing with
3. post both savegames here
Thanks for all the feedback and let's we can catch those problems soon.
Obviously there are quite a few crashes and desyncs to hunt down. Unfortunately I can't do a lot about it this week. So if you find out something interesting, please post it here. Save games, descriptions how to make it crash or desync, debug logs, backtraces, anything which might help to find the problems. Try to be as precise as possible. Don't worry if I don't answer immediately. I will review all the stuff and look into it next week or the week after. When the problems are solved, I'll ask TrueBrain to build the new version on the compile farm.
I already have an idea about the desync. I guess the multimaps I use in the loading optimization sort the entries with equal keys in some nondeterministic way. You could help me verify this by doing the following:
1. Make a savegame in paused state of the desyncing game.
2. Load and immediately (without unpausing) save that game on the other computer you were playing with
3. post both savegames here
Thanks for all the feedback and let's we can catch those problems soon.
The guy on the picture is not me, it's Alonso.
Re: Cargo Distribution
fabca2: use non-stop. As I stated above: If the next order is nondeterministic the vehicle loads everything in the station. Additionally there is a "shortcut" in the released patch which keeps all cargo in the vehicle and doesn't unload anything as it's useless to unload and immediately reload it. Obviously the shortcut isn't that clever, which is why I removed it. With the latest version in git, if the next order is nondeterministic it falls back to the traditional unloading algorithm and after that loads everything in the station. But in general you don't want nondeterministic orders in the first place, so just use non-stop.
The guy on the picture is not me, it's Alonso.
Re: Cargo Distribution
Sorry, but It's totally clear for you.fonso wrote:fabca2: use non-stop. As I stated above: If the next order is nondeterministic the vehicle loads everything in the station. Additionally there is a "shortcut" in the released patch which keeps all cargo in the vehicle and doesn't unload anything as it's useless to unload and immediately reload it. Obviously the shortcut isn't that clever, which is why I removed it. With the latest version in git, if the next order is nondeterministic it falls back to the traditional unloading algorithm and after that loads everything in the station. But in general you don't want nondeterministic orders in the first place, so just use non-stop.
But please keep in mind that it's not clear because :
- Not all people use/know "non stop" order. non stop seams quite weird : why should I send a train to a station if I tell him no stoping ?!!!!
- Most of people don't use non-stop (we used a time when mordern Path finder were not here and we needed waypoint and non stop to these way point)
- People expect to continue to define orders the same way they did. Notice it works most of time (see my planes for example) but not for all...
In fact, I still not understand the "nondeterministic" stuff (you tryed to explain me, with negation of something, for non english people it's not easy)
It's not clear If I must use "non stop" for goto A1 for goto A4 or for both. And should I do that for all train ?
I hope you understand : "non stop" means for me "the train does no stop at this station" (just like a waypoint)...
maybe you should : rename "non stop" to something else... or just define "normal" as being your "non stop" by default.
finally, why do you keep two different behaviors ("normal" vs "non-stop") if only one is working fine ???
Please don't avoid this question, to be usable by normal/casual player, it must not involve unlogical concept of "non stoping".
Thank you for reading, my goal is to try to make you great patch intuitive to play.
Re: Cargo Distribution
Please revise your understanding of "non stop". Non stop in the real world means without stopping at intermediate stations, e.g. a non stop flight from Amsterdam to Sydney means there is no stop/landing in between. Waypoints are "go via" (your non stop). You can have "go non stop via", but then it won't stop at any intermediate stations and it won't stop at the waypoint.fabca2 wrote:I hope you understand : "non stop" means for me "the train does no stop at this station" (just like a waypoint)...
Changing the understanding of words for a single person is better than using wrong words for millions.
Who is online
Users browsing this forum: Amazon [Bot] and 13 guests