.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 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old August 14th, 2008, 05:22 AM
ano's Avatar

ano ano is offline
Lieutenant Colonel
 
Join Date: May 2007
Posts: 1,462
Thanks: 34
Thanked 59 Times in 37 Posts
ano is on a distinguished road
Default Returning script ignored. Bug?

I just wonder how could this happen. My golem was moving to castle and was scripted to cast Returning the first turn. But when he got attacked by teleporting Atlantis' KOtD he casted Personal Luck instead and was naturally killed by Magic Duel.
I strongly suppose that this is a heavy bug. Any comments?

p.s. yes, he had two gems to cast Returning.
p.p.s. I double checked the previous turn and have both files at my disposal.
Reply With Quote
  #2  
Old August 14th, 2008, 05:26 AM
ano's Avatar

ano ano is offline
Lieutenant Colonel
 
Join Date: May 2007
Posts: 1,462
Thanks: 34
Thanked 59 Times in 37 Posts
ano is on a distinguished road
Default Re: Returning script ignored. Bug?

What I found out when I ran it this with debug options...

Quote:
comp_castspell: No eval Returning due to gems
Quote:
Not enough vis for Returning
I don't know what this means but my golem HAD gems to cast returning. He also was carrying other gems. Maybe, this matters?
Reply With Quote
  #3  
Old August 14th, 2008, 05:58 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: Returning script ignored. Bug?

If the golem had enough gems, it indeed sounds like a bug.

Vis means gems. The term comes from Ars Magica, a roleplaying game. It is used for magical resources that can be used to create magical items or to help the mage to complete a more powerful spell. Most vis is aligned, e.g. Ignem (fire) vis might come in the form of rubies, or Auram (air) vis as wingbones or feathers of a magical bird.
Reply With Quote
  #4  
Old August 14th, 2008, 06:48 AM
ano's Avatar

ano ano is offline
Lieutenant Colonel
 
Join Date: May 2007
Posts: 1,462
Thanks: 34
Thanked 59 Times in 37 Posts
ano is on a distinguished road
Default Re: Returning script ignored. Bug?

Well, we'll perform some testing shortly and I'll post the result here. Just tested: golem with 2 pearls always casts returning.
I have two strong suspicions:
1) he was carrying 28 D gems in addition to 2 pearls
2) he was wearing an Armor of Virtue
Reply With Quote
  #5  
Old August 14th, 2008, 06:58 AM
vfb's Avatar

vfb vfb is offline
General
 
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
vfb is on a distinguished road
Default Re: Returning script ignored. Bug?

Hmmm, I wonder if somehow he was actually overflowing with D gems. I'm guessing he's got the Deathsicle, right? Maybe the extra D gems somehow screwed up the pearl count.

I had an SC cast Astral Shield once, instead of following its script for Returning. I think that was just a priority issue though. Now I always script Returning x 5 ... not that it would have helped you.
__________________
Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php?
Reply With Quote
  #6  
Old August 14th, 2008, 07:12 AM
Reay's Avatar

Reay Reay is offline
Sergeant
 
Join Date: Dec 2006
Location: Australia
Posts: 202
Thanks: 98
Thanked 1 Time in 1 Post
Reay is on a distinguished road
Default Re: Returning script ignored. Bug?

This happened to my Golem as well in the Fallacy game. My Golem with Returning scripted cast Personal luck instead and then got magic dueled.

I think it did not cast Returning because I had a certain amount of PD in the province and the AI thinks you should not retreat if you have other troops. It generally works when the Golem is alone.
Reply With Quote
  #7  
Old August 14th, 2008, 07:35 AM
ano's Avatar

ano ano is offline
Lieutenant Colonel
 
Join Date: May 2007
Posts: 1,462
Thanks: 34
Thanked 59 Times in 37 Posts
ano is on a distinguished road
Default Re: Returning script ignored. Bug?

We tested the nearly identical situation and Golem did cast returning successfully. Same artifacts, same gems, same script, same situation. I played with PD (from 0 to 40) and gems but always had the same result - golem did cast returning the first turn.
So probably this is a very weird and badly reproducable bug.
That golem was worth about 100 gems total (taking on account forge bonuses and not taking on account forge time and the fact that these artifacts can easily be reforged). And as it happens not first time, I think, it should be investigated by the devs.
I can provide anyone interested with the turn files and description
Reply With Quote
  #8  
Old August 14th, 2008, 02:00 PM

Sicaire Sicaire is offline
Private
 
Join Date: Apr 2008
Posts: 24
Thanks: 1
Thanked 2 Times in 1 Post
Sicaire is on a distinguished road
Default Re: Returning script ignored. Bug?

I have had the same "bug" happen to me in an 3.17 MP game with CB 1.21 and single age mod.
I had a golem carrying just the 2 astral gems needed and returning scripted as first action. He got attacked along with 3 or 4 PD by 3 enemy illusionists and ignored the scripted cast returning spell.
I would have said it was because the adverse party was not deemed threatening enough by the AI to use a spell involving a gem cost. The AI commonly ignores gems costing spells in scripts if the enemy army is too small. Problem: the golem got lighted and died with a horribly costly gear of magic items doh...
Reply With Quote
  #9  
Old August 14th, 2008, 02:16 PM
ano's Avatar

ano ano is offline
Lieutenant Colonel
 
Join Date: May 2007
Posts: 1,462
Thanks: 34
Thanked 59 Times in 37 Posts
ano is on a distinguished road
Default Re: Returning script ignored. Bug?

I even tested the situation with golem backed up by 40 PD and single teleporting empowered enemy priest. Golem always casts returning so probably the cause is not that easy.
Also, it seems to me that Returning casting should never be ignored at all.
Reply With Quote
  #10  
Old August 14th, 2008, 03:10 PM
Meglobob's Avatar

Meglobob Meglobob is offline
Major General
 
Join Date: Sep 2006
Posts: 2,198
Thanks: 90
Thanked 32 Times in 22 Posts
Meglobob is on a distinguished road
Default Re: Returning script ignored. Bug?

Btw I am keen for Illwinter to look at it and deciede if it is a bug or not. But we cannot hold up the game for that.

The debug is:-

comp_castspell: No eval Returning due to gems

Quote:
Not enough vis for Returning

It could mean your golem + 10PD or so thought my single S mage was no threat to them and so your golem choose to not waste 2s gems casting returning. Such is the way of AI scripting. But no one knows, other than the developers.
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 08:53 AM.


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