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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old January 14th, 2004, 02:24 AM

alexti alexti is offline
First Lieutenant
 
Join Date: Dec 2003
Location: Calgary, Canada
Posts: 762
Thanks: 0
Thanked 0 Times in 0 Posts
alexti is on a distinguished road
Default Re: Incompatible battle replays across OSes

Another wild thought here. If you recompile Dom2 with different byte alignment and try to compare if the battle replay goes the same way in the old executable and the new one (on the same machine). If they're not going identically, surely there must be some uninitialized variables or memory overruns.

/Alex
Reply With Quote
  #2  
Old January 14th, 2004, 08:31 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: Incompatible battle replays across OSes

I have just installed and tried 'valgrind'. Seems like an excellent program to find variable that are used unitialized. Let's just hope it finds something interesting.
__________________
http://www.illwinter.com
Reply With Quote
  #3  
Old January 16th, 2004, 11:59 AM

BugRoger BugRoger is offline
Corporal
 
Join Date: Jan 2004
Location: Berlin, Germany
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
BugRoger is on a distinguished road
Default Re: Incompatible battle replays across OSes

We also experienced inaccurate battle replays. In fact the battle replays have absolutely nothing to do with the battle report.

We're playing a 2-player MP game with a Linux host and 2 Windows clients.

I hope you can find that bug. It's not really *that* important but the battle replay is really helpful for tweaking the army setup/spells. Especially for us newbies...
Reply With Quote
  #4  
Old January 16th, 2004, 05:28 PM

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 Re: Incompatible battle replays across OSes

Methinks that the totally inconsistent replays observed by PhilD rather show some problem/bug with the replay module itself than some n-th precision difference in the combat algorithm between various C++ compilers...
Reply With Quote
  #5  
Old January 18th, 2004, 01:21 PM

BugRoger BugRoger is offline
Corporal
 
Join Date: Jan 2004
Location: Berlin, Germany
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
BugRoger is on a distinguished road
Default Re: Incompatible battle replays across OSes

We experimented a little bit more and don't have problems when hosting and playing on windows. I'm almost certain that this is a cross platform issue.
Reply With Quote
  #6  
Old March 18th, 2004, 09:22 AM
tinkthank's Avatar

tinkthank tinkthank is offline
Lieutenant Colonel
 
Join Date: Jan 2004
Posts: 1,276
Thanks: 0
Thanked 2 Times in 2 Posts
tinkthank is on a distinguished road
Default Re: Incompatible battle replays across OSes

Quote:
Originally posted by PDF:
Methinks that the totally inconsistent replays observed by PhilD rather show some problem/bug with the replay module itself than some n-th precision difference in the combat algorithm between various C++ compilers...
How do you people understand this stuff?
Reply With Quote
  #7  
Old March 18th, 2004, 09:39 AM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default Re: Incompatible battle replays across OSes

It's technomancy. If you don't understand what any of it means, you're probably not going to unless you take up computer programming. Try researching the Technomancy school. This should make sense to you once you reach level 6 Technomancy or so.

Also, didn't this thread die ages ago? I recall the causes of the battle replay incompatibility was caused by differences in order of execution in the MR if() check?

[ March 18, 2004, 07:40: Message edited by: Norfleet ]
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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:54 AM.


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