Thread Tools Display Modes
09-30-10, 03:16 PM   #1
kiingz
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2010
Posts: 13
Player joins a guild event

Hey
Is there any event that fires when a player joins a guild?
So if your in a guild and someone else joins.

I thought it could be GUILD_ROSTER_UPDATE or GUILD_EVENT_LOG_UPDATE, but those are only run when you open the guild tab or log window.

Last edited by kiingz : 09-30-10 at 03:25 PM.
  Reply With Quote
09-30-10, 03:38 PM   #2
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
PLAYER_GUILD_UPDATE at a guess (not tested)
  Reply With Quote
09-30-10, 03:38 PM   #3
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
well GUILD_ROSTER_UPDATE uses GuildRoster()

I am not sure what you are trying to do but I guess you could save a list of guild members via GuildRoster() and then run a timer to check for changes .......
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
09-30-10, 03:39 PM   #4
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
Originally Posted by Dridzt View Post
PLAYER_GUILD_UPDATE at a guess (not tested)
You would have to know who the player in question would be before inviting them to guild.

I guess if the OP could give us more detail in what he or she is trying to do we would have a better idea of how to help.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
09-30-10, 04:03 PM   #5
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
I assumed he wanted an event for when "he" joins a guild,
not when someone else joins "his" guild

The latter case would probably be alot easier to catch with a simple CHAT_MSG_SYSTEM and capturing the message pattern.
  Reply With Quote
09-30-10, 04:11 PM   #6
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
Yea thats how I do it for my welcome to the guild spam addon.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
09-30-10, 05:33 PM   #7
kiingz
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2010
Posts: 13
Basically, this certain pest of a player keeps joining the guild, I know his characters name.
Whenever he joins I would like it to remove him from the guild.

I was going to have the addon act whenever someone joins the guild to run the command to remove him regardless if its not him since it would be easier then trying to search for his name.

However if there's a better way then it would be great.

I tried PLAYER_GUILD_UPDATE. It only fires on the character joining the guild.
  Reply With Quote
09-30-10, 07:09 PM   #8
brotherhobbes
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 313
why does he keep getting invited then? why don't you just restrict who can invite people to your guild?
  Reply With Quote
09-30-10, 07:26 PM   #9
Xubera
A Cobalt Mageweaver
 
Xubera's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 207
Originally Posted by brotherhobbes View Post
why does he keep getting invited then? why don't you just restrict who can invite people to your guild?
iif you open your guild frame
click Guild Information > Log
the log will show who invited him, so boot/demote him
__________________
Chat Consolidate is the solution to any out of control trade chat. Ignore lines, throttle chat, consolidate posts!Follow the link to find out how!

▲ ▲ WoWInterface wont let me triforce >.>
  Reply With Quote
09-30-10, 09:50 PM   #10
kiingz
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2010
Posts: 13
Originally Posted by Xubera View Post
iif you open your guild frame
click Guild Information > Log
the log will show who invited him, so boot/demote him
I am aware of that, its an odd situation.
I'm not the GM.

Simply kicking him is all I can do atm.
  Reply With Quote
10-02-10, 09:14 AM   #11
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
ummmm. I think and I may be wrong. But you can use the /who information.

Have a addon /who toon
On the information getting received if it comes back that he is in guild name <xyz> then kick otherwise halt. Have the script run on a timer. Or only have it fire when you login as if he got invited when you were online you would prob notice.

I saw a addon a while ago that was the complete oppsite of this. Think it was ninja Inviter. As you were traveling the world it would request info for each toon you came across if they were not in a guild it would invite them, but i think the addon died when they made the changes to access /who and the number of requests you could make.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Player joins a guild event


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off