Download
(2Kb)
Download
Updated: 11-28-20 04:30 PM
Pictures
File Info
Compatibility:
Shadowlands patch (9.0.2)
Shadowlands pre-patch (9.0.1)
Updated:11-28-20 04:30 PM
Created:02-03-15 04:23 PM
Downloads:3,794
Favorites:12
MD5:

Loot Message Filter

Version: 0.92
by: fremion [More]

This simple addon filters loot messages from other players in your group, based on item quality.

It can effectively prevent loot spam such as junk items, broken bones, lovely charms, mage food, common items, quest items, etc.

By default, it hides loot messages from group members below Uncommon.
Threshold is modified using the /lmf command and saved per character.
Examples: "/lmf 0", "/lmf poor", "/lmf common", "/lmf 1"

The available threshold settings are as below:

0 = Poor (No filtering)
1 = Common
2 = Uncommon
3 = Rare
4 = Epic
5 = Legendary
6 = Artifact
7 = Heirloom
8 = Filter all

v0.92
Almost complete rewrite
Improved method for filtering.
Improved method for differentiating group's loot messages from player's own loot.
Improved slash command.
Threshold value saved per character.

v0.90
TOC bump

v0.72
Update TOC to 70300
Added slash command (/lmf) to change minRarity in game

v0.71
Fixed the folder structure inside the zip file

v0.7
TOC bump

v0.5
TOC bump
fixed the issue with caged battle pets

v0.4
TOC bump
Added proper info in toc file to let wowinterface know the version.

v0.3
instead of player name, now it uses action string. should definitely be working now. tested and approved.

v0.2
fixed some code to comply with syntax requirements, it should be working now.

v0.1
initial release
Optional Files (0)


Post A Reply Comment Options
Unread 07-19-23, 11:10 PM  
Threnode
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 2
Uploads: 1
Per Channel

Hey! I use this addon! I just wanna be able to adjust the threshold per chat tab. Is that doable?
Last edited by Threnode : 07-19-23 at 11:12 PM.
Report comment to moderator  
Reply With Quote
Unread 06-22-21, 03:47 PM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 101
Uploads: 0
will this work in classic or bc classic?

the constant loot messages for grey or white items is annoying.

if it doesn't work on either of the above, can you please make a compliant version?

thanks

edit: i have set the loot priority to 3, supposedly picks up blue and above, but everything shows still
Last edited by txamethyst : 06-26-21 at 12:11 PM.
Report comment to moderator  
Reply With Quote
Unread 01-05-21, 03:14 PM  
Solann
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Originally Posted by fremion
Originally Posted by Solann
Hello! When I issue the prescribed "/lmf #" command, nothing happens except the Interface Options Frame (Tab 2, addon options list) is opened. What am I doing wrong?

No LUA errors.
Hi, you might be using another addon registering the same "/lmf" command. Could you please try "/lootmessagefilter #" as an alternative?

You should use like; "/lootmessagefilter 3" or "/lootmessagefilter rare"

Please let me know of the outcome.

FYI, the next version will utilize the interface options and it will be much easier to configure.
Great guess! Yes, another addon had registered the /lmf command. I hadn't even stopped to consider Blizz might allow conflicting slash commands. Thank you so much.
Report comment to moderator  
Reply With Quote
Unread 01-05-21, 12:17 PM  
fremion
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 4
Originally Posted by Solann
Hello! When I issue the prescribed "/lmf #" command, nothing happens except the Interface Options Frame (Tab 2, addon options list) is opened. What am I doing wrong?

No LUA errors.
Hi, you might be using another addon registering the same "/lmf" command. Could you please try "/lootmessagefilter #" as an alternative?

You should use like; "/lootmessagefilter 3" or "/lootmessagefilter rare"

Please let me know of the outcome.

FYI, the next version will utilize the interface options and it will be much easier to configure.
Report comment to moderator  
Reply With Quote
Unread 01-05-21, 12:07 PM  
Solann
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Hello! When I issue the prescribed "/lmf #" command, nothing happens except the Interface Options Frame (Tab 2, addon options list) is opened. What am I doing wrong?

No LUA errors.
Report comment to moderator  
Reply With Quote
Unread 11-29-20, 09:50 PM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Originally Posted by fremion
I see.. The addon has not been intended to filter messages from self loot. But after the recent improvements in the code, I can implement this easily and efficiently. Please give me around a week.
]
Oh, I didn't realize it wasn't intended to hide my own grays. I'm sorry about the confusion. Tyvm for explaining and for the update!

I'll apply the fix you mentioned. Thank you again!
Last edited by Aisenfaire : 11-29-20 at 09:54 PM.
Report comment to moderator  
Reply With Quote
Unread 11-29-20, 06:56 AM  
fremion
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 4
I see.. The addon has not been intended to filter messages from self loot. But after the recent improvements in the code, I can implement this easily and efficiently. Please give me around a week.

Background: When I developed the addon about 7-8 years ago, the default UI was already allowing players to choose the minimum threshold for self loot chat messages. But the spam from other players' actions were an issue, especially during the festive times (e.g., lovely charms). Besides, I was not interested in the junk items looted by my friends, thus I developed the code and made it public after a few years.

For now, if you'd like this functionality please change the line 16 from the latest version from:
Code:
if itemRarity and (itemRarity < minRarity) and (looter ~= activeplayer) then
to:
Code:
if itemRarity and (itemRarity < minRarity) then --and (looter ~= activeplayer) then

I am planning to implement this functionality in a more proper way with slash commands and different self/group thresholds in the coming days.

