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

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #11  
Old January 7th, 2008, 10:52 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: Bug:Turn and view battle result not the same

Quote:
thejeff said:
There is definitely a version of this bug in v3.10, that does not require different patch levels, operating systems, etc. I've seen it in 1 machine SP games, which I had not seen before 3.10
You are talking about several different things.
"Different patch levels" is one thing. A difference between patch versions or in the content of mod files between the hosting computer and the viewing computer causes a difference between the battle report and the viewable simulation because the host resolves the battle using certain unit stats that are different from the client viewing the simulation, and so you get different results. This is not really a bug, it's just a glitch you get because you used incompatible (well, at least "not fully compatible" versions of the game. (ie is your fault )
"Different operating systems" is another thing. In this case the difference was caused because different checks in turn resolution employed something that looked like "if (random()+modifiers1>random()+modifiers2) then etc." and on some OSs the random() on the left was called first, while on others the right random() was called first, which basically "flips" the results you get in random rolls between the hosting machine and the viewing machine, leading to different combat replays than what actually happened. I believe this bug has been resolved.
So this is not "a version of the bug" but a completely different bug (currently unexplained) that has similar (but not identical) effects.
If it really is caused by v3.10, my guess would be that this patch introduced some change between the code used to resolve battles when hosting and the code used to resolve battles when replaying them.

EDIT: its => it's
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #12  
Old January 7th, 2008, 12:12 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: Bug:Turn and view battle result not the same

You are of course correct, but it seems largely a matter of semantics.

From one point of view a bug is the set of symptoms, since that's all you can see from the outside. A particular reported "bug" may result from more than one problem in the code. And a problem in the code may result in multiple apparently unrelated symptoms. Without finding a code problem and testing, you really can't tell.

I was speaking in terms of the symptoms, since that's what the users report and since patch levels and operating systems are always suggested as the source of the problem.

As for it being "completely different", it may be, but if this really is new in 3.10, the first place I'd look is in the fix to the old bug.
Reply With Quote
  #13  
Old January 7th, 2008, 12:46 PM
Torin's Avatar

Torin Torin is offline
First Lieutenant
 
Join Date: Nov 2007
Location: Wizard\'s Tower
Posts: 603
Thanks: 26
Thanked 11 Times in 11 Posts
Torin is on a distinguished road
Default Re: Bug:Turn and view battle result not the same

In the shortlist its reported like being a different os incompatibility but it happens even on SP play where theres only one OS and no server-client.
Reply With Quote
  #14  
Old January 7th, 2008, 01:40 PM
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: Bug:Turn and view battle result not the same

Quote:
thejeff said:
You are of course correct, but it seems largely a matter of semantics.

From one point of view a bug is the set of symptoms, since that's all you can see from the outside. A particular reported "bug" may result from more than one problem in the code. And a problem in the code may result in multiple apparently unrelated symptoms. Without finding a code problem and testing, you really can't tell.

I was speaking in terms of the symptoms, since that's what the users report and since patch levels and operating systems are always suggested as the source of the problem.

As for it being "completely different", it may be, but if this really is new in 3.10, the first place I'd look is in the fix to the old bug.
Yes, technically this is just a matter of semantics, I just argued it to make sure that it is indeed just a semantics issue, and not a case of a wrong understanding of things (especially since you called a the difference in replay and actual events caused by different versions (of patches or mods) a bug, which it hardly is.)

Also, I meant that it is probably (but not necessarily) a completely different issue, I probably should have phrased it differently. As for looking in the fix to the old bug, that's pretty obvious since the fix is the code that directly controls the battle simulation - it's the first place you'd think to look regardless of previous bugs
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #15  
Old January 7th, 2008, 02:12 PM
sector24's Avatar
sector24 sector24 is offline
Second Lieutenant
 
Join Date: Jul 2007
Location: Durham, NC
Posts: 509
Thanks: 84
Thanked 44 Times in 14 Posts
sector24 is on a distinguished road
Default Re: Bug:Turn and view battle result not the same

When I saw the posters in this thread I was hoping for a rematch of the bgqsl/Agrajag grammar thing from awhile back. But no such luck, I'll have to get my entertainment somewhere else today.

Back on topic, this is a bug (of some kind) and like Torin said it can happen in single player so even if it is OS or server/client related, that's not the only explanation. When it happens you just have to live with it. I've even had it work in my favor a few times, where the battlefield replay showed me losing but according to the game I won.
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 01:00 PM.


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