Cargo Distribution
Moderator: OpenTTD Developers
Re: Cargo Distribution
Fonso: in case you need the .pdb file of my compile to debug NekoMaster's crash, just let me know (it's 18 MB, so I didn't include it), I mean in case you can't reproduce it with your own compiles of the same version.
Shouldn't be the case though, since this is a straight forward compile in VS2008 from a git-checkout (and also a 'release' compile obviously).
Shouldn't be the case though, since this is a straight forward compile in VS2008 from a git-checkout (and also a 'release' compile obviously).
- NekoMaster
- Tycoon
- Posts: 4001
- Joined: 16 Aug 2008 22:26
- Skype: neko-master
- Location: Oshawa, Ontario, CANADA
Re: Cargo Distribution
Why dont you guys try it? Like i said, it crashes at random, I could spend all night waiting for a crash. No offense, but I think someone like petert should patch it, since the last one was done by him and its pretty stable, im still using it and it hasn't crashed once! btw the version im talking about is r17837Mpetert wrote:Could you please just post your most recent savegame so that we can try to fix it.NekoMaster wrote:No, theres no dumps or logs, Ill be play ing and it will suddenly say "openttd has stopped working" and It shouldn't be that Im on windows 7, its the official release now, so, the old buld petert made a while back that i asked for still works like it should


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
Managed to make a .deb using the guide at the wiki.
- Attachments
-
- cargodist_debian_lenny_i386.deb
- (3.91 MiB) Downloaded 89 times
- NekoMaster
- Tycoon
- Posts: 4001
- Joined: 16 Aug 2008 22:26
- Skype: neko-master
- Location: Oshawa, Ontario, CANADA
Re: Cargo Distribution
Now you need to make a Win32 build :3petert wrote:Managed to make a .deb using the guide at the wiki.


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
Wasn't one posted already? If I need to make one, it will have to wait, I'm in linux now and its 2:39 AM.
- NekoMaster
- Tycoon
- Posts: 4001
- Joined: 16 Aug 2008 22:26
- Skype: neko-master
- Location: Oshawa, Ontario, CANADA
Re: Cargo Distribution
arlight.... the last one is the one that keeps crashing at random so Its hard to get a save game to show it crashing.like I said, your last one that you made when i asked still works, and hasn't crashed once, so I would prefer if you made it againpetert wrote:Wasn't one posted already? If I need to make one, it will have to wait, I'm in linux now and its 2:39 AM.



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
Ok, just remember, any savegame is of use to me/fonso to try to fix the problem. (No worries, I'm learning to cross-compile now)
Re: Cargo Distribution
You seem to think those crashes are caused by the compiler or build environment. This is most likely not true. Even if the problem only shows with certain compilers and OS it's very likely that there is a bug in the source code. I suggest you help me find this bug. Just posting nebulous comments without any real information doesn't quite help, though. Traces of the problem might be found in any save of any game that has crashed on you. How come it is hard to get a savegame? Does it crash before you can click the "save" button? You could also tell us if it's always the same game you're playing or if there are several different saves and/or new games you have tried. You could give us the exact text of the error message. Is it really only a window with just the text "openttd has stopped working" or is there some more information?NekoMaster wrote: arlight.... the last one is the one that keeps crashing at random so Its hard to get a save game to show it crashing.like I said, your last one that you made when i asked still works, and hasn't crashed once, so I would prefer if you made it again
The guy on the picture is not me, it's Alonso.
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Cargo Distribution
Wich one is better CargodEst or CargodIst ?
Or, what are the most important differences between the two?
Or, what are the most important differences between the two?
Re: Cargo Distribution
They are both for the same purposes, but Cargodest is abandoned and therefore not up to date.Hamilton2007 wrote:Wich one is better CargodEst or CargodIst ?
Or, what are the most important differences between the two?
Cargodist is alive and well, and you could help development by playing it and reporting any crashes/problems/suggestions you might have. Look in this thread, or on fonso's site, for the latest diff or compiled build.
Re: Cargo Distribution
Hello
OS: Ubuntu 9.04, version: g843befd2 (compiled it myself from git repository).
The ZIP contains the crash.log, the crash.sav and additionally an older savegame. I doubt that you can benefit from it, because the savegame is from 8 or 9 years before the crash.
Tschö, Auge
While he can't or won't distribute you with the data, here it is.petert wrote:Ok, just remember, any savegame is of use to me/fonso to try to fix the problem. (No worries, I'm learning to cross-compile now)
OS: Ubuntu 9.04, version: g843befd2 (compiled it myself from git repository).
The ZIP contains the crash.log, the crash.sav and additionally an older savegame. I doubt that you can benefit from it, because the savegame is from 8 or 9 years before the crash.
Tschö, Auge
- Attachments
-
- crash.sav
- (29.2 KiB) Downloaded 90 times
- NekoMaster
- Tycoon
- Posts: 4001
- Joined: 16 Aug 2008 22:26
- Skype: neko-master
- Location: Oshawa, Ontario, CANADA
Re: Cargo Distribution
I keep saying, its crashing is unpredictable for the last build, I can get to the save option, but I don't know when it will crash. it also crashes with out warning, so i could be playing a nice map and suddenly it will say openttd has stopped working 



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
Lets make a basic script for you:NekoMaster wrote:I keep saying, its crashing is unpredictable for the last build
1: turn on autosave, set it to every month
2: load a game or start a new one
3: play
4: when it crashes load the last autosave
5: check whether the loaded autosave crashes within 1 month. If it does, give that autosave to fonso. If not continue with step #3.
Re: Cargo Distribution
@fonso, could you update soon? There have been many revisions today, and I'd like to compile an updated version of cdist. Git just doesn't want to work on windows, and I'm very new at my linux.
Re: Cargo Distribution
If you can get the cross-compliling to work, could you tell me what you did. My mingw is installed, configure is ok, but i get some errors with compiling.petert wrote: (No worries, I'm learning to cross-compile now)
I'm on Ubuntu 9.10 too.

Re: Cargo Distribution
@petert: I also use git on win, never had any problems...
If you you add the git/bin directory to the PATH variable via system settings (required for VS to detect source version on compile) and consistently work out of the git bash, everything should work just fine...
If you you add the git/bin directory to the PATH variable via system settings (required for VS to detect source version on compile) and consistently work out of the git bash, everything should work just fine...
Re: Cargo Distribution
Actually, I'm going to try Wine under Linux, and install everything like the Windows guide shows. The current cross-compile guide is a horrible mess.Tvel wrote: If you can get the cross-compliling to work, could you tell me what you did. My mingw is installed, configure is ok, but i get some errors with compiling.
I'm on Ubuntu 9.10 too.
I'll have to remember that, but I still don't like git, svn and hg are much easier to use.Creat wrote:@petert: I also use git on win, never had any problems...
If you you add the git/bin directory to the PATH variable via system settings (required for VS to detect source version on compile) and consistently work out of the git bash, everything should work just fine...
Re: Cargo Distribution
Hello
Tschö, Auge
There is also a tool called TortoiseGit for Windows.Creat wrote:@petert: I also use git on win, never had any problems...
If you you add the git/bin directory to the PATH variable via system settings (required for VS to detect source version on compile) and consistently work out of the git bash, everything should work just fine...
There is a problem with a library that is needed in version 3.8 and is in Ubuntu 9.10 in version 4.2. Please use the forum search to find the solution (there is one).Tvel wrote: If you can get the cross-compliling to work, could you tell me what you did. My mingw is installed, configure is ok, but i get some errors with compiling.
I'm on Ubuntu 9.10 too.
Tschö, Auge
Re: Cargo Distribution
Wow, I never knew about TortoiseGit, when I restart to windows, I will install it.
Re: Cargo Distribution
Thanks Auge. This is probably the same thing Creat reported on page 42. At least in your log you have a similar error message:
Unfortunately I still can't reproduce the crash. I tried with Debian amd64 and i686, with Windows XP MinGW and VC++. However, I had no luck so far. Maybe you could compile the game with debug symbols (configure --enable-debug=3) and try to produce a meaningful stacktrace? The one in the crash.log doesn't really show what's going on:
Maybe I need to install a Ubuntu in order to debug this ... 
Code: Select all
Assertion failed at line 112 of /home/auge/openttd-source/openttd/src/cargotype.h: index < lengthof(CargoSpec::array)
Code: Select all
Stacktrace:
[00] /home/auge/Spiele/openttd-cargodist-g843befd2-linux-generic-i686/openttd(_ZNK12CrashLogUnix13LogStacktraceEPcPKc+0x43) [0x82753e3]
[01] /home/auge/Spiele/openttd-cargodist-g843befd2-linux-generic-i686/openttd(_ZNK8CrashLog12FillCrashLogEPcPKc+0xaf) [0x81ad01f]
[02] /home/auge/Spiele/openttd-cargodist-g843befd2-linux-generic-i686/openttd(_ZNK8CrashLog12MakeCrashLogEv+0xbc) [0x81ad14c]
[03] /home/auge/Spiele/openttd-cargodist-g843befd2-linux-generic-i686/openttd [0x8275338]
[04] [0xb803a400]
[05] [0xb803a430]
[06] /lib/tls/i686/cmov/libc.so.6(gsignal+0x50) [0xb7cea6d0]
[07] /lib/tls/i686/cmov/libc.so.6(abort+0x188) [0xb7cec098]
[08] /home/auge/Spiele/openttd-cargodist-g843befd2-linux-generic-i686/openttd [0x8265e5f]

The guy on the picture is not me, it's Alonso.
Who is online
Users browsing this forum: No registered users and 9 guests