Frequently Asked Questions

Status
Not open for further replies.
45°38'N-13°47'E;12822158 said:
That's correct.

Here's where we were discussing about it

http://forums.civfanatics.com/showthread.php?t=477066

World population limit is 2147483647 which is the max integer you can have on 32bit (Civ4 it's a 32-bit application).
2^31(2 to the power of 31) -1 = 2147483647

That's why you can't have bigger cities and why population is "scaled down".

Are you sure about this?

I remember discussion about this long time ago (2008?:)) and 2147483647 was said to be limit of one civ not the hole world. Also nothing strange happens when limit is reached, statistics just stop growing.

So maybe theres no need to this population reducing? 2 billion for one civ is probably enough in 99% games?:) its like 65 size 40 cities..

Btw great to see AND live and well:goodjob:
 
Well I guess I'd just gotten adjusted to the larger city sizes and I am sort of obsessed with the statistics in the game so these figures kind of disturb me when I'd expected something far greater.

But even if the limit is around 2 billion, at this rate (even with the approximately 30 civilizations in the game) we're not going to get anywhere near 50 million in the world population, nonetheless 2 billion.

Does this improve the performance of the game?

Iirc that was the reason for it being done this way (improve performance, especially for ppl with 32 bit OS).

JosEPh
 
Actually, none of the above is correct.
It is set at that limit because the demographic table in infoscreen is set to take in integer value.
It has nothing to do with performance.
And of course you can change it such that it does not take in integer

Edit:
Actually, looking at the codes in the infoscreen file, the problem is not there...
getRealPopulation() is the problem.
 
Wow:) This is just great. Thank you platyping!

I think this will be in every mod pretty soon..
 
Code:
long CvPlayer::getRealPopulation() const
{
	CvCity* pLoopCity;
	__int64 iTotalPopulation = 0;
	int iLoop = 0;

	for (pLoopCity = firstCity(&iLoop); pLoopCity != NULL; pLoopCity = nextCity(&iLoop))
	{
		iTotalPopulation += pLoopCity->getRealPopulation();
	}

	if (iTotalPopulation > MAX_INT)
	{
		iTotalPopulation = MAX_INT;
	}

	return ((long)(iTotalPopulation));
}

The root of the problem if you prefer a simple SDK fix.
It is supposed to return a long value, yet the long value is restricted to int value...
Lame
 
Code:
long CvPlayer::getRealPopulation() const
{
	CvCity* pLoopCity;
	__int64 iTotalPopulation = 0;
	int iLoop = 0;

	for (pLoopCity = firstCity(&iLoop); pLoopCity != NULL; pLoopCity = nextCity(&iLoop))
	{
		iTotalPopulation += pLoopCity->getRealPopulation();
	}

	if (iTotalPopulation > MAX_INT)
	{
		iTotalPopulation = MAX_INT;
	}

	return ((long)(iTotalPopulation));
}

The root of the problem if you prefer a simple SDK fix.
It is supposed to return a long value, yet the long value is restricted to int value...
Lame

So you say it's enough to remove

Code:
	if (iTotalPopulation > MAX_INT)
	{
		iTotalPopulation = MAX_INT;
	}
?

I guess this was placed here for a reason, although I don't know what it might be...
 
Who knows.
Firaxis coders have a weird sense of humor.

If the system really cannot handle a value bigger than the MAX INT, then why bother to save it as a long value?

The fix in the demographic screen is merely a fix for the display.
It does not change the "real population" value stored in the game data.
Thus, when codes elsewhere are still using this getRealPopulation() function, it will still return this MAX INT value.

But seriously, I have never seen this real population value used elsewhere beside this screen and the Top 8 Civs thingy.
 
Im sure c2c came across the same problem 45°38'N-13°47'E, in fact I vaguely remember it being discussed, why not ask them?
 
Im sure c2c came across the same problem 45°38'N-13°47'E, in fact I vaguely remember it being discussed, why not ask them?

Because that part of the code is exactly the same in C2C and AND2. So either they have the same problem or the problem isn't dependant on that part of the code. :) Don't worry, I'll experiment a bit and I'll ask Koshling and other C2C team members anyway.
 
Hello everyone. I've noticed that cottage and its improvements don't give more gold when they improve. The only gold get is from civics or technologies but if we don't consider this techs and civics there's no difference between a cottage and a city excluding the 1 unhealthiness that gives the city. I downloaded the 2.0 beta 2 and it's still like that. Is it made on purpose ? If not could you tell me please what should I do. If I need to reinstall the mod put the link here please and like this I will be able to download it :)

P.S. Sorry if my english isn't good but it isn't my mother language.
 
Hello everyone. I've noticed that cottage and its improvements don't give more gold when they improve. The only gold get is from civics or technologies but if we don't consider this techs and civics there's no difference between a cottage and a city excluding the 1 unhealthiness that gives the city. I downloaded the 2.0 beta 2 and it's still like that. Is it made on purpose ? If not could you tell me please what should I do. If I need to reinstall the mod put the link here please and like this I will be able to download it :)

P.S. Sorry if my english isn't good but it isn't my mother language.

Not in my games at least. Cottage give 1 gold, hamlet give 2 and so on... Is anyone else reporting this problem?
 
