Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Civilization III > Civ3-Help > Crash: City Cultural Influence Extending Over Edge of Map
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
16.Sep: 7 NEW FILES
15.Sep: TRIAL + NO SLEEP = ONE GAME
13.Sep: PATCH THE PREVIOUSLY UNPATCHABLE

bottom of page
   - CIV3 CONQUESTS $29.99 - CIV3 from $9.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
yinyan8 is offline yinyan8
Settler

Nov 2001
time: 21:16
  Old Post 18-11-2001 00:32
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Crash: City Cultural Influence Extending Over Edge of Map Support Apolyton, buy Call to Power 2

Not sure if anyone posted this in the bug list, but the game will
crash if the cultural influence of the city ever extends past the
north pole (and probably the south pole also).

This can occur hours into gameplay, and seeming for no reason
when at the end of a turn the game will crash. Reloading, from
an earlier save game won't work and neither will restarting.
Somewhere down the line, the crash can occur.
This is because a city may be okay when it is newly built, but as
its culture grows, so does it radius of cultural influence, until
*crash*.

This can occur on random maps where sometimes land
placement extends closer to the poles, and the computer will
happily build cities where there is viable land.

This has occured to other people as well and as a note to map
makers, don't place land too close to the poles:
http://apolyton.net/forums/showthre...&threadid=33976


The crash can be avoided in game by razing any offending city
that is too close to a pole. It is necessary to use the scenario
editor to check that no land is too close to the poles.
Fortunately, the random world generator rarely puts land to close
to the poles. It is obvious foresight by the programmers and it is
generally a good workaround.

Hopefully, though, the civ3 developers do fix this in a patch
because not allowing land to be a screen away from the poles is
not a feature when you can't turn it off. It signifies a rushed
development schedule.

If it is a speed concern, will adding this limiter check for every city
really slow down the code that much?
Program method 1 (fastest):
Predetermined mask/map used to check if resources are in range.
This mask is the shape of the cultural influence.
Adding a limiter would mean not checking the complete mask.
This messier to program around. The key is to arrange the
mask into a list with rows of coordinate data. The mask
is limited by only searching the rows that are in a valid range.

Program method 2 (medium):
If one were to use a formula to determine if a square were in
range of a city, i.e. pseudocode:
if( square(x-Cx)+square(y-Cy) lessthan square(Cinfluence) )
why not also:
&& (y>=0) && (y lessthan MAPSIZEY)
and even:
&& (x>=0) && (x lessthan MAPSIZEX)
I realize it is a little more complicated than this for cities on the
edge of the map.

In fact, this problem is probably the same reason that the
unscrollable world that everyone wanted was not implemented.
That is why we can't have a map of Europe and not walk
from Spain to Austria. Because the land can't extend to the
closing edge of a map without crashing the program when a
city is built too close to the edge.

BTW, a torus or toroidal shaped world would be nice to add in a
patch also. This is where the top and bottom edges of the map
are also connected. (but not necessary)


Civ3 works well on my computer:
Intel P3 866EB; 512MB RAM; 80GB ATA/100; 5x DVD
ATI AIW Radeon 32MB; Win 98SE; DirectX 8.0a; etc.

Last edited by yinyan8 on 18-11-2001 at 00:50

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:16.
Apolyton Time is 00:16.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0295 seconds (87.43% PHP - 12.57% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net