Download
(6 Kb)
Download
Updated: 03/27/23 09:49 AM
Pictures
File Info
Compatibility:
Scribes of Fate (8.3.5)
Updated:03/27/23 09:49 AM
Created:07/25/22 12:49 PM
Monthly downloads:144
Total downloads:6,981
Favorites:26
MD5:
Shut Yer Trap - Mute NPCs  Popular! (More than 5000 hits)
Version: 37.1
by: remosito [More]
Some of the NPC say/yells started to annoy me. So I tried a couple addons. But they shut up most NPCs and the game started to feel empty to me.

So instead this Addon keeps track of the last 20 NPC yell/say (Struga,...) and allows you to mute selected dialogues by an NPC. Or all their Voice Overs.

This only works for NPC yell/say. Not for Quest Giver Interface Voice Over.

Requires Lib-AddonMenu-2.0


Disclaimers:
- I have not tested this with 100s of muted dialogues/NPCs so no guarantee about performance in this case. Would be suprised though if it were an issue.
- In the background this works by setting the volume of the VoiceOver audio channel to 0 for a calculated duration based on dialogue length. If another NPC dialogue starts or is ongoing during this period. It will be muted too. If my formula calculation gives to short a duration. The end of the muted conversation would be heard again.
37.1
- minor fix
- switch to better event for vo volume reset

37.0
- API bump
- VO Audio level sometimes staying at 0 hopefully fixed for good

36.0
- multiple fixes

35.9
- found and fixed rare-ish nil error

35.7
- New Feature: Unmute previously muted NPC/Dialogue

35.5
- should now be compatible with pchat, rchat

35.4
- left debug printout in 35.3..sorry guys and gals

35.3
- require min version for libaddonmenu (thanks baertram)
- muted chatter is now suppressed in chat too

35.2
- Hint to edit saved vars file to unmute or see list of muted dialogues
- Now supresses subtitles in addition to audio

35.1
- fixed bug where muting two NPCs in close succession resulted in VO volume being set to 0 permanently

35.0
- Initial Version for U35
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Uploader
Date
37.0
6kB
remosito
03/19/23 10:30 AM
37.0
6kB
remosito
12/20/22 07:50 AM
35.9
6kB
remosito
08/08/22 10:41 AM


Post A Reply Comment Options
Unread 12/10/22, 07:28 PM  
Tes96
 
Tes96's Avatar

Forum posts: 2
File comments: 35
Uploads: 0
Question Addon is great! But error with Hooded Figure

I found out about this addon from the ESO forums. Oh god how nice it is to not have to hear "Here ye card sharks and card collectors" ever again, or Stuga the orc.

I got an error with the Hooded Figure. Can you look into this?



Report comment to moderator  
Reply With Quote
Unread 12/05/22, 04:41 AM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
Howdie,

apologies. Was busy with U36 and new antiquity location and some changes to displayleads. Never noticed your previous post...


Somebody had that could not create dropdown error. But never got back with if or how it got fixed.

I am not getting it. So must be something local on your end. Probably interactions with other addons.

some of the errors you posted are from advancedfilters. My Addon is not using that. Nor is libaddonmenu.
So those errors are not from my Addon.

Maybe they are the cause of bad interaction that then cause the LAM2 (libaddonmenu) error?

Try getting that one fixed first?

One previous case with shutyertrap error was some other addon had their own libaddonmenu version that got loaded instead of the official one. Maybe check for that.

Had a look at NPCMuter. And at first sight it looks like some NPCs use an additional voice channel that needs to be muted... Thanks a bunch for the hint. will have a more detailed look at it and hopefully a got at it once U36 displayleads work is done. Todays patch hopefully fixes the remaining lead drops...

cheers

Originally Posted by NeuroticPixels
Lua Code:
  1. [04:54] [04:54] [AdvancedFilters] ERROR - ApplyFilter: FilterType at inventory '1'  was nil!
  2. Tag 'AF_ButtonFilter', button 'All', filterType: 'nil', groupName: 'All'
  3. [04:54] [04:54] ===============================================
  4. [04:54] [04:54] [AdvancedFilters]AF_FilterBar:ActivateButton: All
  5. [04:54] [04:54] >ERROR - filterPanelId is NIL!
  6. [04:54] [04:54] ===============================================
  7. [04:54] [04:54] [LAM2] Could not create dropdown 'Muted NPCs' of Shut Yer Trap.
  8. [04:54] [04:54] [LAM2] Could not create dropdown 'Muted Dialogue' of Shut Yer Trap.

