.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old July 7th, 2004, 05:50 PM
Jack Simth's Avatar

Jack Simth Jack Simth is offline
Major General
 
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
Jack Simth is on a distinguished road
Default Re: Sudden zero population

As far as I can tell poking around in the ftherlnd files, province population is actually a signed 16-bit integer; but an extra 0 is appended at the end whenever the population is displayed - thus that 300,000 pop province had it's populaiton stored as 30,000 - a 4% increase would mean it goes up by 1200, putting it at 31,200 (stored) - not an immediate problem, if the 300,000 population figure was exact. However, if the population was much over 315,060 (31,506, stored) then that extra 4% pushes it above 327,670 (32,767, stored), which is the absolute limit that a 16-bit signed integer will hold. Beyond that it's overflow. Note that after you reached 300,000 population, it would only take 2-3 turns at 4% growth to have the same problem.
__________________
Of course, by the time I finish this post, it will already be obsolete. C'est la vie.
Reply With Quote
  #2  
Old July 7th, 2004, 05:53 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: Sudden zero population

I recall the population limit for any province is 50,000.
__________________
There can be only one.
Reply With Quote
  #3  
Old July 7th, 2004, 06:29 PM
Boron's Avatar

Boron Boron is offline
Lieutenant General
 
Join Date: May 2004
Location: Bavaria , Germany
Posts: 2,643
Thanks: 1
Thanked 0 Times in 0 Posts
Boron is on a distinguished road
Default Re: Sudden zero population

Quote:
Originally posted by NTJedi:
I recall the population limit for any province is 50,000.
i remember having a population of 70k or so in a long sp game in my capitol .
most likely you remember that from mapediting :
#population [0-50000] stands in the mapedit.pdf as command for population

[ July 07, 2004, 17:29: Message edited by: Boron ]
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:36 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.