The International Simutrans Forum

 

Author Topic: Load calculation problem  (Read 2364 times)

0 Members and 1 Guest are viewing this topic.

Offline sanna

  • *
  • Posts: 234
Load calculation problem
« 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:
(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

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)

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Load calculation problem
« Reply #1 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!

Offline Bernd Gabriel

  • *
  • Posts: 230
  • Addicted to Simutrans: since 2003
    • Fast Function Factory
  • Languages: DE, EN, C++
Re: Load calculation problem
« Reply #2 on: June 17, 2009, 12:40:20 AM »
In release 4.1 it is still there:

Offline stevenlim84

  • *
  • Posts: 25
Re: Load calculation problem
« Reply #3 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!

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Load calculation problem
« Reply #4 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?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9557
  • Languages: De,EN,JP
Re: Load calculation problem
« Reply #5 on: June 17, 2009, 08:41:55 PM »
This is fixed in 102.0

Offline Bernd Gabriel

  • *
  • Posts: 230
  • Addicted to Simutrans: since 2003
    • Fast Function Factory
  • Languages: DE, EN, C++
Re: Load calculation problem
« Reply #6 on: June 17, 2009, 09:49:50 PM »
This is fixed in 102.0
Hm, it's back again...

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Load calculation problem
« Reply #7 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!