Is this ever going to get fixed?
Report comment to moderator  
Reply With Quote
Unread 12/03/22, 03:57 AM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 211
File comments: 869
Uploads: 0
Lua Code:
  1. [04:54] [04:54] [AdvancedFilters] ERROR - ApplyFilter: FilterType at inventory '1'  was nil!
  2. Tag 'AF_ButtonFilter', button 'All', filterType: 'nil', groupName: 'All'
  3. [04:54] [04:54] ===============================================
  4. [04:54] [04:54] [AdvancedFilters]AF_FilterBar:ActivateButton: All
  5. [04:54] [04:54] >ERROR - filterPanelId is NIL!
  6. [04:54] [04:54] ===============================================
  7. [04:54] [04:54] [LAM2] Could not create dropdown 'Muted NPCs' of Shut Yer Trap.
  8. [04:54] [04:54] [LAM2] Could not create dropdown 'Muted Dialogue' of Shut Yer Trap.

Is this ever going to get fixed?
Report comment to moderator  
Reply With Quote
Unread 10/23/22, 02:30 AM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 211
File comments: 869
Uploads: 0
I also got the "[LAM2] Could not create dropdown 'Muted Dialogue' of Shut Yer Trap." error in chat.
Afterwards, I couldn't properly select the NPCs from the dropdown menu to mute. I would select one, and it would mute a totally different one in the list. Bizarre.

After reloading, the dropdown menu for removing things I've muted had disappeared. Seems I'd have to log out and back in to get Shut Yer Trap to reset its settings menu.

Perhaps some chat commands could be implemented? To allow us to mute whoever we have under our cursor?
Like /fullmute or /selectivemute
or /mutenpc or /mutedialogue
and of course the /unmutenpc and /unmutedialogue

And as far as the NPCs that Shut Yer Trap can't seem to mute... I'm pretty certain the mod NPCMuter could mute them. So you might want to look at the coding for that addon? (Still works great for me. I've just had it disabled lately to try out Shut Yer Trap.) Because I would love to mute Concordia Mercius.
Report comment to moderator  
Reply With Quote
Unread 09/29/22, 08:59 AM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
Howdie,

zos uses two different kinds of npc voice mechanisms.

One my addon can catch and mute. The other not.

Never tested those npcs you mentioned.

The one that works as well puts the dialogue in chat if option is set in chat options. As well as the npc subtitles if option is enabled in audio settings..

easiest way to check which type an npc dialogue is...

cheers

Originally Posted by Axiphel
Some NPCs don't get detected in the dropdown menu so I can't mute them. Like Concordia Mercius "You there. How would you like to do something worthwhile?" or Scout Gunthe "Hold adventurer. You're the one I seek."

I tried just adding them to the savedvariables but they still talk.
Report comment to moderator  
Reply With Quote
Unread 09/28/22, 06:29 AM  
Axiphel

Forum posts: 1
File comments: 8
Uploads: 0
Some NPCs don't get detected in the dropdown menu so I can't mute them. Like Concordia Mercius "You there. How would you like to do something worthwhile?" or Scout Gunthe "Hold adventurer. You're the one I seek."

I tried just adding them to the savedvariables but they still talk.
Report comment to moderator  
Reply With Quote
Unread 09/03/22, 11:58 PM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
Glad to hear it :-)


Originally Posted by MrBluezman
Hi

Thanks - that worked. There's definitely a conflict. ArchPLG appears to hold its own copy of LibAddonMenu-2.0 so I'll try playing with the other addOn to see if I can fix the conflict.

Cheers
Last edited by remosito : 09/04/22 at 12:24 AM.
Report comment to moderator  
Reply With Quote
Unread 09/03/22, 06:13 PM  
MrBluezman

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Error

Hi

Thanks - that worked. There's definitely a conflict. ArchPLG appears to hold its own copy of LibAddonMenu-2.0 so I'll try playing with the other addOn to see if I can fix the conflict.

Cheers


Originally Posted by remosito
/AddOns/ArchPLG/lib/LibAddonMenu-2.0/ in that error makes me think ArchPLG has it's own incompatible/old copy of liabaddonmenu-2.0 included which is loaded instead of the "real"
libaddonmenu-2.0

can you try disabling ArchPLG and see if error persists?



Originally Posted by MrBluezman
Hi,

Not sure if I'm missing something simple here but I get this error for every NPC or chat I try to mute with all my characters. I've tried re-installing but still get the error

user:/AddOns/ShutYerTrap/Settings.lua:106: attempt to index a nil value
stack traceback:
user:/AddOns/ShutYerTrap/Settings.lua:106: in function 'func'
user:/AddOns/ArchPLG/lib/LibAddonMenu-2.0/controls/button.lua:63: in function 'callback'
user:/AddOns/ArchPLG/lib/LibAddonMenu-2.0/controls/button.lua:72: in function '(anonymous)'
|caaaaaa<Locals> args = [table:1]{2 = 1}, callback = user:/AddOns/ArchPLG/lib/LibAddonMenu-2.0/controls/button.lua:62 </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 09/03/22, 09:13 AM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
Re: Error

