Well first of all this is not a bug and I think Firaxis or Infrogames or whoever should not even worry about this issue because its not a bug. ITS A CHEAT. This cheat in no way hinders gameplay whatsoever, its up to the human to take advantage of it, people need to stop complaining about it. If you dont like this cheat then dont use it, why should you care that someone else in there own single player game takes advantage of it?
Anyways onto the main point. Although I have a limited knowledge of C++, from what I do know this error has to do with the fact there is a limit on the size of integer a computer can handle. For civ 3 I would assume that asking money from other civs would be declared as an int since nobody is going to make more then 32,000 or so gold and 32,000 is the limit for what the computer can handle for int variables. A solution would be probably to change it to a long. Longs are the same as int variables except they can go much higher without the computer returning incorrect data. Actually the variable may already be a long, I dont know, if thats the case the only solution would be to limit the number of digits in the per turn or lump sum box to 4 or 5. That way the most you could ask for would be 9,999 and the AI would reject that since its not out of the range of the 32,000 so the cpu could do the calculatiosn without errors. This is just a thought and please correct me if Im wrong. And I hope you'll can even understand what Im talking about.
Anyways onto the main point. Although I have a limited knowledge of C++, from what I do know this error has to do with the fact there is a limit on the size of integer a computer can handle. For civ 3 I would assume that asking money from other civs would be declared as an int since nobody is going to make more then 32,000 or so gold and 32,000 is the limit for what the computer can handle for int variables. A solution would be probably to change it to a long. Longs are the same as int variables except they can go much higher without the computer returning incorrect data. Actually the variable may already be a long, I dont know, if thats the case the only solution would be to limit the number of digits in the per turn or lump sum box to 4 or 5. That way the most you could ask for would be 9,999 and the AI would reject that since its not out of the range of the 32,000 so the cpu could do the calculatiosn without errors. This is just a thought and please correct me if Im wrong. And I hope you'll can even understand what Im talking about.
Comment