Decliner

Automatically declines common player interactions

File Details

7.2.5.170617.1

  • R
  • Jun 17, 2017
  • 32.13 KB
  • 159
  • 7.2.5
  • Retail

File Name

Decliner.zip

Supported Versions

  • 7.2.5

====================
Jun 17, 2017 at 00:56 UTC

  • more robust frame pool, now relying on it for clearing decline blocks instead of a 0.05 sec delay
  • now including whispers in DeclinerQuery()
  • directly taking over UIErrorsFrame boolean function to filter duel and trade messages, as well as filtering LibSink
    • at some point in the past, pet duel declined messages stopped showing
  • various changes and reorganization

====================
Jun 02, 2017 at 03:04 UTC

  • IsInGroup() is apparently not reliable, it has returned false while in a group, so removed it and IsInGuild() and am now relying on group and guild counts above 0 to determine group and guild status
  • redundant group accounting using join/leave messages, ensuring the group is properly stored in memory
  • similar refinements to friends and bnet storage
  • added DeclinerQuery() to query Decliner's memory of players, more info at the top of dclcore.lua
  • fixed specific/account setting saves, specific data will be wiped
  • refined pattern stripping
  • normalization of name-realm data
  • frame pool for sound filtering
  • more verbose log entries
  • various minor changes
  • keeping only the last 10 versions in changelog

====================
May 01, 2017 at 12:19 UTC

  • removed all dropdown code due to raidframe taints, replaced with custom popup menu
  • new account/character settings option, defaults to account
  • "Battle.net" is now "Blizzard Services"
  • expanded error for DeclinerAllowed()
  • account for 255 character limit in log messages
  • use ValueToBoolean for CVAR_UPDATE
  • improved sound easter egg by effectively future-proofing available sounds, ensuring a sound is always played, and a live tooltip
  • removed interface options double hack
  • other minor changes

====================
Sep 15, 2016 at 20:52 UTC

  • if a number is used to trigger open invites, it now only counts in a message by itself
    • there were a bunch of false positives with the default "1" provided, such as in item links and talking about the 7.1 patch
  • fixed error when client sound is off

====================
Aug 29, 2016 at 02:55 UTC

  • now tracking group, guild, and all friends locally, and independently of allowed checks, leading to much faster declined decisions
    • only online players are tracked
  • due to a much faster bouncer, hiding frames then showing them is no longer necessary
  • therefore, no longer hijacking cancel/close/decline functions from frames
  • finally, new way of blocking sounds without changing any blizzard frames
  • the changes above ultimately fix the general blame taint issue in #6 since Decliner no longer touches any blizzard frames
  • now tracking realms, uniquely identifying players
  • addon loaded message now compatible with !sh
  • DeclinerAllowed now raises a defined error if the first argument is not a string
  • DeclinerPlayerTrack is now a function named DeclinerTrack
  • refined loading process
  • more visual feedback when disabling options
  • rearranged option columns (the action columns such as all the channel invite options, duel request options, etc)
  • another pass at UIErrorsFrame and system message filtering efficiency
  • myriad of other minor changes

====================
Jul 19, 2016 at 22:01 UTC

  • removed WoD compatibilities, now fully updated for legion
  • more code reformatting
  • string and filtering efficiency for chat messages and open invites
  • transparency note for usage of CHATMSGADDON due to recent problems with scammers
  • simple fix for option commands not opening the correct addon options panel instead of double workaround
  • sound easter eggs now tell you the sound id they played in their tooltip, along with an icon to reflect if it exists or not

====================
Jul 04, 2016 at 02:35 UTC

  • fixed bug that may allow some interactions if one was in a party
  • fixed intermittent error with declined trades
  • major reformat of entire code to localize as many elements as possible
  • reorganized whisper and spam tracking, information now available in the DeclinerPlayerTrack table
    • code comments for DeclinerAllowed and DeclinerPlayerTrack fleshed out and now located at the top of dclcore.lua
  • more elaborate debugging, now with a log viewable in the savedvariables file. to view ingame, /dump Decliner_SV.log
  • no longer relying on Ambiguate()
  • simplified UIINFOMESSAGE filtering
  • now printing notification if someone invites you while you're in a group, spam controlled normally. the "in a group" message was already blocked before if it came from a stranger

====================
Jun 17, 2016 at 01:14 UTC

  • Legion compatibility: Blizzard's block options now in social tab, texture coloring, and UIINFOMESSAGE args
    • version incremented to 7.0.0 but interface still at 60200 until Legion drops, enable out of date addons for beta usage
  • using checkmarks and crosses in options to reflect enable/disable actions
  • brought back name saving to keep ui info message blocking efficient, but system message filtering is still independent
  • updated all localizations, including uniquely identifying name and guild/channel so translations that reverse them no longer need hardcode
  • added ptPT locale (not sure if it's even used, or ever will be, but found it while viewing data files)
  • localized addon description
  • minor label bug in ruRU clients
  • other minor code changes

====================
Jun 05, 2016 at 00:01 UTC

  • now handling chat channel invites
  • now recognizes party and raid members
  • new group of objects in the options page to edit the list of open invite words, as well as a dropdown menu to select which channels to watch for your words
  • debug printing now fully operational
  • no longer saving names, everything operates independently as actions happen
  • fix truncating of realm names with apostrophes in them
  • polished options frame, with visible actions for the three disable checkboxes
  • streamlined options creation, cutting down on a few hundred lines of code
  • tons of minor code tweaks

  • (note: I do not have beta access (yet) but from the code I've seen, Decliner should work fine. Don't forget to report bugs.)

====================
Apr 01, 2016 at 21:48 UTC

  • fix error with chat messages when decliner's actions are disabled for an event