Inventory handling menu

Shout-Out

User Tag List

Results 1 to 6 of 6
  1. #1
    jockel's Avatar Member
    Reputation
    4
    Join Date
    Mar 2009
    Posts
    54
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Inventory handling

    I'm currently a bit puzzled while getting my inventory handler (C#) to work.

    I can get all bags through the object manager ( no matter if they are equiped in a bagslot or lingering in my inventory).

    But the bags aren't in the item list I'm getting from the object manager.


    So how can I find out wether my bag is equiped in a bagslot or in my inventory?
    And additional, is there a way to figure out more details, like bag quality or bag name etc. ?

    Thanks for your thoughts
    Last edited by jockel; 06-11-2009 at 03:11 PM.

    Inventory handling
  2. #2
    Maeco's Avatar Member
    Reputation
    2
    Join Date
    May 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I haven't done anything with this yet, however I think you should experiment a bit with the player descriptor field: PLAYER_FIELD_PACK_SLOT_1=0x158 (3.1.3.9947) a bit

    PLAYER_FIELD_PACK_SLOT_1=0x158
    PLAYER_FIELD_PACK_SLOT_2=0x159 // Not sure if these are the correct indexes for the 2...5 pack slots
    PLAYER_FIELD_PACK_SLOT_3=0x15A
    PLAYER_FIELD_PACK_SLOT_4=0x15B
    PLAYER_FIELD_PACK_SLOT_5=0x15C

    Maybe the value of these fields represent the GUID of the bag that is currently located in that slot.

    P.S. Let us know your findings please
    Last edited by Maeco; 06-12-2009 at 04:15 AM.

  3. #3
    tanis2000's Avatar Active Member
    Reputation
    39
    Join Date
    Feb 2009
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you're using DoString you can call this LUA function:

    Code:
    slots = GetContainerNumSlots(bagId);
    where bagId is a number 1..5
    if slots == 0 then you haven't got a bag equipped in that bag-slot.

    And then you can run through your bags slot by slot and find out what's in each. It will give you even bags that aren't equipped but just sitting in your equipped ones:

    Code:
                  for bag = 0,4 do
                    for slot = 1,GetContainerNumSlots(bag) do
                      item = GetContainerItemLink(bag,slot)
                      -- do whatever you want with the item 
                    end
                  end
    If you're using DoString along with GetLocalizedText you can probably grab information from that LUA script, even though I am not sure myself.

  4. #4
    voron23's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PLAYER_FIELD_PACK_SLOT_1=0x158 it is GUID of item in 0 1 slot.

  5. #5
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bag's are containers.

    None = 0,
    Item = 1,
    Container = 2,
    Unit = 3,
    Player = 4,
    GameObject = 5,
    DynamicObject = 6,
    Corpse = 7,
    AiGroup = 8,
    AreaTrigger = 9

  6. #6
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    AreaTriggers are objects? Interesting.

Similar Threads

  1. how to handle with beggars
    By pauk in forum World of Warcraft Guides
    Replies: 28
    Last Post: 07-03-2008, 01:49 PM
  2. help display id not working in inventory
    By backlash52 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 06-11-2008, 12:31 PM
  3. Inventory Keep list for OB
    By justme86 in forum World of Warcraft Bots and Programs
    Replies: 10
    Last Post: 04-04-2008, 04:59 PM
  4. Everytime I log off my inventory disappears. Why? (Antrix)
    By matupa in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 09-18-2007, 08:59 PM
  5. The "WoW GOld Inventory thing"
    By The Juggernaut in forum Community Chat
    Replies: 2
    Last Post: 03-20-2007, 06:21 PM
All times are GMT -5. The time now is 06:14 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search