![]() |
Re: Replay bug- again !
For size, I don't think the battles store every event - like every unit movement/death/etc. They just store the initial state and random number seeds, and then the algorithm is such that every battle with those conditions should turn out the same. But if the conditions are somehow different (like intial version number), or due to compiler/os/etc. issues where the state gets off, then each battle could wind up widly different. Thats because they are cycling through a big, big list of random numbers... but if you have 1 more or less attack in one version of the battle, that throws off the entire cycle. btw All the above is an educated guess. |
Re: Replay bug- again !
Yup, that's how it works Oversway.
|
Re: Replay bug- again !
Quote:
(get_a_random_number() < get_a_random_number()) which is not evaluated in the same order by every compiler. |
All times are GMT -4. The time now is 02:50 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.