Download
(8Kb)
Download
Updated: 11-21-08 12:52 PM
Pictures
File Info
Updated:11-21-08 12:52 PM
Created:10-23-08 11:38 AM
Downloads:3,288
Favorites:40
MD5:

AntiSocial

Version: 3.0.3-1 alpha
by: ShaneSveller [More]

This LDB addon will block:

  • Duel requests (on by default)
  • Party invites (off by default)
  • Guild invites (off by default)
  • Petitions (guild/arena) (on by default)
  • Trade requests (off by default)

Each can be toggled by clicking on the LDB display. The tooltip lists the click- and key-combinations to do so. Simple and no-frills. Only notifies you, no polite whisper. Uses about 15KiB of memory for me.

I wrote this to replace the blocking functionality of LeaveMeAlone for a ~95% memory usage savings and getting rid of FubarPlugin-2.0.

In order to use this addon you'll need a LibDataBroker display like Fortress or ButtonBin.

3.0.2-1b -> 3.0.3-1a
-----------------------

* Will not process party invites or trade requests from friends or guildies
From frayol's suggestions:
* Fixed Duel-blocking - thanks for pointing out the missing RegisterEvent, frayol, was already fixed in my local copy
* Changed wording on tooltip to used colored "Blocked" or "Unblocked"

TODO: Allow trade invites, etc. from party members
Post A Reply Comment Options
Unread 05-06-09, 11:16 AM  
Wizardling
A Kobold Labourer
 
Wizardling's Avatar
Premium Member

Forum posts: 0
File comments: 119
Uploads: 0
Unhappy No longer seems to work with Carousel.

Broker_AntiSocial no longer shows up in Carousel's 'Data Feeds' settings tab.
Report comment to moderator  
Reply With Quote
Unread 05-06-09, 01:02 PM  
Wizardling
A Kobold Labourer
 
Wizardling's Avatar
Premium Member

Forum posts: 0
File comments: 119
Uploads: 0
Exclamation Re: No longer seems to work with Carousel.

Originally posted by Wizardling
Broker_AntiSocial no longer shows up in Carousel's 'Data Feeds' settings tab.
===================================
File: Carousel
Commenter: Astromech
Subject: Re: Broker_AntiSocial's feed no longer shows up in Data Feeds
-----------------------------------

I just looked at Broker_AntiSocial's code, and it doesn't set a type for its broker feed. Carousel only displays plugins which have type "data source" or "launcher" (this is because, there were some other types being created which would not be compatible with Carousel).

It's an easy fix. The author just needs to add

Code:
type = "data source",
at line 2.

-----------------------------------
Link: http://www.wowinterface.com/download...10295#comments
Report comment to moderator  
Reply With Quote
Unread 06-03-09, 02:33 PM  
Borrie
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 16
File comments: 43
Uploads: 5
Broker_AntiSocial no longer shows up in DockingStation (Display).

Any idea how to put it back in there?

Thanks.

Greetings
Report comment to moderator  
Reply With Quote
Unread 06-11-09, 01:12 AM  
Frayol
A Deviate Faerie Dragon
 
Frayol's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 127
Uploads: 4
Originally posted by Borrie
Broker_AntiSocial no longer shows up in DockingStation (Display).

Any idea how to put it back in there?
First up, have you enabled it? IIRC DockinStation sets the default state for everything to off in order to avoid a cluttered initial display. If that isn't it, then also see the below from Wizardling as that may have some bearing. I've been testing out several alternate LDB displays recently (thinking about changing from Fortress) and it's worked with ever single one. I should however note that my own copy of AntiSocial has already been modified to specify a type setting so if that is an issue with DockingStation (or any other LDB display for that matter) I would have missed it.

Originally posted by Wizardling
===================================
File: Carousel
Commenter: Astromech
Subject: Re: Broker_AntiSocial's feed no longer shows up in Data Feeds
-----------------------------------

I just looked at Broker_AntiSocial's code, and it doesn't set a type for its broker feed. Carousel only displays plugins which have type "data source" or "launcher" (this is because, there were some other types being created which would not be compatible with Carousel).

It's an easy fix. The author just needs to add

