The International Simutrans Forum

Development => Bug Reports => Topic started by: McAlpine on August 15, 2010, 09:54:04 PM

Title: Linux 64bit pak128 buses make insane amounts of profit
Post by: McAlpine 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 (http://uploaded.to/file/x8imka) and watch the bus in Baden unload passengers at Baden Transfer.
Title: Re: Linux 64bit pak128 buses make insane amounts of profit
Post by: prissi 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.
Title: Re: Linux 64bit pak128 buses make insane amounts of profit
Post by: Ters 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?
Title: Re: Linux 64bit pak128 buses make insane amounts of profit
Post by: McAlpine 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.