Fixed in [11878]
I think this bug is old but I've noticed that nobody actually reported this. I have tested this both on my server's custom core and on a clean mangos core without sd2 and the results are the same, so I believe it's a general Mangos bug.
The bug is about looting the loot chests while in a group.This bug can be exploited and players can fill their pockets with tons of items and emblems in just a few min. I will explain how it happens.
Mangos Version: MaNGOS/0.16.0-DEV (* * Revision 9611 - *) for Win32 (little-endian)
Custom Patches: no custom patches
SD2 Version: no sd2
Database Name and Version : YTDB_0.10.9_R533_MaNGOS_R9311_SD2_R1565_ACID_R302_RuDB_R34.9
How it SHOULD work: If you are in a party group or raid group, if someone loots a chest with green, blue, violet or orange items the group loot interface should be displayed and you should be able to choose need or greed. Or if the group is using master loot then the master looter should be able to choose from a drop down menu a player from a list, to which he should give the item.
How it DOES work: There are 2 major bugs and exploits:
1. While in a group which uses group loot, master loot or other types of loot, the loot award system doesn't work for loot chests. So the items can be stolen from the chest by anyone. This is the minor bug.
2. The major bug is that the loot chest can be farmed infinitely. I will explain how is this done. While in a group one of the members loots the chest pressing "shift + right click" and he takes the emblem and some items. Then comes the second group member which loots the chest using the same keys (shift + right click) and takes the emblem and some of the remaining items. The other group members use the same pattern. Only two players are requiered in order to exploit this bug. After the second group member has looted the chest, the first group member can loot the chest again using the same keys and taking the same items (because the items are respawned or the chest isn't deleted). And this can happen over and over again, until they get borred.
For a better understanding I will post an exploit screen from my server:
Image link
I've searched on many git hubs and even on trinity core in order to find a fix for this major exploit, but I haven't found anything. I've even tryed to implement some custom fixed, but those didn't work either.
Maybe some of you will take a look at this problem and find a solution. Loot chests are important because many encounters from Northrend and escpecially Ulduar use this type of loot.