Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What slots does it want?

[DiscordArchive] What slots does it want?

[DiscordArchive] What slots does it want?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
01-21-2023, 07:41 PM
#1
Archived author: Bench • Posted: 2023-01-21T19:41:06.171000+00:00
Original source

What slots does it want?
rektbyfaith
01-21-2023, 07:41 PM #1

Archived author: Bench • Posted: 2023-01-21T19:41:06.171000+00:00
Original source

What slots does it want?

rektbyfaith
Administrator
0
01-21-2023, 07:42 PM
#2
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
rektbyfaith
01-21-2023, 07:42 PM #2

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

rektbyfaith
Administrator
0
01-21-2023, 07:43 PM
#3
Archived author: Foe • Posted: 2023-01-21T19:43:13.338000+00:00
Original source

That's the inventory slot ID's
rektbyfaith
01-21-2023, 07:43 PM #3

Archived author: Foe • Posted: 2023-01-21T19:43:13.338000+00:00
Original source

That's the inventory slot ID's

rektbyfaith
Administrator
0
01-21-2023, 07:43 PM
#4
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
rektbyfaith
01-21-2023, 07:43 PM #4

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

rektbyfaith
Administrator
0
01-21-2023, 07:46 PM
#5
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
rektbyfaith
01-21-2023, 07:46 PM #5

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

rektbyfaith
Administrator
0
01-21-2023, 07:48 PM
#6
Archived author: Bench • Posted: 2023-01-21T19:48:35.463000+00:00
Original source

Well now I'm confuzzled
rektbyfaith
01-21-2023, 07:48 PM #6

Archived author: Bench • Posted: 2023-01-21T19:48:35.463000+00:00
Original source

Well now I'm confuzzled

rektbyfaith
Administrator
0
01-21-2023, 07:50 PM
#7
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
rektbyfaith
01-21-2023, 07:50 PM #7

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

rektbyfaith
Administrator
0
01-21-2023, 07:51 PM
#8
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
rektbyfaith
01-21-2023, 07:51 PM #8

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

rektbyfaith
Administrator
0
01-21-2023, 07:52 PM
#9
Archived author: Bench • Posted: 2023-01-21T19:52:41.038000+00:00
Original source

Those are just for the 28 main slots though
rektbyfaith
01-21-2023, 07:52 PM #9

Archived author: Bench • Posted: 2023-01-21T19:52:41.038000+00:00
Original source

Those are just for the 28 main slots though

rektbyfaith
Administrator
0
01-21-2023, 07:52 PM
#10
Archived author: Foe • Posted: 2023-01-21T19:52:47.406000+00:00
Original source

Yeah, and then you have this
rektbyfaith
01-21-2023, 07:52 PM #10

Archived author: Foe • Posted: 2023-01-21T19:52:47.406000+00:00
Original source

Yeah, and then you have this

Pages (3): 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)