[INVALID] LOOT LOOTLIST,ITEMLIST

Found a bug in UOX3? Or experienced a server crash? Perhaps you've noticed a broken feature? Post the details here!
Post Reply
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

LOOT LOOTLIST,ITEMLIST

Post by dragon slayer »

I NOTICED LOOT and PACKITEM was added so containers work in items

well i did notic the code was messed up for LOOT

case DFNTAG_LOOT: Items->AddRespawnItem( applyTo, cdata, true, true); break

they part in red shouldnt it be false

But any way

PACKITEM works fine on containers in the items.dfn but LOOT,LOOTLIST AND ITEMLIST do not work at all with containers in items.dfn
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

It shouldn't be false, because the LOOT tag supports itemlists, and the last "true" value there makes it randomize between the items in the supplied itemlist. In theory.

Basically, the PACKITEM takes single items, while the LOOT takes itemlists (not lootlists! itemlists.dfn :).
-= Ho Eyo He Hum =-
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Post by dragon slayer »

aw me never knew that lanr learn learn i love it
Post Reply