When you hold the mouse over your flag in the main screen what version does it give you?

663 or 664 is the last 2 builds.

JosEPh
 
Hi Everyone, I'm kinda new to these forums and have been trying to read through as much as I can to figure out my problem. Been playing Rise of Mankind for a while now and just decided to download A New Dawn. Not sure of the version. I got it from the most downloaded mods section and the date on it is 7/18/09 and it is 849.16 MB.

I have Rise of Mankind in My Documents under My Games and have had no problems with playing it. When I downloaded AND it went into RoM MODS folder under BTS in my documents\my games etc. The install seemed to go okay but when I went into the game, everything was the same and AND is not in the game. I have read that the MODS should not be in my documents but rather in C drive under Program Files which it was not when I searched for it. After a couple of attempts, still no luck so I sent RoM and AND to the Recycle Bin and today when I looked, they are no longer there. I did a search through the C:\Temp Folders and found some AND folders in there. After reading through these forums I have some questions so I can be clear on what I need to to so it installs correctly.

First off, I have Windows XP, with Firefox as my browser, BTS v 3.19 and RMK v 2.91. I want to download the AND 1.75 version, see if that works and then later try the AND2.

1. Do I have to eliminate all old Rise of Mankind/AND folders in my docs and/or C:\temp or wherever I find them?

2. Do I have to make a new folder for RoM-AND BEFORE I download and install and put it in Program Files under 2K\Firaxis\Sid Meiers Civ 4\BTS\Mods?

3. I read that AND does like not the MEGA version-use Full install. How do I determine if I have MEGA or FULL?

4. Regarding installation of AND 1.75 version I read that I should install it in C:\Temp and then move RoM-AND under the MOD folder inside BTS Folder. I found an empty Temp Folder in C drive, can I install it in there?

5. Lastly I keep seeing "Read the instructions in the OP" a lot. At the risk of seeming like a total ass, what and where is the OP? My best guess is it means Original Post.

I think that covers it for now. Sorry for so many questions, but I am not at all computer savvy and there are a lot of instructions that seem vague to me because my knowledge is not up to snuff. I basically load the games and play. When it comes to technical stuff, I call in the wife who is not an expert, but knows more than I do and can usually figure out what to do better than I can. I just don't have the patience she does to read and figure things out. I just want to PLAY the game. "Behind every Civ Fanatic is a patient and understanding woman." I guess I'm lucky in that respect. Besides, while I'm busy playing the game, she gets full control over the TV remote so its a fair trade off.

Thanks to all for your patience and I will appreciate any advice you can give me.
 
Hi Everyone, I'm kinda new to these forums and have been trying to read through as much as I can to figure out my problem. Been playing Rise of Mankind for a while now and just decided to download A New Dawn. Not sure of the version. I got it from the most downloaded mods section and the date on it is 7/18/09 and it is 849.16 MB.

That is a way out of date version of the mod, AND is now up to 2.1 official and 2.2 is currently in the beta testing/feedback stage. This latest version was released a week or so ago and contains numerous fixes and changes from that version from 2009. Go to this thread here:

http://forums.civfanatics.com/showthread.php?t=344525

Read the very first post by 45 and click the >> DOWNLOAD HERE << link to download the latest nightly build of AND. Or your can choose the latest stable 2.1 version if you'd prefer below that link, v2.2 is bleeding edge but it's mostly stable and working from my experience.

This should install the latest version into your Civ4 directory, you shouldn't need to do anything else besides that. As for your questions regarding MEGA, don't use that so perhaps someone else can help you out there. I thought I remember reading that it wasn't working with the latest versions of AND but I could be wrong on that.
 
Thanks urtho. I think I'll just get the 2.1 for now. I did read on one of the forums that AND does not like Mega but don't know how to tell if I have it.
 
That is a way out of date version of the mod, AND is now up to 2.1 official and 2.2 is currently in the beta testing/feedback stage. This latest version was released a week or so ago and contains numerous fixes and changes from that version from 2009. Go to this thread here:

http://forums.civfanatics.com/showthread.php?t=344525

Read the very first post by 45 and click the >> DOWNLOAD HERE << link to download the latest nightly build of AND. Or your can choose the latest stable 2.1 version if you'd prefer below that link, v2.2 is bleeding edge but it's mostly stable and working from my experience.

This should install the latest version into your Civ4 directory, you shouldn't need to do anything else besides that. As for your questions regarding MEGA, don't use that so perhaps someone else can help you out there. I thought I remember reading that it wasn't working with the latest versions of AND but I could be wrong on that.

Thank you urtho for your explanation, it saved me a lot of time ;)
As for the MEGA version, if you're talking about the one which is uploaded on Mega.co.nz, that's just AND2.1 with full installer. :) If you're talking about the MegaCivPack, that's kind of a modmod for AND and it's not being updated since long; it will eventually, but it's not on the priority list. Anyway MegaCivPack it's just a bunch of new civs beyond AND default civs.
 
Thanks 45. I think it is the MegaCivPak that I had read about wasn't aware of the other. Thanks for the info. Much appreciated.
 
Status
Not open for further replies.
Back
Top Bottom