• 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

Question - Bag Questions

Scurve

New member
Joined
Oct 8, 2021
RedCents
20¢
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