Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Hello, some npc have lootid which can be found in creature_loot_template table

[DiscordArchive] Hello, some npc have lootid which can be found in creature_loot_template table

[DiscordArchive] Hello, some npc have lootid which can be found in creature_loot_template table

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
10-28-2022, 06:38 PM
#1
Archived author: blacknightt • Posted: 2022-10-28T18:38:30.569000+00:00
Original source

Hello, some npc have lootid which can be found in creature_loot_template table

But some npc's lootid is 0 but the item is in them, which table should I refer to to find this item?
rektbyfaith
10-28-2022, 06:38 PM #1

Archived author: blacknightt • Posted: 2022-10-28T18:38:30.569000+00:00
Original source

Hello, some npc have lootid which can be found in creature_loot_template table

But some npc's lootid is 0 but the item is in them, which table should I refer to to find this item?

rektbyfaith
Administrator
0
10-28-2022, 06:46 PM
#2
Archived author: Dreadmaster • Posted: 2022-10-28T18:46:14.013000+00:00
Original source

give a specific example
rektbyfaith
10-28-2022, 06:46 PM #2

Archived author: Dreadmaster • Posted: 2022-10-28T18:46:14.013000+00:00
Original source

give a specific example

rektbyfaith
Administrator
0
10-28-2022, 07:11 PM
#3
Archived author: Revision • Posted: 2022-10-28T19:11:25.172000+00:00
Original source

If lootid is 0, the creature entry is the loot id
rektbyfaith
10-28-2022, 07:11 PM #3

Archived author: Revision • Posted: 2022-10-28T19:11:25.172000+00:00
Original source

If lootid is 0, the creature entry is the loot id

rektbyfaith
Administrator
0
10-28-2022, 07:37 PM
#4
Archived author: blacknightt • Posted: 2022-10-28T19:37:32.025000+00:00
Original source

https://wotlkdb.com/?npc=25001#drops
[Embed: Abyssal Flamewalker - NPC - WotLK Database 3.3.5a]
Abyssal Flamewalker - NPC - WotLK Database 3.3.5a. WotLKDB.com is a fully featured database for World of Warcraft Wrath of the Lich King, patch 3.3.5a.
https://wotlkdb.com/?npc=25001
rektbyfaith
10-28-2022, 07:37 PM #4

Archived author: blacknightt • Posted: 2022-10-28T19:37:32.025000+00:00
Original source

https://wotlkdb.com/?npc=25001#drops
[Embed: Abyssal Flamewalker - NPC - WotLK Database 3.3.5a]
Abyssal Flamewalker - NPC - WotLK Database 3.3.5a. WotLKDB.com is a fully featured database for World of Warcraft Wrath of the Lich King, patch 3.3.5a.
https://wotlkdb.com/?npc=25001

rektbyfaith
Administrator
0
10-28-2022, 07:38 PM
#5
Archived author: blacknightt • Posted: 2022-10-28T19:38:40.313000+00:00
Original source

There are 13 items for this creature in the database, but it shows 351
From which table do the numbers of the rest of the items come?
rektbyfaith
10-28-2022, 07:38 PM #5

Archived author: blacknightt • Posted: 2022-10-28T19:38:40.313000+00:00
Original source

There are 13 items for this creature in the database, but it shows 351
From which table do the numbers of the rest of the items come?

rektbyfaith
Administrator
0
10-28-2022, 07:53 PM
#6
Archived author: Revision • Posted: 2022-10-28T19:53:03.676000+00:00
Original source

The rest comes from references
rektbyfaith
10-28-2022, 07:53 PM #6

Archived author: Revision • Posted: 2022-10-28T19:53:03.676000+00:00
Original source

The rest comes from references

rektbyfaith
Administrator
0
10-28-2022, 07:54 PM
#7
Archived author: Revision • Posted: 2022-10-28T19:54:28.474000+00:00
Original source


[Image: unknown.png?ex=690c5434&is=690b02b4&hm=e...9a7128c80&]
rektbyfaith
10-28-2022, 07:54 PM #7

Archived author: Revision • Posted: 2022-10-28T19:54:28.474000+00:00
Original source


[Image: unknown.png?ex=690c5434&is=690b02b4&hm=e...9a7128c80&]

rektbyfaith
Administrator
0
10-28-2022, 07:55 PM
#8
Archived author: Revision • Posted: 2022-10-28T19:55:28.128000+00:00
Original source

It does list 2 entries from other creatures because I couldn't be bothered with removing the wildcard but you get the idea
rektbyfaith
10-28-2022, 07:55 PM #8

Archived author: Revision • Posted: 2022-10-28T19:55:28.128000+00:00
Original source

It does list 2 entries from other creatures because I couldn't be bothered with removing the wildcard but you get the idea

rektbyfaith
Administrator
0
10-28-2022, 08:02 PM
#9
Archived author: Revision • Posted: 2022-10-28T20:02:55.005000+00:00
Original source

```
SET @Entry := 25001;
SELECT * FROM creature_loot_template WHERE Entry = @Entry AND Reference = 0
UNION
SELECT * FROM reference_loot_template WHERE Entry IN (SELECT Reference FROM creature_loot_template WHERE Entry = @Entry AND Reference > 0)
```

That'll show you a list of all 351 items.
rektbyfaith
10-28-2022, 08:02 PM #9

Archived author: Revision • Posted: 2022-10-28T20:02:55.005000+00:00
Original source

```
SET @Entry := 25001;
SELECT * FROM creature_loot_template WHERE Entry = @Entry AND Reference = 0
UNION
SELECT * FROM reference_loot_template WHERE Entry IN (SELECT Reference FROM creature_loot_template WHERE Entry = @Entry AND Reference > 0)
```

That'll show you a list of all 351 items.

rektbyfaith
Administrator
0
10-28-2022, 08:09 PM
#10
Archived author: blacknightt • Posted: 2022-10-28T20:09:56.688000+00:00
Original source

thank you
rektbyfaith
10-28-2022, 08:09 PM #10

Archived author: blacknightt • Posted: 2022-10-28T20:09:56.688000+00:00
Original source

thank you

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