Help

AutoGroupFriends

Miscellaneous Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 1,508 Downloads
  • Supports: 4.2
  • 0 Average Daily Downloads
  • Comments
  • Created 8/11/2009 2:08:50 PM
  • Updated 7/5/2011 1:22:39 AM
  • 4 Favorites
  • Project Site
  • License: GNU General Public License version 3 (GPLv3)
  • Release Type: Release
  • Newest File: v1.0.18
or
Support development! **
Donate

About AutoGroupFriends

Description

AutoGroupFriends automatically groups you with anyone in your friend list when you or they sign on, automatically accepts group invitations from anyone in your friend list, and when forming such groups automatically sets looting to free-for-all.

Obviously this behavior isn't going to be desirable for everyone — it is intended for users who play mostly in the same groups all the time, or for special-purpose toons that will always be in the same group (i.e. arena teams). I'm guessing most other users would find this addon annoying; luckily they don't have to install it.

Original Addon

This addon is based on AutoInviteFriends from tcconway, but that addon was never updated for 3.1, so I branched and then eventually forked the project.

Usage

Sign on, or wait for your friends to do the same. Watch the magic. There's nothing else to it.

Slash Commands

AutoGroupFriends now supports several slash commands for in-game configuration. All slash commands can be called either as /agf or /autogroupfriends as is most convenient for your usage.

Loot

You can set the loot method AutoGroupFriends will use with the slash command:
    /agf loot loot_method
where loot_method is one of the following:

  • freeforall
  • group
  • roundrobin
  • needbeforegreed

Invite

You can enable/disable the sending of invitations from AutoGroupFriends with the slash command:
    /agf invite

When sending invitations is disabled AutoGroupFriends will never initiate or update any groups, but it will continue to automatically accept invitations from your friends.

Enable/Disable

You can enable/disable AutoGroupFriends with the slash command:
    /agf disable
and re-enable it with:
    /agf enable

Roadmap

Coming Features:

  • Nothing right now. Let me know if you're missing something.

Possible Features:

(If I'm properly motivated to learn how to write a configuration UI, or can find some appropriate code to steal)

  • Add a toggle to disable own-login-time invitations — it's only needed to deal with the case that only one friend is running AutoInviteFriends, and disabling this feature would remove one of the known bugs
  • Provide an in-game method to specify exceptions to the friends list
  • Make the exceptions list invertible, so that only listed friends are invited

Known Bugs

  • Invitations are not sent to nor accepted from RealID friends; apparently they do not show up in the standard friends list. I'll look into the new APIs and get this fixed in future versions. In the mean time you'll just have to keep the non-RealID screen names in your friends list.
  • Invitations are sent to all your friends, even if they are already in another group. I can't find an appropriate API call to determine if a given character is in some group other than your own — if such a call exists let me know and I'd be happy to fix this bug. In the mean time your friends will just have to deal with a little spam-inviting when you log on.

Contact

If you have an interest in additional features, any bugs to report, or anything else to contribute let me know at: zach-curse@kotlarek.com

------------------------------------------------------------------------
r46 | profplump | 2011-07-05 06:22:37 +0000 (Tue, 05 Jul 2011) | 3 lines
Changed paths:
   A /tags/v1.0.18 (from /trunk:45)

Tagging as v1.0.18

Works fine in 4.2
------------------------------------------------------------------------
r45 | profplump | 2011-07-05 06:21:31 +0000 (Tue, 05 Jul 2011) | 1 line
Changed paths:
   M /trunk/AutoGroupFriends.toc

Works fine in 4.2
------------------------------------------------------------------------
r44 | profplump | 2011-07-05 06:19:56 +0000 (Tue, 05 Jul 2011) | 1 line
Changed paths:
   M /trunk/AutoGroupFriends.toc

Works fine in 4.2
------------------------------------------------------------------------

Comments

  • #7
    Auto sending invites and auto accepting incoming invites continues even after disabling via "/agf disable", though it does display that is has been disabled in the chat.

    Also, any way to have it not accept or send invitations if queued in the Dungeon Finder and the soon to come Battleground Finder? Every time a friend logs on I lose my place in the finder and have to start again.
  • #8
    Apparently I never got around to adding the code that, you know, actually does something when you set the disabled mode. But that's pretty trivial, so I'll pop out an update ASAP.

    As for disabling automatically when you're in some sort of queue, it should be possible, I just have to figure out how to tell when you're in a queue. I'll see if GetLFGQueueStats() does what I want.
  • #10
    I added a bit of code to automatically disable AFG if GetLFGQueueStats() says you're in any queue in 1.0.8. I haven't had a chance to test it yet (requires two accounts to log on/off repeated while one of them is alternately in or not in a LFD/LFG queue), but it's pretty trivial, so if GetLFGQueueStats() is what I mean it should work.

    I also fixed the master disable/enable switch, so you can at least kill it manually if the automatic bit doesn't work.
  • #11
    Both features are working perfectly. If queued for a dungeon or if disabled, it does not invite or auto-accept invites. If the friend invites (either manually or because they have AGF enabled, just the standard Blizzard group pop-up appears giving the option to accept or decline. Also noticed disabling AGF (via /agf disable) keeps it disabled for all toons on the account and after logging out.

    Thanks for getting both those features included and working perfectly.

  • #12
    I'll double-check the code, because it's possible I did something dumb, but the agf_PermDisable variable is supposed to be saved per-character, at least according to the TOC:
    ## SavedVariablesPerCharacter: agf_SavedFriends, agf_LootType, agf_InvitesDisabled, agf_PermDisable

    Is it possible you had it set to disabled before and just didn't notice because "disabled" didn't do anything?
  • #13
    It's possible, I just tested on a couple toons. I'll check again. Either way is awesome and works great :)
  • #5
    Can you make an option to turn off sending invites, and only accept ones received? I find that I'm spamming people when they're logging in and out of multiple alts.
  • #6
    Well that's rather the intent of this addon -- to spam your friends when the log in -- but it's probably not a bad idea to allow it to run in listen-only mode.

    I'll add it to the list.
  • #9
    Added the "/agf invite" command in 1.0.8 to produce this behavior.
  • #4
    Oh, nice. This is perfect for me.
  • #2
    cool mod :)
  • #1
    Couple ideas for your current bugs, Create a saved variable table with all your friends names on logout, so when you log back in check against the saved table of names. For the second one, you can make a fix just for people with your addon. Send a silent addon message out, asking if the person is in a group, return true or false, then try to invite. Just a couple suggestions. By the way, I like this addon for when I'm working on my alts with my wife and friends.
  • #3
    Thanks, those are both good ideas. I'll see if I can motivate myself this weekend to figure out how WoW does persistent storage and/or non-user messaging.
  • To post a comment, please login or register a new account.
Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster Addon Downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse.com Experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Minecraft 3D Print Giveaway

Enter Now!