I got this message on my latest game when I tried to build another city. What is the max?
Announcement
Collapse
No announcement yet.
Too many cities
Collapse
X
-
This implies that the number is cumulative. If that's so, then the total would still be 255 for one person vs. the AI, n'est-ce pas?
------------------
Frodo lives!
Better dead than "Red"... or green... or blue... or yellow... or orange... or purple... or white.Frodo lives!
Comment
-
256 is the max any map can hold. which makes sense since 256 is a magic number in base 2.
2 4 8 16 32 64 126 256 which means that 8 positions were allowed for city numbers.
RAH
You will notice that a lot of limits in the game relate to base 2 "magic numbers"
It's almost as if all his overconfident, absolutist assertions were spoonfed to him by a trusted website or subreddit. Sheeple
RIP Tony Bogey & Baron O
Comment
-
Please forgive me but I have to slightly disagree. In base two with an 8-bit field you have a max value of 11111111 which equals 255. If you bump to 256, then you open up another byte which would increase the potential number to 4095. Based on that, I would still think that 255 is the max.
------------------
Frodo lives!
Better dead than "Red"... or green... or blue... or yellow... or orange... or purple... or white.
[This message has been edited by kcbob (edited October 24, 2000).]Frodo lives!
Comment
-
You forget 00000000 which is 0 so 1 + 255 = 256 possible combinations.
For future techs they start at 1 so 255 is the max before it resets, but for cities they used the 00000000.
RAHIt's almost as if all his overconfident, absolutist assertions were spoonfed to him by a trusted website or subreddit. Sheeple
RIP Tony Bogey & Baron O
Comment
-
kcbob,
A number theorist would agree, but a computer scientist wouldn't. The range of values for 8 bits is from 0-255, which gives 256 values, including zero. Programmers always start lists with the 'zeroth' element (as some people at the Clash forum are fond of rubbing in. )"Wise men make proverbs, but fools repeat them."
- Samuel Palmer
Comment
-
kcbob - there really are 256 values, since you can also use zero. However, I saw a mention on another thread which said that a city index of 0 means a "NONE" unit. The AI need not have a city; if an AI has a settler, the game won't end. So I think the max number of cities is 255.
Comment
-
Gee three posts within 3 minutes to point out 0. Now I'm waiting for someone to point out that I misstyped 126 instead of 128. More programmers out here than I thought. (Or just smart people)
When Ming and I were doing our "friendly" high points score competition, I seem to remember having 255 cities and the AI one before I got the too many cities message. But as anyone would know that has tried this, I was probably brain dead at that point from boredom. Couple that with our advanced age and I could easily be wrong.
RAHIt's almost as if all his overconfident, absolutist assertions were spoonfed to him by a trusted website or subreddit. Sheeple
RIP Tony Bogey & Baron O
Comment
-
quote:
<font size=1>Originally posted by rah on 10-24-2000 08:27 AM</font>
You forget 00000000 which is 0 so 1 + 255 = 256 possible combinations.
RAH
Would you believe someone stole my handle and posted instead of me? Nope?
Can we just forget about this thread???
You wanna know what really makes this so sad? I have a degree in Computer Science, University of Missouri-Rolla, '71.
*hangs head in great shame*
------------------
Frodo lives!
Better dead than "Red"... or green... or blue... or yellow... or orange... or purple... or white.
[This message has been edited by kcbob (edited October 24, 2000).]Frodo lives!
Comment
-
I have another question:
Has anyone else ever attacked AI armor and artillery stacked and not killed all in the stack?
I did this and it only appeared to kill one of the armor. There wasnt a fortress or anything, so I dont understand....people like to cry a lot... - Pekka
...we just argue without evidence, secure in our own superiority. - Snotty
Comment
-
Caligastia,
Never seen that. Interesting.
But back to the original discussion. Since you just got the message, could you reload the game and add up all of your cities and the AI's and tell us how many cities there are? Why speculate when we can test. AND why test when you can get someone else to do it easier?
RAH
and to kcbob, A computer Science Degree
I will convienently forget this thread ever existed after Caligastia posts the number of cities, FAIR?
It's almost as if all his overconfident, absolutist assertions were spoonfed to him by a trusted website or subreddit. Sheeple
RIP Tony Bogey & Baron O
Comment
Comment