• 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 - Bug in mq.TLO.Group.Member(0).PctMana() ?

I am seeing something strange when I query the Lua Expression Evaluator for PctMana()

Note that in my test all my group members are full HP and full Mana.
  • If I query mq.TLO.Group.Member(1).PctHPs() I get 100 (which is correct)
  • If I query mq.TLO.Group.Member(1).PctMana() I get 100 (which is correct)
  • If I query mq.TLO.Group.Member(0).PctHPs() I get 100 (which is correct)
  • If I query mq.TLO.Group.Member(0).PctMana() I get 0 (which is incorrect)
Any idea why I get the wrong reading when I query my own PctMana, but it's correct when I query my own PctHPs or other group members's PctMana?
 
i think you generally don't want to use the group member TLO to query info about your local toon, as the eq client doesn't populate all group member info for your local toon or something along those lines
 
i think you generally don't want to use the group member TLO to query info about your local toon, as the eq client doesn't populate all group member info for your local toon or something along those lines

The Group Member TLO does populate my PctHPs, yet not my PctMana. That surely cannot be intended?

since Group.Member(0) is always you. why not check against mq.TLO.Me.

The reason I use Group.Member() is because I have a function that loops through all Group Members to check whether any of the toons is low on mana (Group Member 0 included)

But, regardless of the reason, does anyone know why Group.Member(0).PctMana() prints 0 (incorrect) yet Group.Member(0).PctHPs() prints 100 (correct)? Is it a bug in the TLO?
 
From the MQ discord, a while ago:


(i'm not deleting any of this funny formatting from copy/pasting from discord because it just made me laugh seeing how it pasted)

    • aquietone — 12/04/2022 5:26 PM​

      > /echo ${Group.Member[0].PctMana}
      0
      > /echo ${Me.PctMana}
      100
      like that?




  1. brainiac — 12/04/2022 5:35 PM​

    Is that info actually available in that client?




  2. [5:36 PM]
    Like I mean is the mana info being sent down





  3. aquietone — 12/04/2022 5:36 PM​

    yea, but 0 should just be your own anyways?




  4. [5:36 PM]
    > /echo ${Group.Member[1].PctMana}
    99
    you get it for the group members





  5. brainiac — 12/04/2022 5:37 PM​

    Right. The question is, is emu omitting that info for yourself





  6. Xackery (Shin Noir) — 12/04/2022 6:18 PM​

    group member 0 should be same as Me.PctMana, yes




  7. [6:18 PM]
    I have code from live I transplanted to emu and breaks due to emu not doing same behavior for whatever reason





  8. dannuic — 12/04/2022 6:19 PM​

    Probably just doesn't send it




 
Problem - Bug in mq.TLO.Group.Member(0).PctMana() ?

Users who are viewing this thread

Back
Top
Cart