The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: sanna on June 04, 2009, 07:20:39 AM

Title: Load calculation problem
Post by: sanna on June 04, 2009, 07:20:39 AM
When hanging on a passanger car to the coal mine <--> power plant train, stopping at the road crossing in between to let workers reach their work places I ended up with this:
(http://simutrans-germany.com/files/upload/bulk_or_no_bulk.jpg) (Sorry about the Swedish... *smile*)

The train is loaded with 18 passangers and 90t of coal, but both coal and passengers are listed under the passenger node, and the coal node is considered empty.

The save game is here (http://simutrans-germany.com/files/upload/bulkproblem.sve)

Stats: Debian/Squeeze
Simutrans Exp. 3.14 + git pull 2009-06-01 (commit 97d7a9fcf7d8dcdbd644ab6909cc4b3e08a39cd4) compiled locally with gcc 4.3.3
Pak 64 (not Experimental)
Title: Re: Load calculation problem
Post by: jamespetts on June 05, 2009, 10:58:56 PM
Sanna,

thank you very much for the report. I have eventually tracked down and fixed the problem; the fix will be available in the next release. Thank you for your help!
Title: Re: Load calculation problem
Post by: Bernd Gabriel on June 17, 2009, 12:40:20 AM
In release 4.1 it is still there:
(http://www.fast-function-factory.de/Download/simscr22.png)
Title: Re: Load calculation problem
Post by: stevenlim84 on June 17, 2009, 12:45:07 AM
Hi! I have met such problem long ago even in standard pak. Please check and fix this bug for both experimental and standard pak. Thanks!
Title: Re: Load calculation problem
Post by: jamespetts on June 17, 2009, 08:32:47 PM
Steven,

thank you for your useful information. Board administrators: in light of Steven's information, might I suggest that this be moved to the main bug reports section?
Title: Re: Load calculation problem
Post by: prissi on June 17, 2009, 08:41:55 PM
This is fixed in 102.0
Title: Re: Load calculation problem
Post by: Bernd Gabriel on June 17, 2009, 09:49:50 PM
Quote from: prissi on June 17, 2009, 08:41:55 PM
This is fixed in 102.0
Hm, it's back again...
(http://www.fast-function-factory.de/simutrans/simutrans.102.1.x.4.0.png)
Title: Re: Load calculation problem
Post by: jamespetts on June 17, 2009, 10:14:27 PM
I think that I have solved this by partly reverting to some Simutrans-Standard code that I had previously removed because it appeared to cause crashes. However, I think that I have now fixed the crashes. The fix should be available in the next version (but will need the preprocessor directive SLIST_FREIGHT to be used).

Thank you for the report!