Hello I have done some research on this forum and found a few different methods to read the players inventory, but havent been able to get it to work for my software. I am able to read the first bag, and all its items, like so:
Code:
PLAYER_FIELD_PACK_SLOT_1 = (ObjectEnum.OBJECT_END + UnitEnum.UNIT_END) * 4 + 0x15C * 4
item = ObjectDescriptor + ((uint)Enums.PlayerEnum.PLAYER_FIELD_PACK_SLOT_1) + value
Then I can just check to see if the item is 0 or not, but how would I go about reading from the other bags? Is there a
PLAYER_FIELD_PACK_SLOT_2
PLAYER_FIELD_PACK_SLOT_3
cont..
Thanks a lot for any help! It is much appreciated, and I will +rep any answers that help me come to a solution!