PDA

View Full Version : trade bug with gm status


dadda
04-29-2008, 12:19 PM
This is a bug that allows a gm to #summonitem, that item even though nodrop can be traded to any npc and anyone can kill it and loot said item.

Shouldn't this be the same as if any normal char giving a nodrop item to an npc, they delete it upon death?

trevius
04-29-2008, 04:16 PM
No, GMs are special! You can use it to add items to a mob for an event, or however you see fit. The easiest way to give an item to someone else is the #gi or #giveitem command though.

dadda
04-29-2008, 05:35 PM
for tracking reasons, it would be much easier to track if items traded to npc's are deleted upon death and just have a gm #giveitem. then it is easier to track in the logs whereas #summonitem does not prove they had given an npc the item.

trevius
04-29-2008, 07:45 PM
#giveitem only works for players. The only ways I know of to add loot to an NPC loot table without editing your loot tables and restarting the server are:

1. #summonitem and give the item to the NPC.

2. use quest::addloot(); in a quest for an NPC.

Both of those will only be temporary and they will not be in the loot tables if the zone resets, server resets, or if the mob is killed and spawns again.

dadda
04-29-2008, 08:16 PM
ah, thank you....i was not aware #giveitem didnt work to give an npc an item

cavedude
04-29-2008, 08:48 PM
#npcloot will also do the job, though that is temporary as well.