BUG: Mentally-retardedly high town population

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
User avatar
mrMann
Tycoon
Tycoon
Posts: 2793
Joined: 27 Oct 2006 20:38
Location: A house.
Contact:

BUG: Mentally-retardedly high town population

Post by mrMann »

It kind of has 4,294,967,213 people living there (or 4 billion, 294 million, 967 thousand and 213). Which is a tad unrealistic. Particularly as it doesn't take up the whole map. I have TTRS3.2, as well as LV4, new terrain/water, and alpine climate. (yes, I do have 1.6 billion pounds)
EDIT: now it has 5 people. Me is confuddled.
Attachments
Great Rails Transport, 7th Feb 2027.png
The bug.
(306.24 KiB) Downloaded 292 times
Great Rails Transport, 16th Sep 2027.png
5 people
(293.81 KiB) Downloaded 211 times
Hmm, what should I put here...
User avatar
Maedhros
OpenTTD Developer
OpenTTD Developer
Posts: 603
Joined: 30 Mar 2006 18:24
Location: Durham, UK

Re: BUG: Mentally-retardedly high town population

Post by Maedhros »

Which OpenTTD version are you using? Is it an official version, or is it something like ChrisIN? I know this has been reported in ChrisIN games before, but I don't think it's ever been reproduced in the nightlies.
No-one's more important than the earthworm.
User avatar
mrMann
Tycoon
Tycoon
Posts: 2793
Joined: 27 Oct 2006 20:38
Location: A house.
Contact:

Re: BUG: Mentally-retardedly high town population

Post by mrMann »

the latest ChrisIN, r11355.
Hmm, what should I put here...
User avatar
Maedhros
OpenTTD Developer
OpenTTD Developer
Posts: 603
Joined: 30 Mar 2006 18:24
Location: Durham, UK

Re: BUG: Mentally-retardedly high town population

Post by Maedhros »

Yeah, you'll have to talk to chrissicom about that, then. :P
No-one's more important than the earthworm.
User avatar
Doorslammer
Tycoon
Tycoon
Posts: 1037
Joined: 16 Oct 2007 11:08
Location: Perth, Western Australia
Contact:

Re: BUG: Mentally-retardedly high town population

Post by Doorslammer »

Wow, talk about having the world on your doorstep. :wink:
Image
FISHMANPET
Engineer
Engineer
Posts: 2
Joined: 10 Dec 2007 07:59

Re: BUG: Mentally-retardedly high town population

Post by FISHMANPET »

I would guess the population went to 5 because of an integer overflow. 4,294,967,295 is the largest number that can be stored in a 32bit unsigned integer.
User avatar
mrMann
Tycoon
Tycoon
Posts: 2793
Joined: 27 Oct 2006 20:38
Location: A house.
Contact:

Re: BUG: Mentally-retardedly high town population

Post by mrMann »

EDIT: Fixed
Hmm, what should I put here...
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 18 guests