GuildGreet Extended

GreetList

GuildGreet Extended

SPECIAL NOTES:

I disabled Comments on Curse.com. Please leave your comment on curseforge.com.

PLEASE REPORT BUGS ONLY TO THE BUGTRACKER, NOT IN COMMENTS: I WILL IGNORE ALL BUGREPORTS IN COMMENTS

Description

Guild Greet is an addon that keeps track of main and alt characters in your guild and reminds you to greet them and congratulate them on level up. You can also store an alias for your guildies.

Credit

This addon was originally written by Greya and I helped him with some of the German localisation. Greya did not seem to update GuildGreet for the pre-BC LUA changes. This was done by Mordikaiin and Rozak.

I had already made some modifications to Greya's version but never published them. I sent Mordikaiin a message suggesting he integrate those in a new release but never heard from him. This is the reason why I am creating this branch of GuildGreet

Extension

I loved the main and alt management features of the original GuildGreet. I extended it to print a list of the main and all alt chars whenever a guildie logged in. This helped me to learn who was who in my guild.

Later I extended this feature to allow me to query a certain guild member through the command line

/gg <name>

to print a list of the alts of all members of the guild

/gg guild all

or only those online

/gg guild show

If you change your guild or your guild needs to reform for some reason, GuildGreet unfortunately looses all its main-alt associations. To help you rebuild the database I added the possibility to print all information to a list from which you can copy-past the information

/gg guild list

Later I added a keybinding to bring up the GuildGreet configuration dialog (/gg) and the possibility to use the context menu on player names in the chat frame to print the main and alias list for that player.

I also added two greetings (or better goodbyes) for players leaving during the day and a night which can be accesses through the player menu in the chat frame as well.

Friend list support

I have added support for your friends. It works just the same as the guild member features.

User channel support

Many guilds that have co-operations with other guilds have a common user channel. I added support for such a channel to 20100.4, you can enable this in the "General" tab and define the channel name to use. You must join the channel before you can enter it in the configuration. The channel members (except for guild members) will be managed in a separate list and their own tab.

Automatic assignment of main/alt chars based on guild notes

This is a feature requested by Dhugal

If this feature is enabled (checkbox on general tab) *AND* no manual main/alt information has yet been added, then the guild note will be parsed.

The following keywords will be understood:

Main[ <any other text>]

It is important to note that if <any other text> follows, there must be a space after the "Main" keyword. Any other text will be discarded. this marks the character with this guild note as a "main" char

alt-<main name>[ <any other text>]

It is important to note that if <any other text> follows, there must be a space after the <main name>. Any other text will be discarded. this marks the character with this guild note as an "alt" char to the indicated "main" char

Achievment support

This is a much requested feature and I have finally found the time to add it. GuildGreet will now help you to congratulate your guild mates when the get an achievment. It works just the same as all the other greetings/congratulations.

Marking all guild members as "not new"

When joining a new guild or when first installing GuildGreet while already in a guild, all guild members will be marked as new until they have been greeted once. This is correct if somebody joins a guild you are already a member of, but not all that great in the situation described above. Unfortunately, there is no way for GuildGreet to tell the difference. There is however a way to get rid of this by typing

/gg unnew

Summary of original features

This part is copied 1:1 from the original GuildGreet page and was written by Greya

This is a guild tool: it's useless if you are not in a guild

As soon as you go online, the addon loads the list of players in your guild and starts to monitor all changes. As soon as a player comes online or joins the guild, the name is added to a small list onscreen.

If you leftclick on the name, one of the possible greetings (at random) is written in the guild channel and the name is removed from the list. if you rightclick on the name, it's removed from the list without sending a greeting. These color codes are used for the list:

  • red: players joining the guild both during your session and earlier. These players will also be indicated by the word NEW at the end of the line.
  • orange: players logging in for the first time during your current session
  • green: players relogging. They logged on before during your current session
  • blue: players gaining a higher level both during your session and then earlier. These players will also be indicated by the word LEVEL at the end of the line.
  • purple: players getting a higher guildrank then previous session and earlier. These players will also be indicated by the word RANK at the end of the line.

Notes:

  • the list shown on the screen can be dragged anywhere you want by using the red titlebar to drag.
  • the onscreen list shows a maximum of 5 players by default, but GuildGreet will store the names of any further players needing a greeting.
  • mousing over the names in the list will display a tooltip with usefull information regarding the player

For detailed information on changing the configuration (like greeting texts), see the file manual.txt

Greeting guild and channel members

There are two key bindings that can be used to send a greeting to your guild chat and your selected channel and to say goodbye to the two channels. You can also greet selectively using slash commands. You can configure a guild name alias which can be used in the guild greetings instead of the full guild name.

Temporarily supressing certain greetings

If a category (log-in, relog, joining of guild, level up, guild rank promotion) has no greetings defined, a character will not be placed in the greet list upon a corresponding event. However, you might want to supress a certain category without deleting all its greetings. This is now possible as you can supress the corresponding events for each category (meaning a player who levels up will not be placed in the greet list if the level-up category is being suppressed)

Important hint

In the interface options (Game options) there is a setting in the <b><i>Social</i></b> section called <b><i>Guild member alert</i></b>. Make sure that this features is enabled as GuildGreet will not detect guild members coming online or going offline if this is disabled. GuildGreet will warn you once if this is disabled and suggest to turn it on. If you don't do it then, you can still manually check this by using <i>/gg alert</i>.

REPORTING ERRORS