Code:
type = "data source",
Personally I disagree with one aspect of this as I think that the data source should be set to "launcher". There is no actual data provided and it is really just a launcher, but either way it would resolve the issue.
Report comment to moderator  
Reply With Quote
Unread 06-11-09, 01:29 AM  
Borrie
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 16
File comments: 43
Uploads: 5
Originally posted by Frayol
First up, have you enabled it? IIRC DockinStation sets the default state for everything to off in order to avoid a cluttered initial display. If that isn't it, then also see the below from Wizardling as that may have some bearing. I've been testing out several alternate LDB displays recently (thinking about changing from Fortress) and it's worked with ever single one. I should however note that my own copy of AntiSocial has already been modified to specify a type setting so if that is an issue with DockingStation (or any other LDB display for that matter) I would have missed it.



Personally I disagree with one aspect of this as I think that the data source should be set to "launcher". There is no actual data provided and it is really just a launcher, but either way it would resolve the issue.
It doesn't show up in the options of Dockingstation so I can't enable it.

I tried to use this
Code:
type = "data source",
but since I don't exactly know where to put that line it didn't work for me.
Report comment to moderator  
Reply With Quote
Unread 06-11-09, 03:26 AM  
Frayol
A Deviate Faerie Dragon
 
Frayol's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 127
Uploads: 4
Originally posted by Borrie
It doesn't show up in the options of Dockingstation so I can't enable it.
That sounds like you don't have "load out of date addons" enabled in the blizz options. You can either enable the loading of out of date addons or else, if you really want, change the interface number. To do that, go into the Broker_AntiSocial folder and open Broker_AntiSocial.toc in the text editor of your choice (notepad will do fine). The first line reads as:

Code:
## Interface: 30000
change it to:

Code:
## Interface: 30100
I tried to use this
Code:
type = "data source",
but since I don't exactly know where to put that line it didn't work for me.
To do that, open (again in any text editor) core.lua and the first few lines will look like this:

Code:
local ldb = LibStub("LibDataBroker-1.1"):NewDataObject("AntiSocial", {
	icon = "Interface\\GossipFrame\\PetitionGossipIcon.blp",
	label = "AntiSocial"
})
Change it to:

Code:
local ldb = LibStub("LibDataBroker-1.1"):NewDataObject("AntiSocial", {
	type = "data source",
	icon = "Interface\\GossipFrame\\PetitionGossipIcon.blp",
	label = "AntiSocial"
})
Hope that helps.
Report comment to moderator  
Reply With Quote
Unread 06-11-09, 03:42 AM  
Borrie
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 16
File comments: 43
Uploads: 5
Originally posted by Frayol
That sounds like you don't have "load out of date addons" enabled in the blizz options. You can either enable the loading of out of date addons or else, if you really want, change the interface number. To do that, go into the Broker_AntiSocial folder and open Broker_AntiSocial.toc in the text editor of your choice (notepad will do fine). The first line reads as:

Code:
## Interface: 30000
change it to:

Code:
## Interface: 30100


To do that, open (again in any text editor) core.lua and the first few lines will look like this:

Code:
local ldb = LibStub("LibDataBroker-1.1"):NewDataObject("AntiSocial", {
	icon = "Interface\\GossipFrame\\PetitionGossipIcon.blp",
	label = "AntiSocial"
})
Change it to:

Code:
local ldb = LibStub("LibDataBroker-1.1"):NewDataObject("AntiSocial", {
	type = "data source",
	icon = "Interface\\GossipFrame\\PetitionGossipIcon.blp",
	label = "AntiSocial"
})
Hope that helps.
I do have "load out of date addons" enabled.
Thanks for the reply, I'll be trying that when I get home from work this evening.

Greetings
Borrie
Report comment to moderator  
Reply With Quote
Unread 06-20-09, 11:01 PM  
WackyLisa
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Broker Anti-Social & Docking Station

I'm another Docking Station user.
I went to enable duel requests today and couldn't find Antisocial on my bottom right bar so I went into my DS settings...
Well, AntiSocial is listed for me by it is grayed out for some reason. (Minimap Button Frame is as well but is obviously still running as I have the box on my screen.)
Despite being grayed out my old settings are still there: enabled, pane 2, position right.
I made sure that everything is up to date and the situation is the same on my new toon and my main.
Ideas?
Thanks.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: