[Freeciv-Dev] Re: (PR#9570) battle or win chance corrupted
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#9570) battle or win chance corrupted |
From: |
"Christian Knoke" <chrisk@xxxxxxxxx> |
Date: |
Sun, 1 Aug 2004 07:22:25 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9570 >
On Sat, Jul 31, 2004 at 02:53:23PM -0700, Per I. Mathisen wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9570 >
>
> On Sat, 31 Jul 2004, Christian Knoke wrote:
> > Attack howitzer on grassland/river with veteran mech inf from Cambridge.
> >
> > The popup gives a win chance of 88%, that is what you might expect.
> >
> > I tried several times; the battle was always lost.
>
> The randomness seed is stored in the savegame, so unless you do other
> randomness-related actions before attacking, you will (at least should)
> always get the same result.
I have verified this with the following script:
for i in 50000 100000 150000 200000 250000 300000 350000 400000 450000
500000 ; do sed "s/^randseed=.*$/randseed=$i/g" < test.sav > random.sav ;
grep randseed random.sav ; civserver -f random.sav ; done
The result is quite the same all the time. The howitzer nearly died, but
nearly.
Christian
--
Christian Knoke * * * http://cknoke.de
* * * * * * * * * Ceterum censeo Microsoft esse dividendum.
- [Freeciv-Dev] Re: (PR#9570) battle or win chance corrupted,
Christian Knoke <=
|
|