If you encounter errors, please report them by including the following information:

  • the file name and line number where the error ocurred
  • the function name in which the error ocurred
  • the exact error message
  • the call stack of the functions

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of gOOvER gOOvER Jan 08, 2014 at 16:06 UTC - 0 likes

    Please Use in Future the Forum (Link above). I will remove Comments in One Week ;)

  • Avatar of Luzisto Luzisto Jan 07, 2014 at 23:09 UTC - 0 likes

    @reaper666735: Go

    sorry, that was my fault!

    to fix replace in line 6901

    if string.gsub(GLDG_Realm, " ", "") == realm then p = GLDG_shortName end
    

    with

    if string.gsub(GLDG_Realm, " ", "") == realm then
    

    New Update is Uploaded. Should be approved in some Hours

    BIG SORRY

  • Avatar of reaper666735 reaper666735 Jan 07, 2014 at 20:47 UTC - 0 likes

    @Luzisto: Go

    addon crashes on load with multiple LUA errors and am unable to use " /gg fix " command :( ,

    pretty much can't use the addon what so ever .......... ,

    .

    2x GuildGreet\GuildGreet-5.4.4.lua:6927: "<eof>" expected near "end"

    Locals:

    2x <string>:"GuildGreet:OnLoad":1: attempt to call global "GLDG_OnLoad" (a nil value) <string>:"*:OnLoad":1: in function <string>:"*:OnLoad":1

    Locals:

    2x <string>:"GuildGreetFrameSettingsGeneralChannelNameDropboxButton:OnLoad":1: attempt to call global "GLDG_DropDownTemplate_OnLoad" (a nil value) <string>:"*:OnLoad":1: in function <string>:"*:OnLoad":1

    Locals:

    2x <string>:"GuildGreetOptions:OnLoad":1: attempt to call global "GLDG_OnLoadOptions" (a nil value) <string>:"*:OnLoad":1: in function <string>:"*:OnLoad":1

    Locals:

    47x <string>:"GuildGreet:OnUpdate":1: attempt to call global "GLDG_OnUpdate" (a nil value) <string>:"*:OnUpdate":1: in function <string>:"*:OnUpdate":1

    Locals:

    .

    5 part Lua errors as you can see , i get them on start up and as mentioned it just crashes and is unusable :(

  • Avatar of Luzisto Luzisto Jan 07, 2014 at 17:26 UTC - 0 likes

    @Excelis: Go

    I hope 5.4.5 helps. ;-)

    Please RUN after Update to 5.4.5 onetime "/gg fix"

  • Avatar of Excelis Excelis Jan 07, 2014 at 00:29 UTC - 0 likes

    @Luzisto: Go

    Done. I hope it helps.

  • Avatar of Luzisto Luzisto Jan 06, 2014 at 21:51 UTC - 0 likes

    @Excelis: Go

    Looks as if the problem comes from the space in the realmname

    Could you please send me a copy of guildgreet.lua via Email or PM?

  • Avatar of Excelis Excelis Jan 05, 2014 at 21:24 UTC - 0 likes

    The settings configuration function to "Automatically assign main/alt based on guild note" isn't working for alts. Does appear to be working for mains.

    The Alias/Main field on the Characters tab needs to be longer. Looks like you should have room to make it as wide as the Name field or the Guild field. Basically needs about triple of it's current size.

    The Select Main Character window that pops open when you want to manually set an alt is also a little short. In fact sometimes the text hangs out past the GuildGreet window by several characters.

    Last edited Jan 05, 2014 by Excelis
  • Avatar of Excelis Excelis Jan 05, 2014 at 14:17 UTC - 0 likes

    New update: Is still whispering rather than using /g when I congratulate guildies for getting an achievement. Is giving an error sometimes on achievements. is still adding -ServerName to the greetings.

    1x GuildGreet\GuildGreet-5.4.4.lua:2133: attempt to compare two nil values GuildGreet\GuildGreet-5.4.4.lua:2133: in function `GLDG_ShowQueue' GuildGreet\GuildGreet-5.4.4.lua:5115: in function `GLDG_TreatAchievment' GuildGreet\GuildGreet-5.4.4.lua:298: in function `GLDG_OnEvent' [string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

    Locals: achievmentLink = "%s has earned the achievement |cffffff00|Hachievement:868:0200000007A69835:1:1:5:14:4294967295:4294967295:4294967295:4294967295|h[Explore Isle of Quel'Danas]|h|r!" name = "NameReplacedtoProtecttheInnocent" _ = 1 _ = 162 playerLink = "%s" achievment = "|cffffff00|Hachievement:868:0200000007A69835:1:1:5:14:4294967295:4294967295:4294967295:4294967295|h[Explore Isle of Quel'Danas]|h|r" main = nil

    Also one other strange error:

    3x GuildGreet\GuildGreet-5.4.4.lua:2133: attempt to compare nil with number GuildGreet\GuildGreet-5.4.4.lua:2133: in function `GLDG_ShowQueue' GuildGreet\GuildGreet-5.4.4.lua:1982: in function `GLDG_SystemMsg' GuildGreet\GuildGreet-5.4.4.lua:310: in function `GLDG_OnEvent' [string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

    Locals: msg = "|Hplayer:NameReplacedAgain-ArgentDawn|h[NameReplacedAgain-ArgentDawn]|h has come online." _ = 1 _ = 68 player = "NameReplacedAgain-ArgentDawn" GLDG_shortName = "NameReplacedAgain" realm = "ArgentDawn"

    Last edited Jan 05, 2014 by Excelis
  • Avatar of gOOvER gOOvER Jan 04, 2014 at 17:41 UTC - 0 likes

    New Update is Uploaded. Should be approved in some Hours :)

    Please Test This :)