File Details
6.2.4.160604.1
- R
- Jun 5, 2016
- 28.75 KB
- 281
- 6.2.4
- Retail
File Name
Decliner.zip
Supported Versions
- 6.2.4
====================
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
====================
Mar 23, 2016 at 03:24 UTC
- bnet function changes in 6.2.4
- globalized the allowed function as DeclinerAllowed("playername"), more info in code comments
- this allows you to check, for your own purposes, if you whispered a toon recently or if they're a guildie, friend, or on bnet
- handful of minor changes, including some debug code
- beginning parts to supporting chat channel invites and checking for group members
====================
Jan 19, 2016 at 01:43 UTC
- fixed an issue where a decline didn't actually happen if the inviting player is in a group finder premade
- added some debug printing
- .2 is for a minor error
====================
Jan 09, 2016 at 22:07 UTC
- now tracking character name from recent interaction per different event instead of just one variable for the entire addon
- slight adjustment to player link pattern
- now blocking "already in a group" message if a character that would've been declined tries to invite you while you're in a group
- give duels and pet duels the same fix as group invites if another addon acts before decliner can
- adjusted trade declined message to include realm if present
- really simple workaround to the InterfaceOptionsFrame_OpenToCategory bug, no longer requiring BlizzBugsSuck
- minor changes
====================
Jan 01, 2016 at 05:54 UTC
- minor error
- localization update
====================
Dec 31, 2015 at 03:14 UTC
- new logic to allow any invites when you say "invite"/"inv" or "portal"/"port" in any of the six recognized public channels: emote, say, yell, general, trade, and lookingforgroup. LFG is not an official channel but it is active on most servers, and emote is for RPers. This effect is automatically disabled when you join a group, change zones, or after 5 minutes from the last time you said one of the words. I will look into localizing these words, but these are some of the few english words known globally in the game. If it is requested, I'll add localized variants.
- fixed error when another addon autoinvites or autodeclines before Decliner can act on the invite
- simplified bouncer logic, local Ambiguate no longer necessary
- minor code change to saved variables, causes options to reset to default
====================
Nov 19, 2015 at 05:41 UTC
- removed the update frame (the thing that posted "Okay" or "Cancel" in the bottom right portion of the screen)
- reorganized variable table to "match" localization variables and tweaked saved variable reading
- created local Ambiguate function because Blizzard's doesn't force a realm (fixes trades not being allowed)
- minor logic adjustments
- fixed issue with xrealm group invites not being declined
- minor options panel streamlining
====================
Nov 14, 2015 at 11:47 UTC
- curse addon dependency push
====================
Oct 31, 2015 at 21:12 UTC
- fixed issue with allowing interactions with battle.net friends
- fixed recursive enabling of blizzard's "block guild invites" option (really fixed in .2)
====================
Sep 20, 2015 at 20:34 UTC
- fixed first use bug with global variable
- localization update and minor string organization
====================
Aug 30, 2015 at 01:49 UTC
- the dangers of being lazy with "replace all"
- minor code changes
====================
Aug 29, 2015 at 03:35 UTC
- localizations for Korean, Russian, and Chinese (both simplified and traditional)
- uploaded all the localizations to curseforge if anyone wants to help review/edit
- removed the interface options fix. i suggest you install BlizzBugsSuck if you want that.
- lots of code cleanup, reorganization, and var/string changes
====================
Aug 25, 2015 at 02:36 UTC
- more minor code adjustments and an error in pattern matching
- fixed possible issue with system message filtering
- locale adjustments
====================
Aug 23, 2015 at 02:51 UTC
- new timed triggers for both chat notifications and players last whispered, allowing a certain notification some time after it last happened (unique to each action and player, for spam purposes) and revoking authorization for players you last whispered after some time (so someone you last whispered doesn't bother you with a random invite hours later in the same play session).
- some code adjustments and cleanup, including proper table copying versus the ignorant reference pointing i was previously doing, which caused default values to be overwritten and break the options page.
- 6.2.0.150823.2 is for a zip fail. apparently i've been adding new files to the zip, like core.lua and already obsolete globals.lua, instead of replacing the zip.
====================
Aug 16, 2015 at 03:51 UTC
- options page is now instant, with the cancel button reversing any changes. memory usage isn't bad compared to other addons. seems to be around 110-120KB.
- spam trigger for chat messages. if someone is spamming you with anything Decliner blocks and the Decliner message is the last thing printed to the chat window, no more notifications of the decline will occur. i plan on expanding this so that any Decliner message still visible in the chat window lines won't be printed again, if it's possible.
- variable usage and optimization, reducing global usage down to only the saved variable
- large optimization of player check, such as reducing tell/guild/friend/bnet down to one function and removing another entirely in favor of a single Blizzard function.
====================
Aug 10, 2015 at 03:54 UTC
- now blocking pet-battle duel requests
- new way of silencing and hiding staticpopups (duel, pet-battle duel, and group invites) and trade/petition windows. they should never popup if the action will be declined.
- the guild invite sound is not declared anywhere in the public-facing interface code, so the only way to mute that is to turn off SFX just long enough (currently set to 0.5 sec) to "absorb" the sound play. sounds won't play when SFX is off, but if played before turning SFX off, they are still playing when turned back on. that "level up" sound is 4 seconds long.
- new "disable all messages" and "disable decliner" options. first one ensures Decliner never prints anything to chat, including the "addon loaded" message. second one removes all interaction with the interface, rendering Decliner inert, as if you disabled it from the addon list.
- fun little click experiment on the "guild invites from guild members" checkbox. it will play almost any random sound (including music) from the entire game by choosing a random number from 1 to 50000. sound/music ids go up to 50973, but i rounded down to 50000. every time you click it, it stops the previous sound. i may turn the settings into instant clicks instead of checking boxes then clicking okay, with cancel undoing what you clicked. setting 37/38 frame scripts might be noticeable in performance though, so may need to shift the options out to on-demand.
- full localization for all non-asian languages. still haven't looked into how to paste the asian characters.
- adjusted the interface options fix to global.
====================
Jul 27, 2015 at 02:58 UTC
- go back to just hiding popups right before declining. popups will sometimes briefly show (like milliseconds) but it's really the only way without something complicated or hooking/replacing blizzard's stuff. i'd rather keep this addon as non-invasive to other code as possible.
- .2 and .3 were for fixing some nil issues i didn't catch.
- tagging as release. i have limited testing available, but everything should work.
- still need to fully localize. i think the hodgepodge of blizzard global strings is pretty funny, but not sure if i want to keep it that way.
====================
Jul 27, 2015 at 01:01 UTC
- new way to hide StaticPopups but show them if the action isn't declined
- minor code cleanup
====================
Jul 26, 2015 at 12:14 UTC
- hodgepodge of localized values mostly using Blizzard's global strings, ~95% done with latin-based localization
- unable to paste asian characters, may look into keyboard/language settings in the future
- adjusted options page to look neater and smaller
- use AddMessage instead of MessageHandler (addon conflict due to hooking)
- sort of fixed error when a non-stranger tries to duel or invite you to a group (popup may blink in real quick for an autodecline)
====================
Jul 26, 2015 at 04:01 UTC
- first upload