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

This Month's Specials

winSPWW2- Save $5.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 October 7th, 2003, 08:52 AM

segfault segfault is offline
Private
 
Join Date: Sep 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
segfault is on a distinguished road
Default routing uberweirdness

hi

i recently experienced very strange behaviour of my pretender god.

i played with the moloch leading abysia. he was carrying all the great artifacts (unqeunched sword, aegis, amon hotep, robe of calius, boots of calius, chalice and krupps bracers). he could fight hordes of undead (i was fighting ermor) without even losing a single hit point! he always fought alone; no other units, no other commanders.

but here comes the weirdness: in a really large battle (my moloch against 1153 undead) he routed, after having killed 1136 undead! there were no friendly provinces nearby, so my poor moloch died. i was quite upset about this.

i reviewed the decisive battle many times. the moloch has not lost a single hit point, and his morale also was at maximum (30).

i don't understand this behaviour. does this make sense to anyone of you?

[edit: another detail: i think the unquenched sword made him go berserk. does this have any effect on his behaviour? i thought berserk would make a unit *not* rout???]

[ October 07, 2003, 07:54: Message edited by: segfault ]
Reply With Quote
  #2  
Old October 7th, 2003, 08:57 AM

Humer Humer is offline
Corporal
 
Join Date: Sep 2003
Location: Finland
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Humer is on a distinguished road
Default Re: routing uberweirdness

Attacker auto-routs after a number of turns (which is lots). This was introduced in some patch to prevent the silicon-based lumps (Sphinx, Monolith, Sacred Statue) abusing teleport-combat-"Can't harm me, nyah nyah" -abuse.

Take it like this: your Moloch finally despaired: "They just keep coming!". Sucks, but that's life... I mean game.

- Humer
Reply With Quote
  #3  
Old October 7th, 2003, 09:15 AM

segfault segfault is offline
Private
 
Join Date: Sep 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
segfault is on a distinguished road
Default Re: routing uberweirdness

thanks for the reply!

well i think this 'feature' is not that bad then. it keeps things in balance, after all.

another strange thing i've noticed once (it has nothing to do with routing, but is weird nonetheless): my pretender (i think it was the wyrm) participated in the arena death match. the Messages told me that i've won. yeah. but when i viewed the final battle, i saw that my pretender actually was killed! i never knew that to die is to win. but well. i guess i still have much to learn...

the enemy used some kind of hitpoint-sucking-attack. his hitpoints grew all the time, while mine shrunk to zero. i don't know if this was the key to my victory... perhaps my hit points were poisonous, and by sucking them out, my enemy got poisoned as well. muahaha!
Reply With Quote
  #4  
Old October 7th, 2003, 09:38 AM

Mortifer Mortifer is offline
BANNED USER
 
Join Date: Jul 2002
Location: Budapest, Hungary
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Mortifer is on a distinguished road
Default Re: routing uberweirdness

Quote:
Originally posted by segfault:
my pretender (i think it was the wyrm) participated in the arena death match. the Messages told me that i've won. yeah. but when i viewed the final battle, i saw that my pretender actually was killed! i never knew that to die is to win. but well. i guess i still have much to learn...

the enemy used some kind of hitpoint-sucking-attack. his hitpoints grew all the time, while mine shrunk to zero. i don't know if this was the key to my victory... perhaps my hit points were poisonous, and by sucking them out, my enemy got poisoned as well. muahaha!
Actually this sounds like a bug.

[ October 07, 2003, 08:39: Message edited by: Mortifer ]
Reply With Quote
  #5  
Old October 7th, 2003, 09:43 AM

Pocus Pocus is offline
Lieutenant Colonel
 
Join Date: Apr 2003
Location: Nuts-Land, counting them.
Posts: 1,329
Thanks: 1
Thanked 0 Times in 0 Posts
Pocus is on a distinguished road
Default Re: routing uberweirdness

Quote:
Originally posted by segfault:
thanks for the reply!

well i think this 'feature' is not that bad then. it keeps things in balance, after all.

another strange thing i've noticed once (it has nothing to do with routing, but is weird nonetheless): my pretender (i think it was the wyrm) participated in the arena death match. the Messages told me that i've won. yeah. but when i viewed the final battle, i saw that my pretender actually was killed! i never knew that to die is to win. but well. i guess i still have much to learn...

the enemy used some kind of hitpoint-sucking-attack. his hitpoints grew all the time, while mine shrunk to zero. i don't know if this was the key to my victory... perhaps my hit points were poisonous, and by sucking them out, my enemy got poisoned as well. muahaha!
This has to do the with random number generator. With a given seed number, it is supposed to generate all the time the same numbers, but it can happen (very rarely) that something goes amiss, and the numbers will varies.

So your report (which is the true) says that he won, but when you replay the battle the random number generator screw somewhere a number generation, and deviate from reality, thus an outcome which is not the image of what really happened during hosting.

