• 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 - Melee question

jamie75

Well-known member
when not using a macro i like to use Melee for button mashing and taunt as a tank. when i'm not MT i use the command /melee aggro=0 this works great except i assume it is telling moveutilities to /stick ifront so it always tries to move to behind the mob. once i need to tank i /melee aggro=1 and everything works as intended related to stick

melee ini below

Rich (BB code):
[MQ2Melee]
aggro=1
bash=1
callchallenge=0
commanding=20
defense=0
disarm=1
downflag0=1
enrage=1
facing=1
fieldarm=0
forage=1
gutpunch=1
holyflag0=1
holyflag1=1
holyflag10=1
holyflag11=1
holyflag12=1
holyflag13=1
holyflag14=1
holyflag15=1
holyflag16=1
holyflag17=1
holyflag18=1
holyflag19=1
holyflag2=1
holyflag20=1
holyflag21=1
holyflag22=1
holyflag23=1
holyflag3=1
holyflag4=1
holyflag5=1
holyflag6=1
holyflag7=1
holyflag8=1
holyflag9=1
infuriate=1
kick=1
kneestrike=1
melee=1
opportunisticstrike=0
plugin=1
provoke0=55027
provoke1=55009
provokeend=0
provokemax=100
provokeonce=off
resume=75
stickbreak=1
taunt=1
downshit0=/if (${Me.PctEndurance}<=19 && ${Me.PctEndurance}>=1 && ${Me.CombatAbilityReady[${Spell[Breather].RankName}]} && !${Me.CombatState.Equal[combat]} && !${Me.Invis} && !${Me.ActiveDisc.ID}) /Disc ${Spell[Breather].RankName}
holyshit1=/if (!${Me.Song[Field Champion rk. ii].ID}) /disc Field Champion rk. ii
holyshit11=/if (${Me.Combat} && ${Me.AltAbilityReady[Banestrike]} && ${Target.PctHPs}<99) /alt act 15073
holyshit12=/if (${Me.Combat} && ${Me.PctHPs}<40 && ${Me.AltAbilityReady[Warlord's Bravery]}) /alt act 804
holyshit13=/if (${Me.Combat} && ${Me.PctHPs}<35 && ${Me.CombatAbilityReady[Fortitude Discipline]} && ${Window[CombatAbilityWnd].Child[CAW_CombatEffectLabel].Text.Equal[No Effect]}) /disc Fortitude Discipline
holyshit14=/if (${Me.Combat} && ${Me.CombatAbilityReady[Determined Reprisal Rk. II]}) /disc Determined Reprisal Rk. II
holyshit15=/if (${Me.Combat} && ${Me.PctHPs}<50 && ${Me.AltAbilityReady[Resplendent Glory]}) /alt act 130
holyshit16=/if (${Me.Combat} && ${Me.PctHPs}<60 && ${Me.AltAbilityReady[Warlord's Resurgence]}) /alt act 911
holyshit2=/if (${Me.Combat} && ${Me.PctHPs}<60 && ${Me.CombatAbilityReady[Flash of Anger Rk. II]}) /disc Flash of Anger Rk. II
holyshit18=/if (${Me.Combat} && ${Me.CombatAbilityReady[Slander rk. ii]} && ${Melee.AggroMode}) /disc Slander rk. ii
holyshit19=/if (${Me.Combat} && ${Me.AltAbilityReady[Blast of Anger]} && ${Melee.AggroMode}) /alt act 3646
holyshit22=/if (${Me.Combat} && ${Me.AltAbilityReady[rage of the forsaken]} && ${Melee.AggroMode}) /alt act 688
holyshit20=/if (${Me.Combat} && ${Me.CombatAbilityReady[Burning Shout rk. ii]} && ${Melee.AggroMode}) /disc Burning Shout rk. ii
holyshit21=/if (${Me.Combat} && ${Me.CombatAbilityReady[Kluzen's roar rk. ii]} && ${Melee.AggroMode}) /disc Kluzen's roar rk. ii
holyshit23=/if (${Me.Combat} && ${Me.CombatAbilityReady[Shield Break Rk. III]} && ${Melee.AggroMode}) /disc Shield Break Rk. III
holyshit3=/if (${Me.XTarget} > 1 && ${SpawnCount[npc radius 45]} > 1 && ${Me.CombatAbilityReady[Shield Break]} && !${Melee.DiscID}) /casting "Shield Break"
holyshit9=/if (${Me.Combat} && !${Me.ActiveDisc.Name.Equal[Last Stand Discipline Rk. III]} && ${Me.AltAbilityReady[Fundament: Third Spire of the Warlord]} && ${Target.Named} || ${SpawnCount[npc radius 50]}>3) /alt act 1402
stickrange=75 
stickmode=1 
stickcmd=${If[${Math.Calc[${Target.MaxRangeTo}*0.8]} > 19,10,${Math.Calc[${Target.MaxRangeTo}*0.7]}]} moveback loose
version=8.400
 
your stick command does not try and distinguish between aggro being on or not, so it shouldn't change other than based on how close you are to the mob.

Rich (BB code):
stickcmd=${If[${Math.Calc[${Target.MaxRangeTo}*0.8]} > 19,10,${Math.Calc[${Target.MaxRangeTo}*0.7]}]} moveback loose

That is your stick command. when you turn aggro on you should always be in front of the mob. Because you have agro, but when you turn off aggro your stick command does not try and move you to the back.

Could try this:
Rich (BB code):
stickcmd=${If[${Melee.AggroMode},${If[${Math.Calc[${Target.MaxRangeTo}*0.8]} > 19,10,${Math.Calc[${Target.MaxRangeTo}*0.7]}]} moveback loose,${If[${Math.Calc[${Target.MaxRangeTo}*0.8]} > 19,10 !front,${Math.Calc[${Target.MaxRangeTo}*0.7]}]} !front moveback loose]}

I am assuming you want to be not in front when you turn aggro mode off.
 
i want to stay in the front and just not taunt. i suspect it's deep inside mq2melee. and the aggro=0 is causing it to move behind


i should say the stickcmd works as intended except when i aggro=0
 
Question - Melee question

Users who are viewing this thread

Back
Top
Cart