• 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

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

mxdog

New member
Joined
Apr 29, 2017
RedCents
50¢
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