Money count bug

Got problems with Locomotion? Find assistance here!

Moderator: Locomotion Moderators

Post Reply
User avatar
chevyrider
Tycoon
Tycoon
Posts: 3285
Joined: 16 Sep 2004 09:52
Location: Amersfoort The Netherlands

Money count bug

Post 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. :?
Attachments
Moneycountbug.png
Moneycountbug.png (469.76 KiB) Viewed 2437 times
User avatar
Chrill
Moderator
Moderator
Posts: 16078
Joined: 18 Dec 2004 17:35
Location: Stockholm, Sweden
Contact:

Post by Chrill »

Is there a max amount of money to make?
Strange...
Image
My Scenarios:
Archipiélago Hermoso (Latest Release: Version 3.2)
Turnpike Falls (Latest Release: Version 0.91)
Mek
TTDPatch Developer
TTDPatch Developer
Posts: 417
Joined: 13 Apr 2004 13:35
Location: Eindhoven, Netherlands
Contact:

Post 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.
User avatar
chevyrider
Tycoon
Tycoon
Posts: 3285
Joined: 16 Sep 2004 09:52
Location: Amersfoort The Netherlands

Post by chevyrider »

Re: Mek
Thanks for the explanation :wink:
mr_pete
Engineer
Engineer
Posts: 37
Joined: 04 May 2005 17:49

Post by mr_pete »

Chris, Chris, when will you learn?
User avatar
Severous
Director
Director
Posts: 542
Joined: 26 Oct 2004 20:52
Location: Hertfordshire, England

Post 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.
Regards
Post Reply

Return to “Locomotion Problems, FAQs and Tutorials”

Who is online

Users browsing this forum: No registered users and 3 guests