• 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 - Bag Questions

Scurve

New member
With the new 'Perks' option, there can now be 12 character inventory slots. Is there a way to know the number of inventory slots on a character?
${Me.Inventory[pack12].ID} returns the ID number of the item in slot 12, but it returns NULL if the slot does not exist OR if the slot exists but is empty.

Also, it used to be possible to determine the number of slots in a bag with item.Container, but this is no longer reliable.
If a bag is empty, or the bag is inside another bag, item.Container returns 0. The item member .SizeCapacity still works properly, but not .Container.
item.Container works if there is something in the bag, or there has been something in the bag during the current session (even if the bag is now empty).

You can still get the number of slots in the bag from the Item Display Window, but that adds quite a bit of time and coding.
 
Sounds like you're still using MQ2. MQ2 has lots of issues, especially with items and containers.

These issues have been addressed, or will be addressed in Macroquest (next) only. I recommend you switch.
 
Thanks! I switched from MQ2 to MQNext and that solved the Container issue completely.

I read the Macroquest Documentation for DataType:character but I can't find an equivalent for Members MaxBuffSlots or NumGems that tells me how many character inventory slots I have.
If there is no item in slots 11 or 12, is there a way to tell that the slots exist? ${Me.FreeInventory} does not see the space available in slots 11 or 12.
 
I haven't had a chance to add support for the new invslots yet. They're a bit more complicated because they're tied to some entitlement information that we haven't figured out yet. In the past that information for things like buffs and gems was easily available. Its high on the to do list.
 
Question - Bag Questions

Users who are viewing this thread

Back
Top
Cart