Originally Posted by Aisenfaire

Hello!

No, I was alone. It was my own gray loot I saw in Torghast.

I also saw more gray loot earlier in a dungeon, but this one I can't remember if it was my own or the group's.

This was with LootMsgFilter v0.92.1b.
Report comment to moderator  
Reply With Quote
Unread 11-29-20, 02:32 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Originally Posted by fremion
Again, thank you very much for the feedback.

I checked the code and did a ton of improvements to make it more efficient, eye candy as well as future proof. As far as I could test, it seems to be working. But I have not made it to Torghast myself yet, hence no testing there.

A quick question: when you say that you continue to see loot messages for gray items, you mean the loot messages from group members, right?

Originally Posted by Aisenfaire
Hello!

Trying it now. I set the loot filter to 1 while I was in Torghast midway. There are no errors, but it doesn't seem to be working. I'm seeing gray items listed in chat.

Hello!

No, I was alone. It was my own gray loot I saw in Torghast.

I also saw more gray loot earlier in a dungeon, but this one I can't remember if it was my own or the group's.

This was with LootMsgFilter v0.92.1b.
Last edited by Aisenfaire : 11-29-20 at 02:34 AM.
Report comment to moderator  
Reply With Quote
Unread 11-28-20, 04:51 PM  
fremion
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 4
Again, thank you very much for the feedback.

I checked the code and did a ton of improvements to make it more efficient, eye candy as well as future proof. As far as I could test, it seems to be working. But I have not made it to Torghast myself yet, hence no testing there.

A quick question: when you say that you continue to see loot messages for gray items, you mean the loot messages from group members, right?

Originally Posted by Aisenfaire
Hello!

Trying it now. I set the loot filter to 1 while I was in Torghast midway. There are no errors, but it doesn't seem to be working. I'm seeing gray items listed in chat.
Report comment to moderator  
Reply With Quote
Unread 11-27-20, 03:17 AM  
fremion
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 4
Hi!

Many thanks for reporting the error.

I have not stepped into Torghast yet. I was still thinking about which class to main in SL while leveling all of them at the same time, lol Thus I was not aware of the issue.

Anyway, looking at the code, I see that I could have done a better job in the first place. I am planning to fix the add-on at the earliest in a future-proof way. But, I cannot verify&confirm the solution until I can actually test it in Torghast, which will be around 10 days.


Originally Posted by Aisenfaire
Hello!

I received the following error while in Torghast (the campaign part of it while leveling). I have the filter set to 1 (hiding grays).
[/code]
Report comment to moderator  
Reply With Quote
Unread 11-27-20, 12:02 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Hello!

I received the following error while in Torghast (the campaign part of it while leveling). I have the filter set to 1 (hiding grays).

Code:
8x LootMsgFilter\LootMsgFilter-0.90.lua:5: Usage: GetItemInfo(itemID|"name"|"itemlink")
[string "=[C]"]: in function `GetItemInfo'
[string "@LootMsgFilter\LootMsgFilter-0.90.lua"]:5: in function `filterFunc'
[string "@FrameXML\ChatFrame.lua"]:3488: in function `ChatFrame_MessageEventHandler'
[string "@FrameXML\ChatFrame.lua"]:3063: in function <FrameXML\ChatFrame.lua:3056>
[string "=[C]"]: in function `ChatFrame_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals:
(*temporary) = nil
Last edited by Aisenfaire : 11-27-20 at 12:04 AM.
Report comment to moderator  
Reply With Quote
Unread 06-29-18, 05:04 AM  
fremion
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 4
Originally Posted by Firedancer
Originally Posted by bsmorgan
Originally Posted by txamethyst
I really wish this worked solo.
What do you mean by solo?
I would imagine they mean to have it filter their loot as well as party/raid members. So when soloing, your chat window with loot doesn't have a ton of entries for grey/white items, etc.
As far as I remember, solo filtering was already possible without any addons.
Report comment to moderator  
Reply With Quote
Unread 02-15-18, 01:33 PM  
Firedancer
An Aku'mai Servant
 
Firedancer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 59
Uploads: 2
Originally Posted by bsmorgan
Originally Posted by txamethyst
I really wish this worked solo.
What do you mean by solo?
I would imagine they mean to have it filter their loot as well as party/raid members. So when soloing, your chat window with loot doesn't have a ton of entries for grey/white items, etc.
__________________
(\ /)
( . .) <( if you say 'plz' because it's shorter than 'please' then I'll say 'no' because it's shorter than 'yes' )
c('')('')
Report comment to moderator  
Reply With Quote
Unread 09-08-17, 10:23 AM  
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 219
File comments: 158
Uploads: 3
Using my new powers (Thanks fremion), I have uploaded 0.72. The patched file will be deleted.
Last edited by bsmorgan : 09-08-17 at 10:39 AM.
Report comment to moderator  
Reply With Quote
Unread 09-08-17, 02:06 AM  
fremion
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 4
Originally Posted by bsmorgan
I uploaded a patched .zip file that adds a "/lmf" slash command handler to change the rarity in game so you don't have to edit the source file. Also updated the TOC to 70300 and changed the default to 2, uncommon.

This is really helpful for the new 7.3 fishing friends.
omg! I am very surprised and pleased to see that someone liked my little addon, to the extent of taking time to improve it
I am not playing wow nowadays, but I may come back for 8.0
I am adding you to the addon team list. Please feel free to update it as you please. If you do not want to be in the list, please do not hesitate to ping me here and I will remove you.

Thank you
Last edited by fremion : 09-08-17 at 02:11 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: