The International Simutrans Forum

 

Author Topic: Linux 64bit pak128 buses make insane amounts of profit  (Read 1816 times)

0 Members and 1 Guest are viewing this topic.

Offline McAlpine

  • *
  • Posts: 13
Linux 64bit pak128 buses make insane amounts of profit
« on: August 15, 2010, 09:54:04 PM »
Description: When running buses inside a city, I have revenues of several 100'000ยข.

Gravity: Well, it just means I'm in freeplay mode against my will.

Circumstances: Happens both on the version from the Ubuntu 64bit repository (which is 102.2, I think) and on the newest svn (r3665). I'm using pak128, no addons.

Reproduce: DL Savefile at http://uploaded.to/file/x8imka and watch the bus in Baden unload passengers at Baden Transfer.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9454
  • Languages: De,EN,JP
Re: Linux 64bit pak128 buses make insane amounts of profit
« Reply #1 on: August 16, 2010, 10:28:08 AM »
The official releases are only 32bit (at least from us). Since (as far as I know) none of the current active developers has a 64bit compiling environment, I cannot help you right now. It works for me well.

The routine in question is in spieler_t::buche or related. It seems there is a conversion going wrong before that is called, so either in simhalt or simconvoi or simvehikel ... This requires some further investigation.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5469
  • Languages: EN, NO
Re: Linux 64bit pak128 buses make insane amounts of profit
« Reply #2 on: August 17, 2010, 04:14:06 PM »
I haven't seen anything like this with Linux 64-bit pak64. I just checked with r3669, though I only checked a few buses. Does it happen all the time to all buses, or is it unique to a certain bus/route in pak128?

Offline McAlpine

  • *
  • Posts: 13
Re: Linux 64bit pak128 buses make insane amounts of profit
« Reply #3 on: August 28, 2010, 02:47:03 PM »
No, it doesn't happen to me in pak64 either, only in pak128. I also think it only happens when the catchment areas of stations overlap.