View Single Post
  #21  
Old April 7th, 2009, 03:47 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Case of the Dying Mages (and God)

Quote:
Originally Posted by chrispedersen View Post
I don't know how the game state is maintained. Is that the fatherland file?
The game states are the fatherland file, yes. And it's the absolute instance that decides what is, and what isn't. The trn files that are being sent to the players are only snapshots from it.

Quote:
Originally Posted by chrispedersen View Post
If list of all units is distributed to all users, it is subject to attack - and corruption.
Isn't. Compare file sizes for the fatherland and the nation's trn files. A player only gets sent as much information as he is required to know.

Also, since there were cheating attempts before, JK is using the data from the fatherland file where possible, instead of blindly accepting user input from the .2h files.

Quote:
Originally Posted by chrispedersen View Post
Some of the results I've seen from this bug cannot be the result of just a different number seed.
The seeds are the same. The starting seed for each battle is being saved and reused upon replay. JK even does checksums for each turn of battle to check if there is an inconsistency. If there isn't, then in the log files for the replay you'll find the message
Code:
This battle looks just like I have forseen
for each turn. If there is an inconsistency, then you won't see those anymore, but instead, you'll see (in my case)
Code:
***** Warning: Battle inconsistency (turn 1)
for each turn.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote