What's new

[3.3.5] [TrinityCore] auto loot creature on kill script

edes

Trial Member
3
2019
4
This script will add server-side auto looting. This means that when you kill a creature, it is automatically looted without the player having to right-click it.
Right now, it only works when the player is not in a group. The reason being is that group looting is a bit more complicated than solo looting, so I will try and implement this in the next release.

Here's the C++ code:
https://pastebin.com/ZdFD6Qdh
I'm not very knowledgeable when it comes to Trinity, so any input on what I did wrong is appreciated. I'm open to any feedback when it comes to the code.

If anyone uses this, please report any bugs on this thread. :)
 

chyssler

Trial Member
2
2021
0
I have 1 issue with this script. it works overall, but i get wow error ( server crashes ) when entering a instance / raid. when looted custom currency. Do i need to add something in the script? or just keep it as it is?
 
Top