Addons:NoBuff

From Addons

Jump to: navigation, search

Contents

I have confirmed that NoBuff version 0.1.0 and up works on WoW version PTR 3.0.0.

Description

Automatically dispel unsolicited buffs. Unsolicited buffs are defined as: buffs that people who are not in your friends list, guild, party, or raid give you.

Slash Commands

/nb black - Add targeted player to the black list.
/nb black <player name> - Add <player name> to the black list.
/nb white - Add targeted player to the white list.
/nb white <player name> - Add <player name> to the white list.
/nb debug - Toggle debugging. (lots of UIErrorsFrame spam.)
/nb say - Toggle announcing to SAY (/s).
/nb enable - Toggle enabled.
/nb phrase <phrase> - Add a phrase to the list of random phrases. Use $R for race,
    $C for class, $L for level, $S for buff name, $T for player name, $N for your
    name. Entering the same phrase will remove it. $E anywhere in the string will
    change it to an emote.
/nb blockself - Temporarily blacklist yourself. You are removed when you reload or relog.

Change Log

Moved


Version 0.1.1 (talk)


  • Updated TOC for interface 30000.


Version 0.1.0 (talk)


  • Fixed for PTR 3.0.0. Should be backward compatible.
  • I've removed the "beta" status.
  • Fixed a bug I discovered while testing on the PTR (default is disabled instead of enabled).


Version 0.0.8b_ (talk)


  • Added phrases and black/white list to Khaos config.
  • Added an option to temporarily blacklist yourself for debugging purposes.
  • Added variables to phrases (/nb for details).
  • Adding the same phrase twice will remove it.
  • Adding to the black/white list is no longer case sensitive.


Version 0.0.7b (talk)


  • Added "enable" slash command.
  • Added slash command help.


Version 0.0.6b (talk)


  • Added black/white list.
    • Buffs from blacklisted players will always get dispelled. Even if he is in your guild.
    • Buffs from whitelisted players will never get dispelled.
/nb black - Add targeted player to the black list.
/nb black <player name> - Add <player name> to the black list.
/nb white - Add targeted player to the white list.
/nb white <player name> - Add <player name> to the white list.
  • Made enabled/disabled more efficient. If enabled, the frame is visible and the COMBAT_LOG_EVENT_UNFILTERED event is registered. If disabled, the frame is hidden and the COMBAT_LOG_EVENT_UNFILTERED event is unregistered.


Version 0.0.5b (talk)


  • A buff given to you by a player or NPC you are targeting will not get dispelled. This should help prevent (not stop) NoBuff from dispelling NPC buffs. Also, if you want a player to buff you, you can target him and ask for the buff again.
  • Players on your friends list will be allowed to buff you.


Version 0.0.4b (talk)


  • Not hiding the frame. If buffs come too fast the frame doesn't show again until it's too late.


Version 0.0.3b (talk)


  • Added more phrases to say when receiving an unsolicited buff.
  • Changed the manner in which I cycle through the buffs (UnitBuff() instead of GetPlayerBuff()).
  • Using UnitName(<player name>) to see if the player is in your party/raid. The function fails if <player name> is not in your party/raid. Unless there's a player named "Player," I don't think it'll be a problem doing it like that.
  • Moved "Say" functionality out of the OnUpdate handler because it would not fire since the script was checking for the removal of the buff in the same frame and it would be canceled on the next frame.
  • The frame hides itself after cycling through the queue (if it's empty) and shows itself when adding to the queue. This keeps the OnUpdate script from constantly running while there's nothing to do.
  • Changed Guild checker to only check online players. Seems kinda pointless to check offline members since they could not possibly be buffing you.
  • Fixed these known issues:
    • NoBuff tries to dispel debuffs.
    • NoBuff announces when you get a debuff.


Version 0.0.2b (talk)


  • Added Khaos configuration.
  • If enabled, you will speak when buffed. For now, it's "Haha!! You can't buff me!!"


Version 0.0.1b (talk)


  • Beta release.
  • Debugging is on in this version.
    • Debug data is stored in the global SavedVariables file.


Notice

Known Issues

  • I'm still testing this.
    • I still haven't fully tested party/raid/guild/friend functionality.
  • Sometimes it works and sometimes it doesn't.
  • Since there's no source name for buffs received from other players, NoBuff has to make a guess, so it's possible, though I have not seen it, that NoBuff will dispel the wrong buff. It's also possible that buffs that you give to yourself will get dispelled.
  • NPC buffs get dispelled if you are not targeting said NPC.
  • Any other issues should be addressed on the talk page.
  • Default is disabled (doesn't work out-of-the-box without typing "/nb enable"). Fixed in v0.1.0

Download


Last edited by Treader on 15:52, 3 November 2008.
View Count: 444.
Times Edited: 18.
Personal tools
ads
Categories
customize
MediaWiki Extensions
wow help