• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Tip - KissAssist - to snare? or not to snare?

Commits
6
Hellos

Today I have been playing around some more with KissAssist, and in particular Conditions.

I had seen this example KA profile here (RNG Lv5)
They key bits of interest are:-

RNG lv 5 KA INI extracts
INI:
[DPS]
DPSOn=1
DPSSize=20
DPSSkip=20
DPSInterval=2
DPS1=Tangling Weeds|30|cond1

[KConditions]
ConOn=1
CondSize=5
Cond1=!${Target.Snared}



Now I can read that as looking to see if the target is snared, or rather is the target not snared, upon which the condition is true so it will cast the spell.

I was trying this condition out, and a few times - KissAssist (12) blew up....

Unparsable in Calculation: 'S'
(Main): /ini "${IniFileName}" "KissError" "LastCMD:" "${MacroQuest.LastCommand}"
(CombatCast): /call CastWhat "${DPSPart1}" ${DPSTargetID} DPS ${CondNo}
(Combat): /call CombatCast
(CheckForCombat(int SkipCombat, string FromWhere)): /call Combat
(Main): /call CheckForCombat 0 MainLoop2
The current macro has ended.




Accepting that KA normally behaves, and the only thing changed here to the profile is use of the condition, assume it is at fault.
The profile in the KA library is from a while ago, and pre-KA 12. It may have worked historically but doesnt now?

Regardless of possible history and changes etc, I require something that works now, in a profile being used by KA 12.

With some investigation, the output of ${Target.Snared}, is actually the name of the spell with a snared component on the target, or null, if there is not one.


Figuring the conditionals are just going to boil down to Boolean logic; true / false, and dont like strings or nulls.
The Bool object (detail here on MQ2 site) can wrap around another and convert to the desired trues or falses.


With that informaton to hand, amended from:
Cond1=!${Target.Snared}

To:
Cond1=!${Bool[${Target.Snared}]}

... and now the profile hasnt crashed with a while of execution.
Tested with mobs, with and without a "snare" debuff active as they moved from above to below the 30% HP trigger.
( 30%, remember as the DPS detailed 30. DPS1=Tangling Weeds|30|cond1 ).


Hope this information may be of use to others wondering about conditionals in KA.

As extra, the MQ documentation for Target (here), details there are more than just "Snared".
e.g. Maloed, Rooted, Slowed, and Tashed, stand out as things people may consider testing?



Regards and Best Wishes.
 
Yeah I'm pretty sure you can just use the snare tag, good practice researching conditions for you though to do more advanced stuff if it comes up in the future 🤪

DPS1=Tangling Weeds|30|snare
 
Last edited:
you should be able to do a .id that way you get a number
Any chance I can use KA just for snare while continuing to use AFNuke for dps? Would just adding 1 line work? or would there be a conflict somehow?

many thanks
 
Any chance I can use KA just for snare while continuing to use AFNuke for dps? Would just adding 1 line work? or would there be a conflict somehow?

many thanks
you would want to look at the manual area in the misc section for kiss info guide

Code:
Manual mode
/mac kissassist manual - starts kissassist with everything turned off. You may then use In Game Commands to turns certain things on, such as /buffson, /healson, /dpson, etc.
 
I remember a long time ago that was one of the 1st conditions I used for a holy flag (dont think that particular wiki exists anymore)
you can also add condition running away (dont recall syntax)
 
Tip - KissAssist - to snare? or not to snare?

Users who are viewing this thread

Back
Top
Cart