.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old June 10th, 2005, 05:03 AM

PDF PDF is offline
Colonel
 
Join Date: Apr 2002
Location: Near Paris, France
Posts: 1,566
Thanks: 0
Thanked 0 Times in 0 Posts
PDF is on a distinguished road
Default Replay bug- again !

Hi,
The infamous "battle replay bug" - where the battle seen is different from the "actual" battle - seemed to have been squashed in 2.12 (I think).
But since 2.16 I've now seen it again several times : in a current Shepherd game I have, it's been 2 times I have it.
In another game, a friend reported to have a inconsistent battle ... he send the turn to me, and I did see correctly the battle !!

Common point is that in all 3 cases the false replays were on Win XP. I'll have a look again at my faulty XP turns under W98, but there's something here ...
Reply With Quote
  #2  
Old June 10th, 2005, 08:48 AM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: Replay bug- again !

Incompatible versions can still cause the Replay Bug, IIRC.
Your host might not have the same version as you do.
Just a guess though...
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #3  
Old June 10th, 2005, 09:11 AM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Default Re: Replay bug- again !

Yeah, the "Shepards" games run on Illwinters own machine ..

AFAIK they in fact do use Linux, but I'm not sure .. or they're already testing the 2.17 patch, or both.
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
Reply With Quote
  #4  
Old June 10th, 2005, 09:31 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Replay bug- again !

I thought only Dominions version number mattered. That is, if all players have 2.16, it works, even if the players play from Windows, Linux, Solaris and Mac.
Reply With Quote
  #5  
Old June 10th, 2005, 11:19 AM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: Replay bug- again !

It should work just like you said Endoperez. But the different compilers used on different OSes can create Dominionses that work a tiny bit different under some circumstances. But one tiny tiny difference in a battle can get huge after just a few more turns of battle.

Usually there shouldn't be any problems mixing Windows, Linux and Mac I hope.
__________________
http://www.illwinter.com
Reply With Quote
  #6  
Old June 10th, 2005, 11:19 AM
Cainehill's Avatar

Cainehill Cainehill is offline
Lieutenant General
 
Join Date: Mar 2004
Location: Albuquerque New Mexico
Posts: 2,997
Thanks: 0
Thanked 0 Times in 0 Posts
Cainehill is on a distinguished road
Default Re: Replay bug- again !


It's not only Windoze XP, and it's not only when there's a platform or version mismatch. In one of the weekend blitzes I was hosting on Win98SE, Boron and I both watched a battle. Both of us clearly saw my Carrion Woods army defeating his - yet the battle summary said every one of my carrion critters had died, that his losses had been minimal as he won the battle.

This was with 2.16, and viewing battles on the same machine I was hosting on.
__________________
Wormwood and wine, and the bitter taste of ashes.
Reply With Quote
  #7  
Old June 10th, 2005, 11:26 AM

Zooko Zooko is offline
First Lieutenant
 
Join Date: Sep 2004
Posts: 666
Thanks: 0
Thanked 0 Times in 0 Posts
Zooko is on a distinguished road
Default Re: Replay bug- again !

No offense, Johan K, but if your C code runs differently on different systems, then there must be a bug in your code, such as reading uninitialized memory, making unportable assumptions about the size of an integer, etc. It is traditional for C code to have lots of these bugs.

You could try using the "valgrind" tool on Linux. It is an excellent tool that gives very few false alarms but catches lots of actual errors.

(Of course, if your code is depending on the system for something, such as networking, file system usage, interprocess communication, etc., then maybe it isn't a bug but a legitimate difference of behavior. But I can't see how such a system-level behavior would change the outcome of battles, except via race conditions.)
Reply With Quote
  #8  
Old June 10th, 2005, 11:43 AM
Alneyan's Avatar

Alneyan Alneyan is offline
General
 
Join Date: Sep 2003
Location: United Kingdom
Posts: 3,603
Thanks: 0
Thanked 22 Times in 22 Posts
Alneyan is on a distinguished road
Default Re: Replay bug- again !

A note about the game: this Shephreds game is being run in PBEM, and not on a server (so it's not run by Illwinter either).
Reply With Quote
  #9  
Old June 10th, 2005, 12:28 PM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: Replay bug- again !

Quote:
Zooko almost said:
No offense, Johan K, but if your C code runs differently on different systems, then there must be a bug in your code, such as reading uninitialized memory, making unportable
Sure there have been plenty of those bugs. But there have been compiler bugs and inconsistencies too. The Dominions battles are oversensitive to these things, otherwise the compiler shortcomings would probably never have been noticed.
__________________
http://www.illwinter.com
Reply With Quote
  #10  
Old June 10th, 2005, 01:35 PM
sushiboat's Avatar

sushiboat sushiboat is offline
Sergeant
 
Join Date: Dec 2004
Location: North Carolina, USA
Posts: 276
Thanks: 0
Thanked 0 Times in 0 Posts
sushiboat is on a distinguished road
Default Re: Replay bug- again !

I am confused about how the replay bug occurs. My (obviously faulty) understanding of a Dom2 battle is that the host machine runs it and writes the series of events (call them A, B, C, etc.) to the Turn file. When I replay the battle, my machine reads the file and displays A, B, C, and so on. How does my mental model differ from what the game really does?
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:05 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.