• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Problem - Buff Condition Help Please

Joined
May 31, 2022
RedCents
4,210¢
Version of KissAssist.mac?
12.002
When did your problem start?
Today - but I only wrote the condition today
Character Role?
  1. Assist
What class is having this issue?
  1. Enchanter
How often does this issue occur?
Always
Can you reproduce the issue?
Yes
Hi all,

I've been writing up my ini's for KissAssist, recently and it's going pretty well.
Hopefully they'll be ready soon to post in the ini section.

However, I've run into a head scratcher.

Toon is a level 90 chanter and the condition that fails to work is for buffing Spectral Unity Rk. II (this spell self buffs polyspectral and spectral rune)
If I click off the Polyspectral Rune, it rebuffs fine, but not when I click off the Spectral Rune.

The lines in question are:

INI:
Buffs14=Spectral Unity Rk. II|Me|Cond25
Cond25=${Me.SpellReady[Spectral Unity Rk. II]} && ((!${Me.Buff[Spectral Rune Rk. II].ID} && ${Spell[Spectral Rune Rk. II].Stacks}) || (!${Me.Buff[Polyspectral Rune Rk. II].ID} && ${Spell[Polyspectral Rune Rk. II].Stacks}))

The goal being that if either rune is off, it'll rebuff.

To troubleshoot I first manually reconfirmed that the runes will land (is it plugged in and the power on), and then tried this:

INI:
Buffs15=Spectral Rune Rk. II|Me|Cond24
Cond24=!${Me.Buff[Spectral Rune Rk. II].ID} && ${Spell[Spectral Rune Rk. II].Stacks}

Doesn't work;

If I then /echo !${Me.Buff[Spectral Rune Rk. II].ID} && ${Spell[Spectral Rune Rk. II].Stacks} I get the same response whether or not Spectral Rune is on or not: !18 && TRUE

I suspect (hopefully) I've missed something obvious but I can't see it.
If anyone has a moment to look I'm be grateful.

Can post the whole thing if needed
 
Last edited:
Hi all,

I've been writing up my ini's for KissAssist, recently and it's going pretty well.
Hopefully they'll be ready soon to post in the ini section.

However, I've run into a head scratcher.

Toon is a level 90 chanter and the condition that fails to work is for buffing Spectral Unity Rk. II (this spell self buffs polyspectral and spectral rune)
If I click off the Polyspectral Rune, it rebuffs fine, but not when I click off the Spectral Rune.

The lines in question are:

Buffs14=Spectral Unity Rk. II|Me|Cond25
Cond25=${Me.SpellReady[Spectral Unity Rk. II]} && ((!${Me.Buff[Spectral Rune Rk. II].ID} && ${Spell[Spectral Rune Rk. II].Stacks}) || (!${Me.Buff[Polyspectral Rune Rk. II].ID} && ${Spell[Polyspectral Rune Rk. II].Stacks}))

The goal being that if either rune is off, it'll rebuff.

To troubleshoot I first manually reconfirmed that the runes will land (is it plugged in and the power on), and then tried this:

Buffs15=Spectral Rune Rk. II|Me|Cond24
Cond24=!${Me.Buff[Spectral Rune Rk. II].ID} && ${Spell[Spectral Rune Rk. II].Stacks}

Doesn't work;

If I then echo: !${Me.Buff[Spectral Rune Rk. II].ID} && ${Spell[Spectral Rune Rk. II].Stacks}
I get the same response whether or not Spectral Rune is on or not: "!18 && TRUE"

I suspect (hopefully) I've missed something obvious but I can't see it.
If anyone has a moment to look I'm be grateful.

Can post the whole thing if needed
Try something simple like this?
Code:
Buffs14=Spectral Unity|Me|Cond25

Cond25=!${Me.Buff[Spectral Rune].ID} || !${Me.Buff[Polyspectral Rune].ID}
 
Try something simple like this?
Code:
Buffs14=Spectral Unity|Me|Cond25

Cond25=!${Me.Buff[Spectral Rune].ID} || !${Me.Buff[Polyspectral Rune].ID}
Thanks Cannonballdex,

Tested, and again fails.
But it did give me an idea.

Tried this:
INI:
Buffs15=Polyspectral Rune Rk. II|Me|Cond24
Cond24=!${Me.Buff[Spectral Rune Rk. II].ID} && ${Spell[Spectral Rune Rk. II].Stacks}

And clicked off both runes.
Expected behaviour is that it will cast polyspectral rune over and over since the buff spell will never resolve the condition to be true.

But what happens instead is ...

Click off Spectral Rune --> nothing, sits there like a dummy. Condition should resolve to false.
Click off Polyspectral Rune --> recasts Polyspectral Rune. Condition appears to resolve to true.

I suspected there may have been something up when /echo !${Me.Buff[Spectral Rune Rk. II].ID} && ${Spell[Spectral Rune Rk. II].Stacks} returned !18 && TRUE whether or not that buff was on.

Revisiting that test, I find that clicking off the Polyspectral rune results in !NULL && TRUE.

So, a question for those familiar with the KissAssist mac:
Do conditions like this for LIKE xyz, rather than an a case insensitive string?
 
Spoke to folks logged onto discord and the following suggestion was put forward:
INI:
Buffs14=Spectral Unity|dual|Spectral Rune
Buffs15=Spectral Unity|dual|Polyspectral Rune
Rebuffs when Poly Spectral Rune is clicked off, and does nothing when Spectral Rune is clicked off.
 
Now resolved.

To ensure the exact string is matched, Condition should look like this:
INI:
Cond24=!${Me.Buff[=Spectral Rune Rk. II].ID} || !${Me.Buff[=Polyspectral Rune Rk. II].ID}

The equals within the square brackets to indicate matching the exact string.

Much thanks to Kaen01, Special Ed and ColdBlooded and Cannonballdex for their help in resolving this.
 
Problem - Buff Condition Help Please

Users who are viewing this thread

Back
Top
Cart