There is some problem now since you changed it to be a real . command. I can't use .guild anymore for example, when I use your lua script.
Yea that was a mistake I made with the command, I almost fixed that right after I updated the script.
Seems like you took the script before I fixed it though xd. Replacing your script with this one will fix it.
Last edited by Rochet2; 01-29-2015 at 02:56 PM.Awards:
Yea they don't block the C++ commands. However I forgot to include a check,
to see if the loot command was used. So on any other command (other than the C++ ones) you used,
it would use my script xd..
By the way, is this only logging when a player is grouped or in a raid? Because it looks so actually.
No, it should log every item a player loots. Like if I loot something on my local server,
(without being in a group) it logs that item and the item count.
It uses the loot hook documented here: http://eluna.emudevs.com/Global/Regi...ayerEvent.html
However this loot hook might behave differently on Mangos than it does on Trinity, I don't know this for sure though.Code:PLAYER_EVENT_ON_LOOT_ITEM = 32, // (event, player, item, count)
A good way to check it, is by making a new char and loot something. Then target yourself and use the command
(by default: .char loot) and see if the item you looted is logged.
There are currently 1 users browsing this thread. (0 members and 1 guests)