• 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 - Aggro Meter!

AnonymousHero

Active member
Alright so I got around to thinking about the Aggro meter that was introduced in what VOA?

Is there any way to get information out of it because I really cant find anything in the documentation on it.

I know in the UI it shows up in the character info window (where your name is), group window, target window, HOTT window and Xtarget window but is there any way we can pull these numbers out into MQ2 to utilize them for purposes of like hitting fade discs and/or tanking discs automatically?
 
character
int PctAggro
int SecondaryPctAggro
spawn SecondaryAggroPlayer
spawn AggroLock

target
int PctAggro
int SecondaryPctAggro
spawn SecondaryAggroPlayer

groupmember
int PctAggro

xtarget
int PctAggro
 
Snippet I use to flip wiz merc to burn until it gets over 75% aggro then back to balanced

Rich (BB code):
    /if ( ${Me.Mercenary.Equal[ACTIVE]} && ${Select[${Group.Member[1].Class},Wizard]} ) {
        /if (${Me.SecondaryPctAggro} > 75 && ${Group.Member[1].Name.Equal[${Me.SecondaryAggroPlayer.CleanName}]} ) {
            /if (${Me.MercenaryStance.NotEqual[Balanced]}) /stance balanced
        } else {
            /if (${Target.PctHPs} < 90 && ${Me.MercenaryStance.NotEqual[Burn]}) /stance burn
        }
    }
 
Wow... You know maybe Maskoi should slip that into kissassist if he hasnt already because that is a good way to get more DPS out of a caster merc without micromanaging.
 
Doesn't look like that snippet made it into KA yet Sym, sorry for the total noob question but where exactly would I put it to use with KA? Does it just set burn once per fight or will it go to burn every time agro drops low enough?
 
I'm not at all happy with how PctAggro for group members work, but I plan on fixing that down the line.
To me its logical that Member[x].PctAggro should return agro for the character that Member[x].Name returns, where x is the same number for both.
But it doesn't. and that... is a bug.
 
Doesn't look like that snippet made it into KA yet Sym, sorry for the total noob question but where exactly would I put it to use with KA? Does it just set burn once per fight or will it go to burn every time agro drops low enough?

The snippet can be made into a Holyshit.
I saw it somewhere a while back but can't remember where.
Looks to be something from Sym as it's exactly the same as his snippet.

Rich (BB code):
holyshit0=/if (${Me.Mercenary.Equal[ACTIVE]} && !${Select[${Me.MercenaryStance},Balanced,Burn]} && ${Select[${Group.Member[1].Class},Wizard]}) /stance balanced
holyshit1=/if (${Me.Mercenary.Equal[ACTIVE]} && ${Select[${Group.Member[1].Class},Wizard]} && ${Me.SecondaryPctAggro} > 75 && ${Group.Member[1].Name.Equal[${Me.SecondaryAggroPlayer.CleanName}]} && ${Me.MercenaryStance.NotEqual[Balanced]}) /stance balanced 
holyshit2=/if (${Me.Mercenary.Equal[ACTIVE]} && ${Select[${Group.Member[1].Class},Wizard]} && ${Me.SecondaryPctAggro} <=75 && ${Group.Member[1].Name.Equal[${Me.SecondaryAggroPlayer.CleanName}]} && ${Me.MercenaryStance.NotEqual[Burn]} && ${Target.PctHPs} < 90) /stance burn

It works.

Thanks SYM!

-Wolf
 
That would have to go into MQMelee and before it's compiled wouldn't it?

Actually goes in your "server_character.ini" file and is used by MQ2Melee plugin.
This can be used while your running Kissassist macro or while going solo.
Check out this thread for details on down and holy shits. -> HOLYSHIT!

If you're not using MQ2Melee I would look into it at the WIKI -> MQ2Melee
I've not seen a beginners guide to MQ2Melee.

-Wolf
 
Updated code for latest mq2 zip mercenary changes

Rich (BB code):
    /if ( ${Mercenary.State.Equal[ACTIVE]} && ${Select[${Group.Member[1].Class},Wizard]} ) {
        /if (${Me.SecondaryPctAggro} > 75 && ${Group.Member[1].Name.Equal[${Me.SecondaryAggroPlayer.CleanName}]} ) {
            /if (${Mercenary.Stance.NotEqual[Balanced]}) /stance balanced
        } else {
            /if (${Target.PctHPs} < 90 && ${Mercenary.Stance.NotEqual[Burn]}) /stance burn
        }
    }

Rich (BB code):
holyshit0=/if (${Mercenary.State.Equal[ACTIVE]} && !${Select[${Mercenary.Stance},Balanced,Burn]} && ${Select[${Group.Member[1].Class},Wizard]}) /stance balanced
holyshit1=/if (${Mercenary.State.Equal[ACTIVE]} && ${Select[${Group.Member[1].Class},Wizard]} && ${Me.SecondaryPctAggro} > 75 && ${Group.Member[1].Name.Equal[${Me.SecondaryAggroPlayer.CleanName}]} && ${Mercenary.Stance.NotEqual[Balanced]}) /stance balanced
holyshit2=/if (${Mercenary.State.Equal[ACTIVE]} && ${Select[${Group.Member[1].Class},Wizard]} && ${Me.SecondaryPctAggro} <=75 && ${Group.Member[1].Name.Equal[${Me.SecondaryAggroPlayer.CleanName}]} && ${Mercenary.Stance.NotEqual[Burn]} && ${Target.PctHPs} < 90) /stance burn
 
Question - Aggro Meter!

Users who are viewing this thread

Back
Top
Cart