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 > Miscellaneous > Archive > Civ3-General-Archive > Random Numbers
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
nbarclay is offline nbarclay
Emperor
Huntsville, Alabama
Dec 1999
time: 23:18
  Old Post 10-03-2002 23:57
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Random Numbers Support Apolyton buy from Amazon

In case no one's mentioned it before, I thought I'd explain a little about how "random" numbers on a computer work. Computers have no way of generating truly random numbers. Rather, they generate what are called "pseudorandom" numbers - numbers that are generated using a mathematical formula but in such a way that they look random.

Each sequence of random numbers is defined by a "seed" number fed into the random number generator at the beginning. If you start from the same seed every time, you get the same sequence of numbers every time. If you start from different seeds (for example, by basing the seed on the date/time when the program is started), you get different sequences.

What Firaxis appears to be doing is saving the current state of the random number generator in the save file so when the game is reloaded, the random number generator picks up right where it left off. That provides a simple yet elegant way of making sure if people reload a game and do the same things, they will get the same results. Assuming I'm right, all they have to store is about one or two numbers, and two entire games will go the same way from 4000 BC to 2050 AD if the player does exactly the same things. Whether that's a good thing or a bad thing, of course, is a matter of personal taste .

Nathan

Oligarf is offline Oligarf
Warlord

Aug 2001
time: 06:18
  Old Post 11-03-2002 01:32 Visit Oligarf's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Inflate your Upload Space

It sounds like some sort of predestination, and that sounds like something bad.

Salvor is offline Salvor
Chieftain
Chicago
Feb 2002
time: 23:18
  Old Post 11-03-2002 01:51
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Re: Random Numbers Increase Your PM Length

quote:
Originally posted by nbarclay
In case no one's mentioned it before,
Nathan




Sorry, couldn't resist.

nbarclay is offline nbarclay
Emperor
Huntsville, Alabama
Dec 1999
time: 23:18
  Old Post 11-03-2002 09:30
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Inflate your Upload Space

quote:
Originally posted by Oligarf
It sounds like some sort of predestination, and that sounds like something bad.


I suppose someone could call it "bad" in some metaphysical sense, but in practical terms, the only difference it makes is that you can't change the results by reloading. (That and tournament games presumably go the same way for different players until their actions start creating divergences, which probably makes things a little fairer.)

If you think about it, the deal in a card game is similarly predestined by the shuffle. But since no one knows the results of the shuffle until the cards are dealt, why does it matter? Think of the calculation of the "seed" as the shuffle and the actual calculation of the numbers as the deal.

Nathan

Apolex is offline Apolex
Warlord
Knoxville, TN
Oct 2001
time: 00:18
  Old Post 11-03-2002 12:32
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Full PM-box? Change here!

quote:
[If you think about it, the deal in a card game is similarly predestined by the shuffle. But since no one knows the results of the shuffle until the cards are dealt, why does it matter? Think of the calculation of the "seed" as the shuffle and the actual calculation of the numbers as the deal.

Nathan


That's a good analogy with the cards Nathan. I noticed the same thing one time when I called b.s. on my tank losing to a spearman. Upon reloading, the tank kept getting killed. I found that if I attacked with units in a different order after reloading, the spearmen no longer had the Rambo-type explosives spears and my tank didn't die.

-Apolex

[edited to include quote]

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:18.
Apolyton Time is 00:18.
    top of page
Rate This Thread:
archivepost
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.0375 seconds (89.48% PHP - 10.52% MySQL) with 31 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