Gogo1951 / Groupie

A better LFG tool for Classic WoW.
MIT License
2 stars 3 forks source link

Auto Response to Group Request Invite #166

Closed Gogo1951 closed 1 year ago

Gogo1951 commented 1 year ago

There is a massive problem in the game right now... if you create a group, you get blasted with a bunch of, "Let me in" requests without context. This was 15-seconds of invite requests during launch. OVERWHELMING!

 [Arkanas] has requested to join your group. 
 [Babytiger] has requested to join your group. 
 [Cuwuda] has requested to join your group. 
 [Dragonknig] has requested to join your group. 
 [Emss] has requested to join your group. 
 [Gegetê] has requested to join your group. 
 [Gladysknight] has requested to join your group. 
 [Gruumia] has requested to join your group. 
 [Homee] has requested to join your group. 
 [Kurísù] has requested to join your group. 
 [Mikecoxmaul] has requested to join your group. 
 [Paladinaam] has requested to join your group. 
 [Picowchu] has requested to join your group. 
 [Restore] has requested to join your group. 
 [Rupertø] has requested to join your group. 
 [Ryuhin] has requested to join your group. 
 [Ryuhin] has requested to join your group. 
 [Tonymetsosa] has requested to join your group. 
 [Vastian] has requested to join your group. 
 [Whirlwindx] has requested to join your group. 
 [Zanoobibtw] has requested to join your group.
 [Zippí] has requested to join your group. 
 [Ágnstallodds] has requested to join your group.

We need to hit people back with a question to provide their role and spec.

And if they have Groupie installed, automatically send that info.

And this can help get the word out about Groupie.

image

image

image

(Looks like the request to join and invite are the same events coming out of LFG Tool, need to confirm.)

If not in a group yet...

1) Get an invite...

2) And it's not someone you have spoken to in the last minute...

3) Respond to person who sent invite:

{rt3} Groupie : What are you inviting me to? Let me know what role you need, and if there are any loot rules or reserves. Thanks!

(Might be useful to see if we can pull from the Groupie Bulletin Board... maybe we can derive what the person is posting about... but this would be a nice-to-have.)

If in a group...

1) Get a request to join group...

2) And it's not someone you have spoken to in the last minute...

3) Add-on Channel : "Hey, do you have Groupie?"

4a) Get version / yes back from person who sent invite. Wait like 2 seconds... and if you don't get a response assume NO Groupie installed.

5a) If Yes... have the person requesting the invite automatically send their spec in a non-specific group LFG Message. Just "Tank LFG" type message like we get from the Right-Click Menu.

4b) If No... "{rt3} Groupie : You should get Groupie -- it's on CurseForge. It will automatically send your role, spec, and gear summary along with your Request to Join Group messages. What role and spec are you?

In Character Options

image

Both ON by default.

[] Enable Groupie Auto Response when Being Invited to Groups [] Enable Groupie Auto Response when People Request to Join Your Group

Gogo1951 commented 1 year ago

image

image

Maybe we can trigger the message send on this button too...

Gogo1951 commented 1 year ago

image

Gogo1951 commented 1 year ago

image

Doesn't look like there's any sort of dungeon ID in the arguments. But could do a generic LFG message at least.

Gogo1951 commented 1 year ago

It works but it's only firing on the first one.

image

image

If you get slammed with messages, it only fires the one time.

And like... getting 200 invites in 30 seconds is really common as a tank =P

Gogo1951 commented 1 year ago

image

Needs to fire on this event too.

Gogo1951 commented 1 year ago

Also, "What are you?" doesn't seem to be firing back a response when I sent it to someone.

TannerShmoog commented 1 year ago

Also, "What are you?" doesn't seem to be firing back a response when I sent it to someone.

did they have groupie on latest?

Gogo1951 commented 1 year ago

I did, I had people send me "What are you?" and it didn't reply to them.

TannerShmoog commented 1 year ago

If they manually sent it its possible they missed a space or something. I only check for the EXACT groupie message at the moment, do we want to change that?

Gogo1951 commented 1 year ago

No literally "What are you?" is what we want to look for.

Gogo1951 commented 1 year ago

It's sending the "What are you" in response to being invited when you've got an invite pending, that's the message that should fire only when someone requests to join your group.

image

Gogo1951 commented 1 year ago

Also this is firing when I'm not in the LFG Tool at all, on every invite. Needs to just fire when I'm in LFG. Wonder if the even is different enough...

image

Gogo1951 commented 1 year ago

image

Works good when you're forming a group though! (=

Gogo1951 commented 1 year ago

image

I sent a message, he invited, I sent him a "what's this for?" message... gotta re-work this a bit.

TannerShmoog commented 1 year ago

looks like >1 min had passed. what should we make the timer instead? 5?

Gogo1951 commented 1 year ago

Nah, that's fine. User Error.

TannerShmoog commented 1 year ago

Alright, leaving it as 1 min for now then. Can look into increasing the timer if it happens again

TannerShmoog commented 1 year ago

Also this is firing when I'm not in the LFG Tool at all, on every invite. Needs to just fire when I'm in LFG. Wonder if the even is different enough...

image

didnt see this part.

the event is not different at all but I can likely add a check to see if the player is listed. response to "what are you", should always fire obviously. What about the other two? which or both of "what are you inviting me to" or sending "what are you" should fire regardless of being listed in lfg?

Gogo1951 commented 1 year ago

Looks good!