Thread Tools
Old October 23, 2000, 13:17   #1
Caligastia
Emperor
 
Caligastia's Avatar
 
Local Time: 19:46
Local Date: October 30, 2010
Join Date: Sep 2000
Location: New Jersey
Posts: 3,402
Too many cities
I got this message on my latest game when I tried to build another city. What is the max?
Caligastia is offline  
Old October 23, 2000, 13:38   #2
kcbob
King
 
kcbob's Avatar
 
Local Time: 17:46
Local Date: October 30, 2010
Join Date: Dec 1999
Location: Kansas City, MO USA
Posts: 1,460
I've heard it's 255. Since I've never even come close, I couldn't say for sure.

------------------
Frodo lives!

Better dead than "Red"... or green... or blue... or yellow... or orange... or purple... or white.
kcbob is offline  
Old October 23, 2000, 13:50   #3
Ming
lifer
Civilization II MultiplayerCivilization III MultiplayerPolyCast TeamCivilization IV: MultiplayerApolytoners Hall of Fame
Retired
 
Ming's Avatar
 
Local Time: 18:46
Local Date: October 30, 2010
Join Date: Dec 1969
Location: Mingapulco - CST
Posts: 30,317
It's actually 256... But that's because the AI has to have at least one, or the game is over.

Ming is offline  
Old October 23, 2000, 16:26   #4
kcbob
King
 
kcbob's Avatar
 
Local Time: 17:46
Local Date: October 30, 2010
Join Date: Dec 1999
Location: Kansas City, MO USA
Posts: 1,460
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.
kcbob is offline  
Old October 23, 2000, 17:10   #5
Caligastia
Emperor
 
Caligastia's Avatar
 
Local Time: 19:46
Local Date: October 30, 2010
Join Date: Sep 2000
Location: New Jersey
Posts: 3,402
But is there a max that one civ can have or is 256 the max that any map is allowed no matter what civ owns them.
Caligastia is offline  
Old October 23, 2000, 17:52   #6
rah
lifer
Apolytoners Hall of FameCivilization IV: Multiplayer
Just another peon
 
rah's Avatar
 
Local Time: 18:46
Local Date: October 30, 2010
Join Date: Nov 1999
Location: who killed Poly
Posts: 22,919
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"
rah is offline  
Old October 24, 2000, 00:11   #7
Empress
The Empress
 
Empress's Avatar
 
Local Time: 17:46
Local Date: October 30, 2010
Join Date: Apr 2000
Location: cause mingy loves me
Posts: 2,699
well aren't you the smart one, Rah
Empress is offline  
Old October 24, 2000, 07:54   #8
kcbob
King
 
kcbob's Avatar
 
Local Time: 17:46
Local Date: October 30, 2010
Join Date: Dec 1999
Location: Kansas City, MO USA
Posts: 1,460
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).]
kcbob is offline  
Old October 24, 2000, 08:27   #9
rah
lifer
Apolytoners Hall of FameCivilization IV: Multiplayer
Just another peon
 
rah's Avatar
 
Local Time: 18:46
Local Date: October 30, 2010
Join Date: Nov 1999
Location: who killed Poly
Posts: 22,919
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.

RAH
rah is offline  
Old October 24, 2000, 08:28   #10
Simpson II
Prince
 
Simpson II's Avatar
 
Local Time: 23:46
Local Date: October 30, 2010
Join Date: Jul 2000
Location: varies
Posts: 588
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. )
Simpson II is offline  
Old October 24, 2000, 08:29   #11
DaveV
Apolytoners Hall of Fame
King
 
DaveV's Avatar
 
Local Time: 19:46
Local Date: October 30, 2010
Join Date: Dec 1969
Location: USA - EDT (GMT-5)
Posts: 2,051
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.
DaveV is offline  
Old October 24, 2000, 09:25   #12
rah
lifer
Apolytoners Hall of FameCivilization IV: Multiplayer
Just another peon
 
rah's Avatar
 
Local Time: 18:46
Local Date: October 30, 2010
Join Date: Nov 1999
Location: who killed Poly
Posts: 22,919
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.

RAH
rah is offline  
Old October 24, 2000, 09:31   #13
kcbob
King
 
kcbob's Avatar
 
Local Time: 17:46
Local Date: October 30, 2010
Join Date: Dec 1999
Location: Kansas City, MO USA
Posts: 1,460
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).]
kcbob is offline  
Old October 24, 2000, 09:48   #14
Caligastia
Emperor
 
Caligastia's Avatar
 
Local Time: 19:46
Local Date: October 30, 2010
Join Date: Sep 2000
Location: New Jersey
Posts: 3,402
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.
Caligastia is offline  
Old October 24, 2000, 11:00   #15
rah
lifer
Apolytoners Hall of FameCivilization IV: Multiplayer
Just another peon
 
rah's Avatar
 
Local Time: 18:46
Local Date: October 30, 2010
Join Date: Nov 1999
Location: who killed Poly
Posts: 22,919
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?


rah is offline  
Old October 24, 2000, 11:53   #16
Caligastia
Emperor
 
Caligastia's Avatar
 
Local Time: 19:46
Local Date: October 30, 2010
Join Date: Sep 2000
Location: New Jersey
Posts: 3,402
OK I will count the number of cities in my game. I really didnt think it was up to 255 tho
Caligastia is offline  
Old October 24, 2000, 13:23   #17
DaveV
Apolytoners Hall of Fame
King
 
