• 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

Range vs Melee Help

Apologies if this is a noob question but I am using mq2moveutils and mq2melee and am wondering how to set up melee such that if the mob is within a certain distance my ranger will move to it and melee and if beyond that distance will range attack it. I have been messing around with mq2melee.ini, specifically stickrange= and range= but cannot seem to get what I am looking for. It wants to range the thing all the time until I get too close for bow to work then it switches to melee.

I am thinking I am just being dense because range= indicates it "Enables ranged attacks when target is at or beyond this range" however I can set that to 200 and it is still going to range attack the mob when I am only a few paces away from it. Here's mq2melee.ini as I have it now:

Rich (BB code):
[MQ2Melee]
aggro=1
arrow=24493
bow=79864
disarm=0
downflag1=1
downflag2=1
downflag3=1
downflag4=1
downflag5=1
downflag6=1
enrage=0
facing=1
harmtouch=0
infuriate=0
kick=0
melee=1
petmend=20
petrange=75
plugin=1
pothealover=60
range=150
resume=20
slam=0
standup=1
stickmode=1
stickrange=25
taunt=0
downshit1=/if (${Spell[Taelosian Guard].Stacks} && !${Me.Buff[Taelosian Guard].ID} && !${Me.Moving} && !${Me.Invis} && ${Me.FreeBuffSlots}>=1) /casting 105945|Fingers
downshit2=/if (${Spell[Form of Defense IV].Stacks} && !${Me.Buff[Form of Defense IV].ID} && !${Me.Moving} && !${Me.Invis} && ${Me.FreeBuffSlots}>=1) /casting 105944|Fingers
downshit3=/if (${Spell[Maelin's Meditation].Stacks} && !${Me.Buff[Maelin's Meditation].ID} && !${Me.Moving} && !${Me.Invis} && ${Me.FreeBuffSlots}>=1) /casting 105946|Waist
downshit4=/if (${Spell[Savage Guard].Stacks} && !${Me.Buff[Savage Guard].ID} && !${Me.Moving} && !${Me.Invis} && ${Me.FreeBuffSlots}>=1) /casting 105936|Ear
downshit5=/if (${Spell[Vengeful Guard].Stacks} && !${Me.Buff[Vengeful Guard].ID} && !${Me.Moving} && !${Me.Invis} && ${Me.FreeBuffSlots}>=1) /casting 105941|Back
holyshit1=/if (${Target.CurrentHPs}<65 && !${Ensnare}) /alt activate 219
stickcmd=!Front
version=4.950

Very confused!
 
Range vs Melee Help

Users who are viewing this thread

Back
Top
Cart