ruff_hi
Live 4ever! Or die trying
I looked at the Civ4 RNG ... see the results.The real question I have with the civ4 random number engine is how random it is. I will be running some tests on that this week and putting up some results.
I looked at the Civ4 RNG ... see the results.The real question I have with the civ4 random number engine is how random it is. I will be running some tests on that this week and putting up some results.
I can't believe people are even having this discussion.
Found it! The data is grouped by battle odds (10% range). The bars represent the number of battles (left axis) while the line represents the observed battle success rate (right axis). Where there is a reasonable number of battles, the observed odds are about where they should be.I have a game report somewhere (cannot find it at the moment) where I used the BUG logger to keep track of all of the battles (BUG logger records the probability of victory as well as the result). I extracted the information, grouped the battles into deciles (0% to 9.99% chance of victory as the first bucket) and then plotted victory percentages against these deciles. The line I got was pretty straight, running from around 5% up to about 95%.
Sure, that is only 1 games worth of data but it was (IIRC) an ALWAYS WAR game that I won.
How do you set up your combat parses v a test dummy in everquest?
You could a similar thing in Civ4 by WB'd in 100k warriors for you, 100k warriors for them, turn on stack attack and go at it. BUG could even record all of the battle results in the log.
PieceOfMind said:...
If a person tosses a coin 20 times in a row, which of the following results is the most likely?
A) HTHTHTHTHTHTHTHTHTHT
B) HHHHHHHHHHTTTTTTTTTT
C) HHHHHHHHHHHHHHHHHHHH
D) none of the above
...
I don't think that's true, but can you elaborate or be more specific? I would have assumed that with new random seed it would mean that on starting up (or loading up) a game a seed value is generated based on something like the physical time of day.This is because of how the RNG works.PieceOfMind said:<You know the RNG hates you when...>
7) You make sure to enable "new random seed on reload" but no matter how many times you reload the RNG spits the same result at you.
Even with "new random seed" on, it wont actually be completely new, as it uses the same matrix. So while you might not get the same exact outcome, they will be very similar (until the RNG refreshes).
Impossible question to answer with the current data set.
You would need to flip the coin until every possible sequence of 20 outcomes has been observed.
Then, you would need to compare the relative distributions of A, B, and C.
If A, B, and C occur at differing scales (magnitudes),
you may want to check for:
... Human interference
... Atypical coin center of mass
... Atmospheric interference
... etc.
![]()
Coin flipping is a funny thing. The question didn't even make sure to say the coin had H and T...answer C is incredibly probably for those coins with 2 heads.
But a coin with an awkward center of gravity or a skilled flipper might influence it, too. In a lot of ways the RNG in civ is superior to coins for random outcomes.
One thing I wish the RNG showed but doesn't (even advanced combat odds doesn't seem to show it) is the average damage inflicted upon the defender, or perhaps even more convenient the average result of a stack attack (the latter would probably be impossible without raping computer resources).