How to check InventoryFull

coolman

Active Member
I want to check how many slot my inventory is left,but never make the right result.
I use
Me:CreateCustomInventoryArray[nonbankonly]

Is there a better way to check it ? I love isxwow 's slot checker. It's great.

Now I use Triggers to check if my inventory is full,
AddTrigger InventoryFull "@*@You cannot loot while your inventory is full"
AddTrigger InventoryFull "You do not have enough space to loot@*@"

But it always to pull this trigger twice!!!

Is there a clear/reset triggers command ?? Reset all the triggers . I remember in EQ1 (MQ2) there is something like that.
 
Last edited:

Amadeus

The Maestro
Staff member
This was added in September ...it sounds like you want the highlighted item below:

Code:
September 14, 2007 -- By Amadeus
[ISXEQ2-20070912.0052]
* Fixed a bug in the item datatype.
* Added new MEMBERS to the 'item' datatype:
  1. InInventory              (bool type)     [in a bag or actual inventory slot]
  2. InInventorySlot          (bool type)     [is in one of your 6 actual inventory slots]
  3. IsInventoryContainer     (bool type)     [is a container placed in one of your 6 actual inventory slots]
  4. IsBankContainer          (bool type)     [is a container placed in one of your 8 actual bank slots]
  5. IsSharedBankContainer    (bool type)     [is a container placed in one of your 4 actual shared bank slots]
  6. NumSlotsFree             (int type)      [containers only]
* Added new MEMBERS to the 'character' datatype:
[COLOR="DarkRed"][B]  1. InventorySlotsFree       (int type)      [actual inventory slots free + inventory container slots free]    [/B][/COLOR] 
  2. BankSlotsFree            (int type)      [actual bank slots free + bank container slots free]
  3. SharedBankSlotsFree      (int type)      [actual shared bank slots free + shared bank container slots free]
*** NOTE:  The above members are fairly intensive in how it determines values.  Therefore, it is highly suggested that you
           do not use them in your UI/HUDs directly.  The best thing to do would be to have a script create a custom variable
           such as ${InventorySlotsFree} and then update that with ${Me.InventorySlotsFree} only when the 
           EQ2_onInventoryUpdate event has been issued.  Then, use your local variable in your UI/HUD.
 

curtsey

Active Member
Inventory Full: Crash

I have 2 characters that are running ISXEQ2 on separate machines - without - actual bot / harvest code running. (Just the ext isxeq2 loaded)

When they are grouped together and Character B's inventory is full, Character A's client completely crashes trying to manually harvest collectible ? clickies. It seems as if as soon as Character B gets the "inventory full message", Character A's client just crashes.

I have completely restarted both my clients and tried running them on different machines as well, and I can reproduce this crash always.

Does anyone have any ideas?
 

coolman

Active Member
Thanks ,it works now.

if ${Me.InventorySlotsFree}<=3 && !${Me.ToActor.IsDead} && (!${Actor[MyPet].InCombatMode} || !${Me.ToActor.InCombatMode})
{
call InventoryFull
}
 
Top Bottom