• 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

Here's how to check for Rampage and Swarm pets !

Although I love KissAssist.mac sometimes i like to use my own specialized macro for pulling and combating with my mage...

However ... Sometimes I run into a situation where if i still have my rampage pet up from last kill... when i go to pull a mob with non agro spell... and it is a caster.. and i get cast upon when the mob is farther out than my distance to engage it... the rampage pet rushes it and engages.

It would cause the mob to fall below the assist at threshold for my other toons using KissAssist in assist mode and they will engage it at that far distance... and my mage would never engage it in combat .. because the mob did not enter into my preferred distance range to engage it.

I needed a solution to check for the existence of any of my rampage pets being still up BEFORE i call my pull sub.

here is the solution... i just call this sub i wrote immediately before i call the pull sub.

SUB: CheckRampPets
Rich (BB code):
|-------------------------------------------------------------------------------- 
|SUB: CheckRampPets
|-------------------------------------------------------------------------------- 
Sub CheckRampPets

/declare i int local

|----------------------------------------------
| Wait for rampage pets to poof before pulling.
|----------------------------------------------
/for i 0 to 20
    /if (${Spawn[${Me.CleanName}`s_pet0${i}].ID}) /echo +++ My rampage pet is up: (${Spawn[${Me.CleanName}`s_pet0${i}]}|${Spawn[${Me.CleanName}`s_pet0${i}].ID}), HOLDING . . .
    :WaitOnRampagePets
    /delay 1
    /if (${Spawn[${Me.CleanName}`s_pet0${i}].ID}) /goto :WaitOnRampagePets
/next i

/echo - No rampage pet is active, starting pulls.

/return
|--------------------------------------------------------------------------------

It works beautiful ... once i realized that there is a tilda ( ` ) and not an apostrophe ( ' ) in the naming convention.. lol

I have the for loop set to 20... because as a mage I can only have a max of 3 rampage pets overlapping at any one time due to extended swarm pet aa's and abilities.... BUT this should work for necro swarm pets if the naming convention is the same... so setting it to 20 max is just fine.

It also works on swarm pets for mage via Host of Elements ....not just rampage pets

Hope this helps anyone out there that needs it as well........

As always... trying to help the community.
 
Last edited:
Here's how to check for Rampage and Swarm pets !

Users who are viewing this thread

Back
Top
Cart