Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Can you get the gear item from somewhere else?

[DiscordArchive] Can you get the gear item from somewhere else?

[DiscordArchive] Can you get the gear item from somewhere else?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
06-23-2023, 09:27 PM
#11
Archived author: Malcrom • Posted: 2023-06-23T21:27:08.962000+00:00
Original source

fill in the blank
rektbyfaith
06-23-2023, 09:27 PM #11

Archived author: Malcrom • Posted: 2023-06-23T21:27:08.962000+00:00
Original source

fill in the blank

rektbyfaith
Administrator
0
06-23-2023, 09:30 PM
#12
Archived author: M'Dic • Posted: 2023-06-23T21:30:51.622000+00:00
Original source

i know a hack fix we did in past projects, we had them spawn a gameobject chest ontop of themselves with a loot table if it was really damming to get working specifically
rektbyfaith
06-23-2023, 09:30 PM #12

Archived author: M'Dic • Posted: 2023-06-23T21:30:51.622000+00:00
Original source

i know a hack fix we did in past projects, we had them spawn a gameobject chest ontop of themselves with a loot table if it was really damming to get working specifically

rektbyfaith
Administrator
0
06-23-2023, 09:30 PM
#13
Archived author: M'Dic • Posted: 2023-06-23T21:30:58.114000+00:00
Original source

but thats just a hack
rektbyfaith
06-23-2023, 09:30 PM #13

Archived author: M'Dic • Posted: 2023-06-23T21:30:58.114000+00:00
Original source

but thats just a hack

rektbyfaith
Administrator
0
06-23-2023, 09:31 PM
#14
Archived author: Malcrom • Posted: 2023-06-23T21:31:14.767000+00:00
Original source

Shauren loves hacks
rektbyfaith
06-23-2023, 09:31 PM #14

Archived author: Malcrom • Posted: 2023-06-23T21:31:14.767000+00:00
Original source

Shauren loves hacks

rektbyfaith
Administrator
0
06-23-2023, 09:31 PM
#15
Archived author: ModoX • Posted: 2023-06-23T21:31:45.477000+00:00
Original source

for m_loot:
```c
for (LootItem const& lootItem : me->m_loot->items)
{
if (lootItem.itemid == MY_COOL_ITEM_ID)
// complete quest
}
```

for m_personalLoot its a bit different
```c
for (auto const& [playerGuid, loot] : me->m_personalLoot)
{
for (LootItem const& lootItem : loot->items)
{
if (lootItem.itemid == MY_COOL_ITEM_ID)
// complete quest to playerGuid
}
}
```

im not quite sure which one we need here
rektbyfaith
06-23-2023, 09:31 PM #15

Archived author: ModoX • Posted: 2023-06-23T21:31:45.477000+00:00
Original source

for m_loot:
```c
for (LootItem const& lootItem : me->m_loot->items)
{
if (lootItem.itemid == MY_COOL_ITEM_ID)
// complete quest
}
```

for m_personalLoot its a bit different
```c
for (auto const& [playerGuid, loot] : me->m_personalLoot)
{
for (LootItem const& lootItem : loot->items)
{
if (lootItem.itemid == MY_COOL_ITEM_ID)
// complete quest to playerGuid
}
}
```

im not quite sure which one we need here

rektbyfaith
Administrator
0
06-23-2023, 09:32 PM
#16
Archived author: Malcrom • Posted: 2023-06-23T21:32:21.589000+00:00
Original source

there is no personal loot in conditions
rektbyfaith
06-23-2023, 09:32 PM #16

Archived author: Malcrom • Posted: 2023-06-23T21:32:21.589000+00:00
Original source

there is no personal loot in conditions

rektbyfaith
Administrator
0
06-23-2023, 09:32 PM
#17
Archived author: Tea • Posted: 2023-06-23T21:32:48.027000+00:00
Original source

there is no difference, normal/personal is only internal in core
rektbyfaith
06-23-2023, 09:32 PM #17

Archived author: Tea • Posted: 2023-06-23T21:32:48.027000+00:00
Original source

there is no difference, normal/personal is only internal in core

rektbyfaith
Administrator
0
06-23-2023, 09:32 PM
#18
Archived author: Tea • Posted: 2023-06-23T21:32:51.703000+00:00
Original source

db doesnt care
rektbyfaith
06-23-2023, 09:32 PM #18

Archived author: Tea • Posted: 2023-06-23T21:32:51.703000+00:00
Original source

db doesnt care

rektbyfaith
Administrator
0
06-23-2023, 09:32 PM
#19
Archived author: Tea • Posted: 2023-06-23T21:32:54.499000+00:00
Original source

players dont care
rektbyfaith
06-23-2023, 09:32 PM #19

Archived author: Tea • Posted: 2023-06-23T21:32:54.499000+00:00
Original source

players dont care

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)