Page 1 of 1

Really weird bug!

Posted: Mon Nov 05, 2001 12:15 pm
by Bruce Lee
I was in de arnise keep on the second floor. I had just crowded the Yuan Ti mage and was about to start pounding when I the Yuan Ti fired a sequencer of strenght, improved invisibilty and haste. This in itself is strange cause I have never seen him do it before but even weirder is the fact that he fired it at anomen!!! Has that ever happened to any of you guys?

Posted: Mon Nov 05, 2001 12:28 pm
by The fallen one
Never has happened here. Sure is weird. Maybe you should have asked him to tag along with the party. But I guess he needed to die. ;)

Posted: Mon Nov 05, 2001 12:34 pm
by Craig
One of my pcs once cast cure poison on a troll

Posted: Mon Nov 05, 2001 12:44 pm
by Shig
I've seen him fire that spell sequencer every time but never on any of my dudes.

Posted: Tue Nov 06, 2001 10:43 pm
by KensaiRyu
Originally posted by craig:
<STRONG>One of my pcs once cast cure poison on a troll</STRONG>
Hehe that is funny.

@ Bruce, that mage runs the script MAGE12D, heres the lines that cause this behavior:

IF
See(NearestEnemyOf(Myself))
See(NearestMyGroupOfType)
!Dead("Myself")
Global("SpellSequencer","LOCALS",0)
THEN
RESPONSE #100
DisplayString(LastSeenBy(Myself),'Spell Sequencer - Fired')
DisplayString(LastSeenBy(Myself),'Spell Sequencer - Haste')
ReallyForceSpell(LastSeenBy(Myself),WIZARD_HASTE)
DisplayString(LastSeenBy(Myself),'Spell Sequencer - Improved Invisibility')
ReallyForceSpell(LastSeenBy(Myself),WIZARD_IMPROVED_INVISIBILITY)
DisplayString(LastSeenBy(Myself),'Spell Sequencer - Strength')
ReallyForceSpell(LastSeenBy(Myself),WIZARD_STRENGTH)
SetGlobal("SpellSequencer","LOCALS",1)
END

The problem is this: the last seen by should point to this : See(NearestMyGroupOfType), meaning another member of the Yuanti.

However since his last seen by was anomen and the conditional exectuted, it means Anomen is considered a member of the same group as the yuanti...I had problems with the Trigger InMyGroup(Object), and consider that trigger broken. That trigger's function appears to be about the same as NearestMyGroupOfType, thus that trigger may well be broken too, since I dont think Anomen is a class 'LongSword', race 'Yuanti", Aligned 'Chaotic Evil' with a gender of Neither like the yuanti is (KPSHAM.cre if you want to see for yourself). Also the area file for that area is AR1303.are.