• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

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

Joined
Mar 20, 2024
RedCents
1,051¢
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)

    • aquietone12/04/2022 5:26 PM​

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




  1. brainiac12/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. aquietone12/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. brainiac12/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. dannuic12/04/2022 6:19 PM​

    Probably just doesn't send it




 
Wow, so the Group.Member TLO indeed does pass PctHPs but not PctMana for Group.Member(0). That is a very unexpected behaviour...
 
Problem - Bug in mq.TLO.Group.Member(0).PctMana() ?

Users who are viewing this thread

Back
Top
Cart