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,269
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 10-23-08, 03:36 PM  
PurpleWedgie
An Aku'mai Servant

Forum posts: 33
File comments: 26
Uploads: 0
Nice! I've been looking for a replacement for AutoDecline. Thank you for the addon :-)
Report comment to moderator  
Reply With Quote
Unread 10-24-08, 09:06 AM  
Frayol
A Deviate Faerie Dragon
 
Frayol's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 127
Uploads: 4
Very nice indeed. Was using LeaveMeAlone as a replacement for Denial2, but a native LDB addon is even better. Thank you, this moves me one more step closer to being able to remove FuBar2Broker (only 2 addons to replace now).
Report comment to moderator  
Reply With Quote
Unread 10-24-08, 09:43 AM  
Frayol
A Deviate Faerie Dragon
 
Frayol's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 127
Uploads: 4
I do have one feature request, or to be more precise a change request. Instead of using "yes" and "no" to show whether blocking is on or not would you consider changing this? My suggestion would be to use "Blocked" and "Allowed" and colour these words too (i.e. blocked in red and allowed in green). IMHO it would make it easier to spot what you have blocked and what you haven't.

Edit: I should add that I've made the change on my own local copy, but I do think that the colour change would be a good idea regardless of whether or not you add the text change.

On another matter, I didn't spot before that duels weren't being blocked. I think that this is down to DUEL_REQUESTED not being registered. I've modified my local copy so that it is, but haven't been able to confirm yet whether that has done the trick. In case anyone else wants to try all that is required is to add f:RegisterEvent("DUEL_REQUESTED") with the other registered events.

As an example:

Code:
f:RegisterEvent("PLAYER_LOGIN")
f:RegisterEvent("DUEL_REQUESTED")
f:RegisterEvent("PARTY_INVITE_REQUEST")
Edit 2: I can confirm that the above resolves the duel blocking now.
Last edited by Frayol : 11-02-08 at 10:12 AM.
Report comment to moderator  
Reply With Quote
Unread 11-06-08, 07:32 PM  
Kerecha
A Deviate Faerie Dragon
 
Kerecha's Avatar

Forum posts: 10
File comments: 196
Uploads: 0
Before even considering this as a replacement for autodecline:

Does it have the function to automaticly allow grp invites from ppl on friends list or in your guild?
Report comment to moderator  
Reply With Quote
Unread 11-09-08, 12:55 PM  
Josey
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Add One Click Toggle All On/Off

Add a one click toggle all on/off for the very anti-social auction house toon who does a trade or signature once in awhile.

Hunt and picking through the tooltip til it's committed to memory, but it doesn't change that much.
Last edited by Josey : 11-09-08 at 12:55 PM.
Report comment to moderator  
Reply With Quote
Unread 11-10-08, 09:42 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 Kerecha
Does it have the function to automaticly allow grp invites from ppl on friends list or in your guild?
It doesn't, as I found out when one of my guild mates couldn't invite me to a group (got used to that option in LeaveMeAlone). Still, I found it easy enough to toggle it to allow group invites and have gotten used to the all or nothing approach again. It would be a nice option to have though.
Report comment to moderator  
Reply With Quote
Unread 11-20-08, 10:41 AM  
Vytae
A Murloc Raider

Forum posts: 6
File comments: 62
Uploads: 0
Duel Requests not declined

It no longer declines duel requests even though it shows as being declined in the dropdown box.. I hope this is still being developed as it's a great addon!!
Report comment to moderator  
Reply With Quote
Unread 11-20-08, 11:37 AM  
Frayol
A Deviate Faerie Dragon
 
Frayol's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 127
Uploads: 4
Re: Duel Requests not declined

Originally posted by Vytae
It no longer declines duel requests even though it shows as being declined in the dropdown box.. I hope this is still being developed as it's a great addon!!
I don't think it ever did block duels as the event wasn't registered. If you want to fix it on your local copy I have detailed the change required further down (3rd post from bottom). Just use a text editor to open the core.lua file and add the missing line. As for whether this is still being developed, I too hope that it is although there have been no posts from the author so I am not overly optimistic. Still, if you add the line I detailed it fixes the duel blocking problem, there are no others that I know of and hopefully no more will crop up.
Report comment to moderator  
Reply With Quote
Unread 11-21-08, 12:28 PM  
ShaneSveller
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 2
Terribly sorry to all you folks, I haven't been watching this page whatsoever, especially what with the WotLK release. I'll look over your comments shortly, and look over my code thereafter, but I know some things are broken with both the version I have and this uploaded version.
Report comment to moderator  
Reply With Quote
Unread 11-21-08, 12:56 PM  
ShaneSveller
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 2
I've updated a somewhat-drycoded patch that fixes and incorporates frayol's suggestions. It should also automatically allow through trades and party invites from guildies/friends and ginvites from friends.