More generally, you should know that games which allow you to replay battles dont stores all parameters of each game object each round, or each time they change states. They only store the initial parameters, and a seed number. Then they generate the outcome based on this number. This explain why :

- replay dont take much space, even on very long and big battles.
- you rarely have the option to goes backward in a replay, as the tac engine cant retro-deduce what are the positions of round N-1 by examinating round N, and dont have any data to reload.
__________________
Currently playing: Dominions III, Civilization IV, Ageod American Civil War.
Reply With Quote
  #6  
Old October 7th, 2003, 10:08 AM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: routing uberweirdness

That explains why I saw slightly different results when I replayed a battle many times.
probably they use a linear PRNG and save the seed as you said. Strange thing is that the PRNG is deterministic and given the seed is supposed to give the exact same numbers. unless they "spiced" it up with some really random info.

edit.
PRNG = Pseudo Random Number Generetar

[ October 07, 2003, 09:19: Message edited by: izaqyos ]
Reply With Quote
  #7  
Old October 7th, 2003, 10:27 AM

Pocus Pocus is offline
Lieutenant Colonel
 
Join Date: Apr 2003
Location: Nuts-Land, counting them.
Posts: 1,329
Thanks: 1
Thanked 0 Times in 0 Posts
Pocus is on a distinguished road
Default Re: routing uberweirdness

Quote:
Originally posted by izaqyos:
That explains why I saw slightly different results when I replayed a battle many times.
probably they use a linear PRNG and save the seed as you said. Strange thing is that the PRNG is deterministic and given the seed is supposed to give the exact same numbers. unless they "spiced" it up with some really random info.

edit.
PRNG = Pseudo Random Number Generetar
one of their problem is that the PRNG should be cross platform and works on many kind of machines. I think problems mostly arise when you view a turn generated on another machine /system, as it would appears rather strange that a given machine generate differents results with the same arithmetic operation (strange but not impossible!)
__________________
Currently playing: Dominions III, Civilization IV, Ageod American Civil War.
Reply With Quote
  #8  
Old October 7th, 2003, 12:17 PM

johan osterman johan osterman is offline
Captain
 
Join Date: Aug 2003
Posts: 883
Thanks: 0
Thanked 13 Times in 5 Posts
johan osterman is on a distinguished road
Default Re: routing uberweirdness

Quote:
Originally posted by segfault:
thanks for the reply!

well i think this 'feature' is not that bad then. it keeps things in balance, after all.

another strange thing i've noticed once (it has nothing to do with routing, but is weird nonetheless): my pretender (i think it was the wyrm) participated in the arena death match. the Messages told me that i've won. yeah. but when i viewed the final battle, i saw that my pretender actually was killed! i never knew that to die is to win. but well. i guess i still have much to learn...

the enemy used some kind of hitpoint-sucking-attack. his hitpoints grew all the time, while mine shrunk to zero. i don't know if this was the key to my victory... perhaps my hit points were poisonous, and by sucking them out, my enemy got poisoned as well. muahaha!
As pocus said it could be a problem with the rng. Another possibility is that the opposite cobatant died of the wyrms poison after the battle, if both finalist dies I am not sure what happens. Did you still posess the wyrm after the arena or where you forced to recall him?
Reply With Quote
  #9  
Old October 7th, 2003, 02:23 PM

segfault segfault is offline
Private
 
Join Date: Sep 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
segfault is on a distinguished road
Default Re: routing uberweirdness

Quote:
Originally posted by johan osterman:
As pocus said it could be a problem with the rng. Another possibility is that the opposite cobatant died of the wyrms poison after the battle, if both finalist dies I am not sure what happens. Did you still posess the wyrm after the arena or where you forced to recall him?
as far as i remember, i did not have to recall the wyrm. but i don't know if he got some battle afflictions. it's been a while...
Reply With Quote
  #10  
Old October 7th, 2003, 03:55 PM

Pocus Pocus is offline
Lieutenant Colonel
 
Join Date: Apr 2003
Location: Nuts-Land, counting them.
Posts: 1,329
Thanks: 1
Thanked 0 Times in 0 Posts
Pocus is on a distinguished road
Default Re: routing uberweirdness

you should also know that (in doms I at least) some effects are applied until your unit pass the saving throw, and wont stop when battle end. For example if you can happen to win a battle with several of your mages poisoned and alive (at end of battle), and have them all dead in reality, because they never succeeded in stopping the poison loss.

Same thing for the spell which corrupt an unit, and let them loose one hp a round (dont remember the name, but I'm sure Nerfix will correct me). You can be sure to have your unit lost, even if the battle end with the unit still alive (not saving throw here, unit doomed).
__________________
Currently playing: Dominions III, Civilization IV, Ageod American Civil War.
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 05:59 PM.


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