[DiscordArchive] What slots does it want?
[DiscordArchive] What slots does it want?
Archived author: Bench • Posted: 2023-01-21T19:41:06.171000+00:00
Original source
What slots does it want?
Archived author: Foe • Posted: 2023-01-21T19:42:41.664000+00:00
Original source
40 to 67 = the 28 bank slots
68 = first bank bag slot
69 = second bank bag slot
70 = third bank bag slot
71 = fourth bank bag slot
72 = fifth bank bag slot
73 = sixth bank bag slot
74 = seventh bank bag slot
Archived author: Foe • Posted: 2023-01-21T19:43:13.338000+00:00
Original source
That's the inventory slot ID's
Archived author: Bench • Posted: 2023-01-21T19:43:26.087000+00:00
Original source
I'm trying to put items in the bags, I tried to use slots 67 and 68 as the bag ID in my DB for those items
Archived author: Foe • Posted: 2023-01-21T19:46:29.881000+00:00
Original source
Then you use the BagId's NUM_BAG_SLOTS+1 to NUM_BAG_SLOTS+NUM_BANKBAGSLOTS, that gives you the correct bag slots, then you can use stuff like (this is client side, so gotta use the server side equivalent) PickupContainerItem(bagID, slotID), slotID is per-bag from 1-max slots
Archived author: Bench • Posted: 2023-01-21T19:48:35.463000+00:00
Original source
Well now I'm confuzzled
Archived author: Foe • Posted: 2023-01-21T19:50:33.630000+00:00
Original source
It might also be better for you to use Item* Player::_StoreItem
Archived author: Foe • Posted: 2023-01-21T19:51:43.472000+00:00
Original source
for (uint8 i = BANK_SLOT_ITEM_START; i < BANK_SLOT_ITEM_END; i++)
This is used in the core
Archived author: Bench • Posted: 2023-01-21T19:52:41.038000+00:00
Original source
Those are just for the 28 main slots though
Archived author: Foe • Posted: 2023-01-21T19:52:47.406000+00:00
Original source
Yeah, and then you have this