Page 1 of 1

Money count bug

Posted: 08 Mar 2005 14:02
by chevyrider
While playing with the RRC set of Loewe13, i made so much money in 1932, that the counter went mad.
When my earnings per year passed 4,300,000,000 euro in august, the income went negative in the ownerscreen.
New income is abstacted from the dept, so the counter goes back to zero again.
This stays so till the end of the year.
After that in januari the counter works correct again till the limit is reached again.
This doesn't affect the graffic in the Compagny Value list or Total earnings visible on the down left. :?

Posted: 10 Mar 2005 15:36
by Chrill
Is there a max amount of money to make?
Strange...

Posted: 10 Mar 2005 15:40
by Mek
well... all these statistics are stored in signed 32 bits integers in pounds. So the maximum value to reach is 2^31 pounds, wich is equal to approximatly 4*10^9 euro's after wich it overflows, and starts at negative values.

Posted: 10 Mar 2005 15:50
by chevyrider
Re: Mek
Thanks for the explanation :wink:

Posted: 06 Jun 2005 18:10
by mr_pete
Chris, Chris, when will you learn?

Posted: 06 Jun 2005 21:24
by Severous
Show off Mr Chevvy :wink: Those robot rail always make me smile when I see someone using them. :)

Now try doing that with regular lok's and 10 ton tanker wagons. Not very likely thats going to happen. Ive got close....not. Several billions..or is it trillions off.