• 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

Question - MQ2Cast TLO's can someone explain why one works and not another ?

mxdog

New member
I was Playing with the TLO's for MQ2 Cast and think maybe I found a bug or I'm doing something wrong

so if i do this ;
/echo ${Cast.Status}
result : C
/echo ${Cast.Status.Equal[C]}
result: TRUE or FALSE if I stick something else in
that works

but if I do the exact same thing with another TLO ( the one I am trying to get )
/echo ${Cast.Effect}
result : TRUE or ..if i just cast a spell...Circle of the Inferno Rk. II...as an example
/echo ${Cast.Effect.Equal[TRUE]} or ${Cast.Effect.Equal[Circle of the Infernal Rk. II]}
result : NULL
this does not work

I don't understand why it works for one but not the other ?

They both return strings, so I assume .Equal should work with either


Just a short explanation of what is happening that I'm looking at those :

mq2Cast isn't dong long loading spells well at all
/casting "Auspice of Eternity Rk. II" Gem11
the spell has a 48 second memorize time and a 1.5 sec recovery ..so about 50 secs give or take to memorize and cast
the trouble is 12.5 seconds into the command I get [#########] MQ2Cast:[Casting: Aborting! (CastM) ( very helpful message BTW why did we abort Hmmm....?)
I like the auto memorize feature so would like to find a way around this without having to write a macro or 3-4 downshits
I'm trying to use this to rebuff pet in downtime with a downshit
I've unload everything i can think of that might be causing it to abort and what I have ultimately done with other toons is set timers and flags in a config to work around this
but i think its a shame ..the plugin that should do it won't. example a delay switch for the command if its a time issue (long loading spells)
 
Last edited:
My understanding is the the Cast.Effect is a datatype for EQ plugin stuff (thought it shows text, it isn't returned as an actual string you can use directly from my understanding... i could be wrong)

But you can ${Cast.Effect.Name.Equal[Circle of the Infernal Rk.II]} , because Cast.Effect.Name returns a string...which has access to string members .Equal to compare the result to something you put inside [ ]

In saying that, this is access whilst the spell is casting otherwise the Cast.Effect returns FALSE.

Also from memory, unless RG is different from what i read years ago is the timer to abort memorizing is a hard coded timer . workarounds in macros were to make code to wait longer for certain spells i think. Im not sure if it's something that was fixed in spell_routines.inc

If it was, you could try (if using kiss) a /command in the spell you want to first memorize the spell by /calling the sub with the command... i assume that's not a great idea though and might break some flow calling a .inc sub from a command in kiss buff routine, i have no idea :P
 
Thanks much
That explains it. It does not return a string ...and the timer is hard coded ...which I find weirdish since so many spells take longer then that 12 1/2 seconds to memorize ( what I get when I time it ).

I think I will suggest a change in MQCast
/casting "My Spell" Gem12 -maxtime 50 (in tenths) -maxtries 2

or something along those lines
There are just so many buff spells that take a while to load up I would have thought someone would have changed that hard coding years ago.
 
Last edited:
Question - MQ2Cast TLO's can someone explain why one works and not another ?

Users who are viewing this thread

Back
Top
Cart