/AddOns/ArchPLG/lib/LibAddonMenu-2.0/ in that error makes me think ArchPLG has it's own incompatible/old copy of liabaddonmenu-2.0 included which is loaded instead of the "real"
libaddonmenu-2.0

can you try disabling ArchPLG and see if error persists?



Originally Posted by MrBluezman
Hi,

Not sure if I'm missing something simple here but I get this error for every NPC or chat I try to mute with all my characters. I've tried re-installing but still get the error

user:/AddOns/ShutYerTrap/Settings.lua:106: attempt to index a nil value
stack traceback:
user:/AddOns/ShutYerTrap/Settings.lua:106: in function 'func'
user:/AddOns/ArchPLG/lib/LibAddonMenu-2.0/controls/button.lua:63: in function 'callback'
user:/AddOns/ArchPLG/lib/LibAddonMenu-2.0/controls/button.lua:72: in function '(anonymous)'
|caaaaaa<Locals> args = [table:1]{2 = 1}, callback = user:/AddOns/ArchPLG/lib/LibAddonMenu-2.0/controls/button.lua:62 </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 09/03/22, 05:08 AM  
MrBluezman

Forum posts: 0
File comments: 2
Uploads: 0
Error

Hi,

Not sure if I'm missing something simple here but I get this error for every NPC or chat I try to mute with all my characters. I've tried re-installing but still get the error

user:/AddOns/ShutYerTrap/Settings.lua:106: attempt to index a nil value
stack traceback:
user:/AddOns/ShutYerTrap/Settings.lua:106: in function 'func'
user:/AddOns/ArchPLG/lib/LibAddonMenu-2.0/controls/button.lua:63: in function 'callback'
user:/AddOns/ArchPLG/lib/LibAddonMenu-2.0/controls/button.lua:72: in function '(anonymous)'
|caaaaaa<Locals> args = [table:1]{2 = 1}, callback = user:/AddOns/ArchPLG/lib/LibAddonMenu-2.0/controls/button.lua:62 </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 09/02/22, 01:30 AM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
Hi Marcus,

thanks for posting your saved variables content. I added them to mine and it all works for me. so I am afraid it might be something on your end. Unless it's how I handle savedvars for more than one account. I only have one.

Try:
- Delete first account parts from your savedvars file. Try the second account ingame.(check if its multiaccount that I messed up)
- Deinstalling, reinstalling the addon.
- Delete/Move the saved variables file
- Disable other Addons one by one (or in chunks) to track down interference



Originally Posted by Marcus

Also - Does it work by lowering the Dialog Volume? Because I've been trying to talk to other NPC's, and getting nothing. Found out yesterday that my Dialog Volume is down at zero - and I didn't put it there.
Yes. This is how it works: It temporarily sets voiceover dialogue volume to 0 for a length that is guesstimated based on the dialogue. To be more precise it sets dialogue volume to 0. Sets a timer for the lenght. Upon expiration of that timer it sets volume back to what it was before. (which is why if two dialogues are happening at the same time. One you want to mute. The other not. both will be muted. the one you dont want to only for a part of its duration if that one is longer....)


There is no other way I know of unfortunately. ZOS does not provide a way to suppress specific dialogues.


I think I finally found out why very rarely the volume gets stuck at 0. As happened to you:

muted dialogue happens. volume is set to 0. timer to unmute is starting. But before it can fire and volume be set back to previous value. game crashes or player logs out/quits....

have a couple ideas how to fix this.
Last edited by remosito : 09/02/22 at 01:37 AM.
Report comment to moderator  
Reply With Quote
Unread 09/01/22, 02:38 PM  
Marcus

Forum posts: 11
File comments: 90
Uploads: 0
Good to know about the Chatterings menu - makes sense. Yes, it still happens after a reload, even restarting the game. The only way for me to remove anyone from being Muted would be to edit the settings file - or just delete it altogether.


Also - Does it work by lowering the Dialog Volume? Because I've been trying to talk to other NPC's, and getting nothing. Found out yesterday that my Dialog Volume is down at zero - and I didn't put it there.


Guess I'll try removing it and reinstalling - can't hurt. If that doesn't fix it, it's probably one of my older addons messing with something.
Report comment to moderator  
Reply With Quote
Unread 09/01/22, 08:22 AM  
Marcus