DaveV's Avatar
 
Local Time: 19:46
Local Date: October 30, 2010
Join Date: Dec 1969
Location: USA - EDT (GMT-5)
Posts: 2,051
I found the thread that this one reminded me of.
http://apolyton.net/forums/Forum29/H...tml?date=07:29
DaveV is offline  
Old October 25, 2000, 00:20   #18
kcbob
King
 
kcbob's Avatar
 
Local Time: 17:46
Local Date: October 30, 2010
Join Date: Dec 1999
Location: Kansas City, MO USA
Posts: 1,460
quote:

Originally posted by rah on 10-24-2000 11:00 AM
RAH
and to kcbob, A computer Science Degree
I will convienently forget this thread ever existed after Caligastia posts the number of cities, FAIR?




Fair enough.

[whisper]Pssst. Caligastia. Can you be bought?[/whisper]

------------------
Frodo lives!

Better dead than "Red"... or green... or blue... or yellow... or orange... or purple... or white.
kcbob is offline  
Old October 25, 2000, 09:33   #19
Caligastia
Emperor
 
Caligastia's Avatar
 
Local Time: 19:46
Local Date: October 30, 2010
Join Date: Sep 2000
Location: New Jersey
Posts: 3,402
OK The results are in:
CITIES
I have - 138
Celts - 28
English - 27
Japanese - 19
Indians - 17
Egyptians - 15
Americans - 10
Barbarians- 1
TOTAL - 255

I guess youre right after all Kcbob!

Caligastia is offline  
Old October 25, 2000, 09:36   #20
rah
lifer
Apolytoners Hall of FameCivilization IV: Multiplayer
Just another peon
 
rah's Avatar
 
Local Time: 18:46
Local Date: October 30, 2010
Join Date: Nov 1999
Location: who killed Poly
Posts: 22,919
Thanks for checking.

So kcbob was right but for the wrong reason

RAH
Sorry couldn't pass up that last shot, but now the thread can be forgotten, until someone else asks the same question and someone posts a link to it.
rah is offline  
Old October 25, 2000, 14:54   #21
Chainsaw
Warlord
 
Local Time: 23:46
Local Date: October 30, 2010
Join Date: Apr 2000
Location: Ratingen, Germany
Posts: 100
LoL ... just LOL!!!
Chainsaw is offline  
Old October 26, 2000, 00:22   #22
kcbob
King
 
kcbob's Avatar
 
Local Time: 17:46
Local Date: October 30, 2010
Join Date: Dec 1999
Location: Kansas City, MO USA
Posts: 1,460
quote:

Originally posted by rah on 10-25-2000 09:36 AM
Thanks for checking.

So kcbob was right but for the wrong reason

RAH
Sorry couldn't pass up that last shot, but now the thread can be forgotten, until someone else asks the same question and someone posts a link to it.


Actually, I knew it all the time. I thought that if you all found out the answer for yourselves, you'd remember it better. Now, anyone who believes that, I've got some shore front land in Montana I'd love to talk to you about.

------------------
Frodo lives!

Better dead than "Red"... or green... or blue... or yellow... or orange... or purple... or white.
kcbob is offline  
Old October 30, 2000, 17:51   #23
Julius Brenzaida
King
 
Julius Brenzaida's Avatar
 
Local Time: 23:46
Local Date: October 30, 2010
Join Date: Aug 2000
Location: Currently cleaning the 9000 rooms of Sticky Mouse's Palace
Posts: 1,171
It's definitely 255, all civilization included. It means that if there's one AI city left, you can only build 254.
Once, eager for a big score, I created a map with horrendous starting locations for the AI tribes. Stuck on little islands of ice, they never build any cities, and I build 255 of them, but then got the famous message "too many cities". The explanation of 255 positive numbers, the 0 being reserved for none units, looks good to me. Good insight, Dave V.


------------------
Oh Man, when will you understand that your greatness lies in your failure - Goethe
Julius Brenzaida is offline  
Old October 31, 2000, 02:23   #24
Matthew
Prince
 
Local Time: 23:46
Local Date: October 30, 2010
Join Date: Dec 1969
Location: Manhattan, Kansas . USA
Posts: 724
Kbob

I will never forget.

------------------
The camel is not a part of civ.

THE CAMEL IS CIV !!!!

SAVE THE CAMEL !!!!!!
Matthew is offline  
Old October 31, 2000, 08:49   #25
kcbob
King
 
kcbob's Avatar
 
Local Time: 17:46
Local Date: October 30, 2010
Join Date: Dec 1999
Location: Kansas City, MO USA
Posts: 1,460
quote:

<font size=1>Originally posted by Matthew on 10-31-2000 01:23 AM</font>
Kbob

I will never forget.



Kbob??? Matthew, Matthew, Matthew. You live in Manhattan, Kansas and you fat finger my "honored" name? kcbob. That's kc. You know, as in "...the home of the...CHIEFS!!!

------------------
Frodo lives!
<font size=1 face=Arial color=444444>[This message has been edited by kcbob (edited October 31, 2000).]</font>
<font size=1 face=Arial color=444444>[This message has been edited by kcbob (edited October 31, 2000).]</font>
<font size=1 face=Arial color=444444>[This message has been edited by kcbob (edited October 31, 2000).]</font>
[This message has been edited by kcbob (edited October 31, 2000).]
kcbob is offline  
 

Bookmarks

Thread Tools

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 19:46.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team