Page 1 of 1
EQ Crashes on mq2 spell casts
Posted: Sat Aug 14, 2004 5:42 am
by A Troll
Hi im using an updatet version of the Stick.mac and got some trouble since
12.8.04 patch. Each time Stick.mac.wants to cast
automaticly a spelll eq crasches.The following line will case eq crash:
/if (${Me.Gem[Aura of Hate]}>0) /if (${Me.PctMana}>20) /if (${Target.PctHPs}<96) /call cast "Aura of Hate"
its not only the Aura of hate spell , you can insert any spells there
anyone has similar problems or it is a know bug and there is a workaround
already ?
This crash happends with spellcast.inc and spell_routines.inc for me
Posted: Sat Aug 14, 2004 8:52 am
by aChallenged1
Code: Select all
/if (${Me.Gem[Aura of Hate]}>0) /if (${Me.PctMana}>20) /if (${Target.PctHPs}<96) /call cast "Aura of Hate"
Is that what you put in your macro? If so, I believe the problem is that you did not put double ampersands (&&) between each if statement.
I could be off base, but take a look into that.
Posted: Sat Aug 14, 2004 11:53 am
by wassup
Try modifying that a little:
Code: Select all
/if (${Me.Gem[Aura of Hate]}>0 && ${Me.PctMana}>20 && ${Target.PctHPs}<96) /call cast "Aura of Hate"
What you had is a bit 'sloppy', although technically ok to do.
It also might be something in one of the include files causing the problem.
Posted: Sun Aug 15, 2004 5:28 am
by A Troll
MY spellcast code atm is like this (its the old one from stick.mac was disbaled but get it to work)
Code: Select all
/if (${Me.Class.Name.Equal[Shadow Knight]}) /if (${Target.ID}==${MobID}) /if (!${Me.Casting.ID}) /if (${Target.Distance}<=${MeleeDistance}) /goto :attackSpellsSK
/goto :attackMeleeLoop
:attackSpellsSK
/echo spell
/if (${Me.Gem["Zevfeer's Bite"]}>0) /if (${Me.PctMana}>20) /if (${Target.PctHPs}<97) /call cast "Zevfeer's Bite"
/if (${Me.Gem[Aura of Hate]}>0) /if (${Me.PctMana}>20) /if (${Target.PctHPs}<96) /call cast "Aura of Hate"
/if (${Me.Gem[Spear of Decay]}>0) /call Cast "Spear of Decay"
/if (${Me.Gem[Spear of Plague]}>0) /if (${Me.PctMana}>20) /if (${Target.PctHPs}<95) /call cast "Spear of Plague"
| /if (${Me.Gem[Bond of Death]}>0) /if (${Me.PctHPs}<90) /if (${Me.PctMana}>20) /if (${Target.PctHPs}<90) /call cast "Bond of Death"
/goto :attackMeleeLoop
and cant get it to work , even with your suggestions about the && stuff.
and no im not a programmer i do this on a try and error basis :-)
maybe anyone got a working code for things like this that i can use