• 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 - shits help, lol

janktron

Member
so i noticed yesterday that the -maxtries doesn't seem to work.

here is my holyshit for my tlp sk
holyshit2=/if (!${Me.Buff[Siphon Strength Recourse].ID} && ${Cast.Ready[Siphon Strength]}) /casting "Siphon Strength" -maxtries 1

if siphon strength is resisted my sk just keeps trying to recast. is this the correct syntax? anyway to fix this ?
 
Try maybe if something like
Rich (BB code):
holyshit2=/if (!${Me.Buff[Siphon Strength Recourse].ID} && ${Cast.Ready[Siphon Strength]}) /multiline ; /casting "Siphon Strength" ; /melee holyflag2=0
DownshitX=/melee holyflag2=1
 
Last edited:
Maxtries doesn't look at resists. It is used for fizzles and interrupts. If you fizzle more than maxtries times it will stop casting.

MQ2Cast exposes multiple TLO's that could be helpful. This is untested, but you could try something like the following.

Rich (BB code):
holyshit0=/if (!${Me.Buff[Siphon Strength Recourse].ID} && ${Cast.Ready[Siphon Strength]} && !${Cast.Result.Equal[CAST_RESIST]}) /casting "Siphon Strength"

This will check the result of the last spell cast (I think). You may need to mess with this some for syntax, and may need to add logic to make sure that the last spell cast was Siphon Strength.

Edit:

Did some more research, try this:

Rich (BB code):
holyshit0=/if (${Cast.Stored.Equal[Siphon Strength]} && ${Cast.Result.Equal[CAST_RESIST]}) /melee holyflag1=0
holyshit1=/if (!${Me.Buff[Siphon Strength Recourse].ID} && ${Cast.Ready[Siphon Strength]}) /casting "Siphon Strength"
...
downshit0=/if (${meleemvi[holyflag1]}==0) /melee holyflag1=1

Again, this is untested, but hopefully a little bit helpful.

- - - Updated - - -

Another thing you may consider is using MQ2Events.

/plugin MQ2Events

in MQ2Events_janktron.ini add this:

Rich (BB code):
[SiphonResist]
trigger=#1#has resisted your Siphon Strength spell#2#
command=/melee holyflag1=0

[MobDiedMe]
trigger=#1#You have slain#2#
command=/melee holyflag1=1

[MobDiedOther]
trigger=#1#has been slain#2#
command=/melee holyflag1=1

In game type /event load
In game type /event on

In your MQ2Melee ini you would then have:
Rich (BB code):
holyshit1=/if (!${Me.Buff[Siphon Strength Recourse].ID} && ${Cast.Ready[Siphon Strength]}) /casting "Siphon Strength"
 
Last edited:
really appreciate the help guys...unfortunately neither of those solutions work...and i dont understand why yours doesnt work ronnex. He should turn off that holyflag after each cast every fight. Not sure how to debug these but again, thank you guys for trying
 
Just realized /holyflag1=0 should be /melee holyflag1=0

See if that helps.

Also, is there anything in your MQ2Window, or any EQ spew about unrecognized commands?
 
Question - shits help, lol

Users who are viewing this thread

Back
Top
Cart