Forum posts: 11
File comments: 90
Uploads: 0
Re: Re: Could not create dropdown

No clue where Saved Variables were, so I hacked your code and found out about ZO_SavedVars in the OnAddOnLoaded event, searched online, and found it. Here it is, though I *****'s out the account names (I checked, they were fine):




Code:
SYTVars =
{
    ["NA Megaserver"] = 
    {
        ["@*****"] = 
        {
            ["$AccountWide"] = 
            {
                ["version"] = 1,
                ["Muted"] = 
                {
                    ["Sorinne Gaerard^F"] = 
                    {
                        ["#@ALL@#"] = true,
                    },
                },
            },
        },
        ["@*****"] = 
        {
            ["$AccountWide"] = 
            {
                ["version"] = 1,
                ["Muted"] = 
                {
                    ["Sorinne Gaerard^F"] = 
                    {
                        ["#@ALL@#"] = true,
                    },
                    ["Florentia Candidius^F"] = 
                    {
                        ["#@ALL@#"] = true,
                    },
                    ["Stuga^F"] = 
                    {
                        ["#@ALL@#"] = true,
                    },
                },
            },
        },
    },
}

Originally Posted by remosito
Howdie,
thanks a bunch for the bug report :-)

That is very strange...never happened to me.. makes it hard to debug...

does the problem persist after a /reloadui? after restarting and relogging eso?

could you post your shutyertrap saved variables file?

the Chatterings buttons being greyed out after you muted all existing chatterings is normal by the way. It is only active when you have somebody or something to mute...

the unmute ones being greyed out when you have muted things is definitely not though. doubt it^s variable name typo. it would never work...might have to do with npc names and dialogues though.
hence the need for your saved vars file...

thanks a lot in advance

Originally Posted by Marcus
Shut Yer Trap is actually muting the two NPC's I added, but it acted funny when I added the second one. Menu exited entirely, and when I brought it back up to see if it actually got added, everything is grayed out. Then I see two messages in Chat (not error dialogs).


[LAM2] Could not create dropdown 'Muted NPC's' of Shut Yer Trap
[LAM2] Could not create dropdown 'Muted Dialogue' of Shut Yer Trap


When I got to another verbose NPC, I checked, and the first dialog (Chatterings) was working again, but the Unmute section is still all grayed out, even after I added a third NPC one. Guessing the list isn't parsing correctly into the dropdown - maybe a variable name typo? Pretty sure anything else would have given an error dialog.
Report comment to moderator  
Reply With Quote
Unread 08/28/22, 03:10 AM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
Re: Could not create dropdown

Howdie,
thanks a bunch for the bug report :-)

That is very strange...never happened to me.. makes it hard to debug...

does the problem persist after a /reloadui? after restarting and relogging eso?

could you post your shutyertrap saved variables file?

the Chatterings buttons being greyed out after you muted all existing chatterings is normal by the way. It is only active when you have somebody or something to mute...

the unmute ones being greyed out when you have muted things is definitely not though. doubt it^s variable name typo. it would never work...might have to do with npc names and dialogues though.
hence the need for your saved vars file...

thanks a lot in advance

Originally Posted by Marcus
Shut Yer Trap is actually muting the two NPC's I added, but it acted funny when I added the second one. Menu exited entirely, and when I brought it back up to see if it actually got added, everything is grayed out. Then I see two messages in Chat (not error dialogs).


[LAM2] Could not create dropdown 'Muted NPC's' of Shut Yer Trap
[LAM2] Could not create dropdown 'Muted Dialogue' of Shut Yer Trap


When I got to another verbose NPC, I checked, and the first dialog (Chatterings) was working again, but the Unmute section is still all grayed out, even after I added a third NPC one. Guessing the list isn't parsing correctly into the dropdown - maybe a variable name typo? Pretty sure anything else would have given an error dialog.
Report comment to moderator  
Reply With Quote
Unread 08/27/22, 08:39 AM  
Marcus

Forum posts: 11
File comments: 90
Uploads: 0
Could not create dropdown

Shut Yer Trap is actually muting the two NPC's I added, but it acted funny when I added the second one. Menu exited entirely, and when I brought it back up to see if it actually got added, everything is grayed out. Then I see two messages in Chat (not error dialogs).


[LAM2] Could not create dropdown 'Muted NPC's' of Shut Yer Trap
[LAM2] Could not create dropdown 'Muted Dialogue' of Shut Yer Trap


When I got to another verbose NPC, I checked, and the first dialog (Chatterings) was working again, but the Unmute section is still all grayed out, even after I added a third NPC one. Guessing the list isn't parsing correctly into the dropdown - maybe a variable name typo? Pretty sure anything else would have given an error dialog.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: