• 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

Problem - CombatState returning wrong value? (1 Viewer)

  • Thread starter Thread starter Wolfborn
  • Start date Start date
W

Wolfborn

I've been using these downshits for ages and they worked fine until I tried them again yesterday.
Very erratic and almost never fired.

Rich (BB code):
downshitif=1
downflag0=1
downflag1=1
downshit0=/if (${Me.CombatState.NotEqual[COMBAT]} && ${Select[${Group.Member[1].Class},Wizard]} && ${Me.Mercenary.State.Equal[ACTIVE]} && ${Mercenary.Stance.NotEqual[Balanced]}) /stance Balanced
downshit1=/if (${Me.CombatState.Equal[COMBAT]} && ${Select[${Group.Member[1].Class},Wizard]} && ${Me.Mercenary.State.Equal[ACTIVE]} && (${Target.PctHPs}<80) && ${Mercenary.Stance.NotEqual[Burn]}) /stance Burn

I started troubleshooting by /echo each command while in combat mode.

${Me.CombatState} returned ACTIVE instead of COMBAT, COOLDOWN etc..

I setup a hot key to spam it and it would return ACTIVE no matter what I was doing. Occasionally it would return COMBAT or COOLDOWN but very seldom.
I think that is what's causing my DS not to work.

Did I miss something about CombatState ??

UPDATE:
When I /echo ${Me.CombatState} while medding, it returns RESTING 100% of the time (at least for the 20+ times I spammed it while medding )
 
${Me.CombatState} is returning COMBAT on my melee toons when they are actively attacking and my dps casters when they are standing up and casting. Unfortunately, like you, my casters on mounts are returning RESTING regardless of if the group is in combat or not. I'm seeing this on my cleric who is mounted. Perma RESTING regardless of his aggro status.



Maybe as a stop gap measure you could use:

${Me.PctAggro} > 0


This will not always work as your group may be in combat and you still have 0 aggro.
 
Problem - CombatState returning wrong value?

Users who are viewing this thread

Back
Top
Cart