Page 55 of 154

Re: Cargo Distribution

Posted: 02 Dec 2009 21:36
by fonso
I still can't reproduce any of your crashes, Hamilton2007. However, with MSVC I think you can build a "release" build and still provide the debug symbols (.pdb). Maybe this would solve your problem.

Also you only need to post a single meaningful crash log or dump to dramatically increase the chance of me getting a clue about what is going on there. So maybe you can play one of the slow builds until it crashes once and then post the crash log and dump. This would be very helpful.

Re: Cargo Distribution

Posted: 02 Dec 2009 21:40
by Gremnon
Out of curiosity, why is the current patch against trunk still at r18368? Changes in trunk not yet merged, or just not enough time?
I'm just tryingto understand it, as I've got one or two patches that are after that, that I'm trying to merge.

Re: Cargo Distribution

Posted: 02 Dec 2009 22:48
by Terkhen
If a release ("fast") version is enough for debugging the crash, you can use the attached build instead. This is a release binary compiled with MSVC, using http://fickzoo.com/fonsinchen/patches/a ... 18368.diff.

The PDB file is only required for debugging: it is not needed for testing cargo distribution.

Edit: Build outdated.

Re: Cargo Distribution

Posted: 02 Dec 2009 23:03
by petert
[...]
Removed because of Rubidium's reply.

Re: Cargo Distribution

Posted: 02 Dec 2009 23:08
by Rubidium
petert wrote:Oh, I just made a binary :(. Well, I will post it anyway.
So now when a crash occurs we have to pray that they used Terkhen's build and not yours because if they took yours the crash report is useless because there is no PDB and as such no clue where the crash happened. Luckily there is no real way to tell which off the builds someone downloads although I reckon most people download the last one (because that must be the newest) and as such you totally screw with the chances of this bug being fixed.

Re: Cargo Distribution

Posted: 02 Dec 2009 23:56
by petert
@Creat: Thank you for an amazing reply, and tons of help! I do appreciate it.

Re: Cargo Distribution

Posted: 03 Dec 2009 14:02
by Rista
Psistorm wrote:
keoz wrote:Just to tell it once more.

Cargodist is really great. I could no more find any interest in playing OTTD without it.

Still thanks for your work, fonso.
Agreed. Cargodist really makes the game more challenging and more fun. The only thing Id love more is to get my hands on a build with cargodist + improved timetables (for splitting PAX trains evenly. manually just doesnt work out for me even after some trying). But until someone makes a patchpack, Ill happily play this build, Im having lots of fun with it.
Agree with that. Cargodist makes for a great game but it is really missing the automatic separation of vehicles with timetables option.

Tried compiling OTTD for the first time yesterday and it was a success :D No crashes so far as well. Looking around for improved timetable patches and all of them seem to be pretty old. My C++ knowledge is very, very limited so updating one of those is basically a no go :( if someone knows one that will compile with the current revision, please do tell :)

Re: Cargo Distribution

Posted: 03 Dec 2009 17:18
by audigex
Agreed, that's the one reason I can't play with cargodist - to me it's all about the passengers, and it just doesn't work as well without ITiM.

Unfortunately the CargodEst + ITiM build I was using is too far behind trunk for me to use now - it's just awkward to lose features again. I'm really looking forward to the first build with ITiM + Cargodist, that would be pretty much my ideal build.

In the same way that PBS paved the way for realistic track layouts, CD+ITiM will allow realistic train services.

Re: Cargo Distribution

Posted: 03 Dec 2009 20:18
by Creat
About 'Improved Timetables', I know it's not a logical part of Cargodist but maybe it could be possible for fonso to include it in a branch? I would also very much like to have ITiM (at least as an option), any chance of that happening? I think the 'target audience' is pretty much the same group of players for both patches so at least from that point of view it's a logical inclusion :D
petert wrote:@Creat: Thank you for an amazing reply, and tons of help! I do appreciate it.
You're quite welcome, I hope everything works now as it should?

Re: Cargo Distribution

Posted: 03 Dec 2009 20:45
by petert
Rista wrote:if someone knows one that will compile with the current revision, please do tell :)
http://fickzoo.com/fonsinchen/patches/ (against_trunk folder)
Creat wrote:You're quite welcome, I hope everything works now as it should?
There are some fatal errors, actually. I can't copy them down, because I currently don't have access to my machine, but I will give you what happened in the near future.

Re: Cargo Distribution

Posted: 04 Dec 2009 13:42
by rbn2903
Creat wrote:About 'Improved Timetables', I know it's not a logical part of Cargodist but maybe it could be possible for fonso to include it in a branch? I would also very much like to have ITiM (at least as an option), any chance of that happening? I think the 'target audience' is pretty much the same group of players for both patches so at least from that point of view it's a logical inclusion :D
That would indeed be great, but you can't be sure, that iTiM is bugfree (especially since it is quite old by now and there have been a lot of changes in trunk). So if a crash occurs you can't tell whether it comes from iTiM or CargoDist or both of them together. And at least in CargoDist crashes still happen (according to reports of some users; I don't actually play CargoDist right now!).

Re: Cargo Distribution

Posted: 04 Dec 2009 15:37
by Creat
Speaking of crashes: I meant to report that I haven't had any in quite a while (except for the station-building-bug that came from trunk, as reported by tsjook here). Also all games I've played have been network games and there wasn't a single desync. Maybe whatever had caused the desyncs/crashes before for me/us has been fixed since the game I reported the crashes and desyncs for. That one decsynced about every 30 minutes or so...

Re: Cargo Distribution

Posted: 04 Dec 2009 18:19
by Hamilton2007
Still no crash with Therkens build a couple of posts up, :]

Re: Cargo Distribution

Posted: 04 Dec 2009 19:28
by huldu
I have been playing with cargodist_win32_r18368.rar, which might be a bit old right now. However ive had two CTD using it. I have no idea what cause them but it happens after a while playing and seems to always be caused by editing the routes on a vehicle. All i do is click the route button and the game crashes. Wish i had some more info, but thats what happens for me.

<edit> Nvm the above just crashed after a few minutes this time and when i clicked "repay" loan in the report...

Re: Cargo Distribution

Posted: 04 Dec 2009 21:12
by fonso
huldu, can you please check if you have a crash.dmp or a crash.txt? Luckily you're using a build for which there are debug symbols so chances are good that I can actually get a stack trace from your crash dump. This would be a thousand times more useful than anything which has been said about the bug in this thread. I really would like to fix the bug but as it only happens on some systems (and especially not on mine) I'm desperately in need of your help.

Re: Cargo Distribution

Posted: 04 Dec 2009 21:50
by huldu
I cant find any crash logs or dumps in the folders. Is there any way to enable them? I could easily "recreate" the crash.

Re: Cargo Distribution

Posted: 04 Dec 2009 22:55
by fonso
huldu, there should be a file named "crash.dmp" either in the folder where your save games are or in the folder where openttd.cfg is. Additionally you should have seen a crash notification window with the location of the crash dump.

Edit: What version of windows are you running?

Re: Cargo Distribution

Posted: 04 Dec 2009 23:08
by huldu
Oh.. i found the folder but it has no crash logs in it :( - WinXP

Re: Cargo Distribution

Posted: 04 Dec 2009 23:09
by petert
You must be using a build that wasn't made with MSVC, try using the build provided by Terkhen.

Re: Cargo Distribution

Posted: 04 Dec 2009 23:18
by fonso
Is there any file with a name starting with "crash" in any folder associated with openttd? Even the mingw build should produce a log (although that's unreadable). And what does the version string in the title of the main menu say?