Please test it as soon as you're able and give me some feedback, as I don't have WotLK loaded on my laptop here with me, so I can't log in until I get home this evening.

Nice work, frayol.

EDIT: It may be necessary to rename is_guildie to is_guildmate on line 22 of core.lua. Sorry folks!
Last edited by ShaneSveller : 11-21-08 at 02:10 PM.
Report comment to moderator  
Reply With Quote
Unread 11-23-08, 04:42 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 ShaneSveller
Please test it as soon as you're able and give me some feedback, as I don't have WotLK loaded on my laptop here with me, so I can't log in until I get home this evening.

EDIT: It may be necessary to rename is_guildie to is_guildmate on line 22 of core.lua. Sorry folks! [/b]
Have tested and all seems to be working as intended. Annoying group invites blocked and guild mates able to send invites, very nice. You were correct, the change in the code was required although your change note made it sound as if they would be blocked no matter what! Just the way I interpreted it on initial read "Will not process party invites or trade requests from friends or guildies". I took me a moment to realise what you meant.

The inclusion of a toggle all was a nice touch too, saves a lot of time turning everything to blocked. I did make changes to my local copy though, but nothing drastic. Just changed the click layout so that left and right clicks were for group and trade respectively as these are the two I change most often. I rarely bother with any of the others, but that is personal preference and it shouldn't have any impact on the testing I did since I made no other changes.
Report comment to moderator  
Reply With Quote
Unread 11-23-08, 10:02 AM  
ShaneSveller
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 2
I did make changes to my local copy though, but nothing drastic. Just changed the click layout so that left and right clicks were for group and trade respectively as these are the two I change most often. I rarely bother with any of the others, but that is personal preference and it shouldn't have any impact on the testing I did since I made no other changes. [/b]
I may add a configuration page for that in the Blizz options, similar to how BankStack does it. It's just a series of drop-downs that allow you to pick and choose which functionality is bound to which hotkey and mouse button combo.

That would come after the party/raid member functionality, though.
Report comment to moderator  
Reply With Quote
Unread 01-09-09, 09:17 PM  
Mera
Retired of WoW, In ESO :)
 
Mera's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 121
Uploads: 7
Alternative

Mod alternative
If you want an alternative mod that does AntiSocial stuffs with more features give a try to mine EasyDND now has AntiParasites features. The benefits you have near an addon like AntiSocial, ASSBlock, etc , is that I do it with hooks not with crap events, so in addition to block the same events this addon acts on, mine block actions before their events are executed by the client, also does block sounds and deny these events to automatically close the Auction House, mail etc windows when they are open. Who has not been harassed by a bitch throwing you petitions that closes the AH, everyone! Give a try to mine is a full silence guaranteed
__________________
If you need to reach me I'm in ESO, @class101 or "Fathis Ules i"
addons: SpamBayes, BrokerCPU
projects: ThunderBayes
Mera[xeh]? - La CroisadeEcarlate (wow)
Last edited by Mera : 01-09-09 at 09:18 PM.
Report comment to moderator  
Reply With Quote
Unread 01-10-09, 12:58 AM  
ShaneSveller
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 16
Uploads: 2
Re: Alternative

Originally posted by Mera
Mod alternative
If you want an alternative mod that does AntiSocial stuffs with more features give a try to mine EasyDND now has AntiParasites features. The benefits you have near an addon like AntiSocial, ASSBlock, etc , is that I do it with hooks not with crap events, so in addition to block the same events this addon acts on, mine block actions before their events are executed by the client, also does block sounds and deny these events to automatically close the Auction House, mail etc windows when they are open. Who has not been harassed by a bitch throwing you petitions that closes the AH, everyone! Give a try to mine is a full silence guaranteed
While a cursory glance at Mera's addon will show that it will do everything he/she has said, I feel that my addon is a much more lightweight solution to the core of the issue. I don't want or need Ace2, or FuBar/Titan support, in my addon. In fact, I consider Ace2 to be outdated and inferior in comparison to its successor, Ace3. Still, feel free to give his/her addon a try.

Just for comparison's sake, though, his/her code clocks in at about 75kb of code plus 32kb of embedded images and 655kb of embedded libs, while my addon includes about 19kb of code with the necessary libs included in that total.

While it is really a matter of programmer preference as to whether it is more efficient to hook your functions or use an event-driven model, I feel that event-driven tends to be perfectly functional and light on resource usage, particularly CPU.

The one facet Mera's addon is certainly superior in, is that my addon is not localized anywhere but the enUS locale and is not coded to be easily translated. EasyDND is also localized for the French language.
Report comment to moderator  
Reply With Quote
Unread 04-15-09, 02:18 PM  
FarseerLolotea
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 97
Uploads: 1
The zip archive for this file seems to be corrupted; it won't install. Luckily, I had another copy on file.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: