What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

getInvItem

Syllae

New Member
Joined
Sep 23, 2014
Messages
29
Reaction score
0
Hey,

I'm trying to get a stack of items in my inventory by using me.getInvItem()
I tried with the String and the UInt32 one but each time the stack couldn't be found.

Am I supposed to use getItems for stacks ?

Thanks !
 
Am I supposed to use getItems for stacks ?
GetItems() return list of ALL your items (equiped\warehous\inventory\etc).
Are you sure that you enter valid en name for item when try to get this item with getInvItem? Or valid item ID, if you use uint overload
 
Tried both String and UINT.

I play in english, with Archebuddy in english.
I tried with "Iron Ore"

UINT I found in Base de données Archeage 1.2
I tried with 8022

Got a single stack of 700+ Iron Ore in my inventory and, in both cases, the returning Item from me.getInvItem was null.
 
Code:
foreach (var i in me.getItems())
            {
                if (i.place == ItemPlace.Bag || i.place == ItemPlace.Equiped)
                {
                    Log(i.name + "["+i.id+"]");
                }
            }
Result from log post here
 
Looks like it works, the getInvItem, in a fresh new plugin...
 
Back
Top