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

This Month's Specials

The Falklands War: 1982- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old October 28th, 2004, 11:22 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: Routing bug

Quote:
Chazar said:
Although I wonder why it sometimes notices that the client is of the wrong Version (2.08 vs 2.12) and sometimes not (2.12 vs 2.14)?
It depends if the algorithm passes through the branch with altered RNG calls or not. For example, if commander had burning pearl, he would have 100% fire resistance and when he was hit by the fire damage spell or weapon, RNG wouldn't be called. After the patch his resistance went down to 50% and RNG had to be called in that case to determine amount of damage. After that all subsequent RNG calls get shifted by one, which will produce different results.

Example:
RNG sequence:
1
6
6
5
1

Actions:
Mage A casts fire flies and it hits enemy commander,
Mage B casts soul slay on enemy's Air Queen with 25MR.

Server:
- commander has 50% fire resistance, the fire damage rolls uses first RNG number, 1 and deals appropriate damage.
- mage B rolls his number for MR check: 6. Roll again: 6. Roll again: 5. Ok, 11+17=28 total. AQ rolls its MR check: 1. 25+1=26. AQ is dead.

Client:
- commander has 100% fire resistance, so no fire damage roll is needed.
- mage B rolls his number for MR check: 1. Ok, 11+1=12 total. AQ rolls its MR check: 17. 25+17=42. No problem for AQ.
Reply With Quote
  #2  
Old October 28th, 2004, 11:34 AM
Chazar's Avatar

Chazar Chazar is offline
Captain
 
Join Date: Feb 2004
Location: within 200km of Ulm
Posts: 919
Thanks: 27
Thanked 0 Times in 0 Posts
Chazar is on a distinguished road
Default Re: Routing bug

@alexti:

I do not understand why you cite me? I think that I am well aware of how things work (at least I agree with your post)...

With the line you have cited from me I wanted to express my misunderstanding why a 2.08 client denies to process a 2.12 .trn file right from the start by giving an error message, while a 2.12 client processes a 2.14 .trn file without an error message (but replay inconsitencies)?

I think it should not be too difficult to do that the .trn carries its Version number along which is checked by the client! It would help players who are unaware that the host was updated like in this case. I also think some simple Version control is a necessity.
Reply With Quote
  #3  
Old October 28th, 2004, 12:06 PM
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: Routing bug

Quote:
Chazar said:
With the line you have cited from me I wanted to express my misunderstanding why a 2.08 client denies to process a 2.12 .trn file right from the start by giving an error message, while a 2.12 client processes a 2.14 .trn file without an error message (but replay inconsitencies)?

I think it should not be too difficult to do that the .trn carries its Version number along which is checked by the client! It would help players who are unaware that the host was updated like in this case. I also think some simple Version control is a necessity.
Yeh, I agree - right now there is no good in-game way to tell what Version the server is running. IMO, this is information that should be displayed in the Game Settings screen (where it tells the victory conditions, independent strength, etc). Otherwise right now you have to put two clams or two fever fetishes on a unit for a turn and look to see if you got two gems or one as a result, to tell if it's 2.14 or not.
__________________
Wormwood and wine, and the bitter taste of ashes.
Reply With Quote
  #4  
Old October 28th, 2004, 12:15 PM
Chazar's Avatar

Chazar Chazar is offline
Captain
 
Join Date: Feb 2004
Location: within 200km of Ulm
Posts: 919
Thanks: 27
Thanked 0 Times in 0 Posts
Chazar is on a distinguished road
Default Re: Routing bug

Quote:
Cainehill said:
Otherwise right now you have to put two clams or two fever fetishes on a unit for a turn and look to see if you got two gems or one as a result, to tell if it's 2.14 or not.
You're quite good when it comes to workarounds, aint you?
Reply With Quote
  #5  
Old October 28th, 2004, 04:11 PM

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: Routing bug

Quote:
Chazar said:
@alexti:

I do not understand why you cite me? I think that I am well aware of how things work (at least I agree with your post)...
No particular reason... I was just replying to your and to Wyxard's post, then I've discovered that your questions largely overlap. So I've eliminated duplicates from my replies. After that I've trimmed my replies to about equal size to distribute server load. So, you see every step was logical and that was just misfortune-3 that the result didn't make sense

Quote:
Chazar said:
I think it should not be too difficult to do that the .trn carries its Version number along which is checked by the client! It would help players who are unaware that the host was updated like in this case. I also think some simple Version control is a necessity

It probably has Version number, but considering that the file format has not been changed, Dom2 proceed. I don't mind it, but it'd be useful to have a warning telling that the turn was hosted by the server running Version such and such.
Reply With Quote
  #6  
Old October 28th, 2004, 08:43 PM

DeathDaemon DeathDaemon is offline
Corporal
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
DeathDaemon is on a distinguished road
Default Re: Routing bug

OK different scenario, another bug...

Playing ctis, have 8 sauromancers, 3 inf leaders, each sauromancer with 5 or so bodyguards, and an army of infantry (30 or so). Attempt to storm a wizards tower. The tower shoots and kills a sauromancer. Marignon's mages all cast fire shield. A few xbows fire but completely miss. Everything runs... my mages didnt do a thing... comon 1 mage killed, no other injuries, but they all run?

EDIT: this is a SP game so no host/client issues possible
Reply With Quote
  #7  
Old October 28th, 2004, 09:32 PM
archaeolept's Avatar

archaeolept archaeolept is offline
Lieutenant General
 
Join Date: Feb 2004
Posts: 2,687
Thanks: 20
Thanked 54 Times in 39 Posts
archaeolept is on a distinguished road
Default Re: Routing bug

most likely you had your army of infantry on "guard commander" accidentally - all the commanders will rout if one dies if all you have are commanders or commanders and guards.
Reply With Quote
  #8  
Old October 28th, 2004, 11:18 PM

DeathDaemon DeathDaemon is offline
Corporal
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
DeathDaemon is on a distinguished road
Default Re: Routing bug

This might be a possibility if I only have mages spamming skeletons. My troops are given an order to guard commander. Commander has orders to cast, not retreat. Why must I have at least 1 guy on attack/fire?
Reply With Quote
  #9  
Old October 28th, 2004, 11:29 PM

deccan deccan is offline
Major
 
Join Date: May 2003
Location: Solomon Islands
Posts: 1,180
Thanks: 0
Thanked 0 Times in 0 Posts
deccan is on a distinguished road
Default Re: Routing bug

Quote:
DeathDaemon said:
This might be a possibility if I only have mages spamming skeletons. My troops are given an order to guard commander. Commander has orders to cast, not retreat. Why must I have at least 1 guy on attack/fire?
Troops on guard commander are considered as commanders themselves, hence they all rout when one dies. Just another one of Dom2's quirks.
__________________
calltoreason.org
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 08:12 PM.


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