Quantcast
Download
(3 Kb)
Download
Updated: 06/09/17 02:59 PM
Pictures
File Info
Compatibility:
Morrowind (3.0)
Updated:06/09/17 02:59 PM
Created:06/09/17 02:59 PM
Monthly downloads:131
Total downloads:2,017
Favorites:9
MD5:
Guild Hall List
Version: 1.0
by: sirinsidiator [More]
A simple addon which shows available "guild halls" on the guild home screen when installed.
It looks for the three characters "<GH" in member notes and shows the displayname.
Optional Files (0)


Post A Reply Comment Options
Unread 12/30/17, 08:23 AM  
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1080
File comments: 660
Uploads: 28
Originally Posted by harakira
Hello.

Our community consists of several guilds (more than 5) with common guild hall. Unfortunately owner of the guild hall can't be a member of each guild due to game limitations. So we need possibility to add links to owners into existed guild hall list via the MoTD info (with customizable or/and presetted signature).

I prepared sample modification to implement such functionality:

Code:
local function ScanAllNotesForGuildHallMarker()
        local guildId = guildRosterManager.guildId
        if(guildId == lastScannedId) then return end
        ZO_ClearTable(guildHalls)
        for j = 1, GetNumGuildMembers(guildId) do
            local displayName, note = GetGuildMemberInfo(guildId, j)
            UpdateGuildHallList(displayName, note)
        end
		local motd = GetGuildMotD(guildId)		
		for word in string.gmatch(motd, 'GH>@[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_]+') do
		    local nickname = string.gsub(word, "GH>@", "@")
			UpdateGuildHallList(nickname, GUILD_HALL_MARKER_STRING)
		end

        DoRefreshList()
        lastScannedId = guildId
    end
Could you add something like this to your addon?

Thank you.
I'll check it out. Thanks for the code!
__________________
>siri.exe MyAddon
Does your addon work? [y/n] n
There is a typo in there.
Report comment to moderator  
Reply With Quote
Unread 12/09/17, 06:31 AM  
harakira

Forum posts: 0
File comments: 6
Uploads: 0
Hello.

Our community consists of several guilds (more than 5) with common guild hall. Unfortunately owner of the guild hall can't be a member of each guild due to game limitations. So we need possibility to add links to owners into existed guild hall list via the MoTD info (with customizable or/and presetted signature).

I prepared sample modification to implement such functionality:

Code:
local function ScanAllNotesForGuildHallMarker()
        local guildId = guildRosterManager.guildId
        if(guildId == lastScannedId) then return end
        ZO_ClearTable(guildHalls)
        for j = 1, GetNumGuildMembers(guildId) do
            local displayName, note = GetGuildMemberInfo(guildId, j)
            UpdateGuildHallList(displayName, note)
        end
		local motd = GetGuildMotD(guildId)		
		for word in string.gmatch(motd, 'GH>@[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_]+') do
		    local nickname = string.gsub(word, "GH>@", "@")
			UpdateGuildHallList(nickname, GUILD_HALL_MARKER_STRING)
		end

        DoRefreshList()
        lastScannedId = guildId
    end
Could you add something like this to your addon?

Thank you.
Last edited by harakira : 12/09/17 at 06:33 AM.
Report comment to moderator  
Reply With Quote
Unread 07/05/17, 09:11 AM  
tjbhunter

Forum posts: 0
File comments: 7
Uploads: 0
Great!

This addon is great! Nice work!

One request would be a way to give priority to a specific hall, so it remains the first listed. We have several houses we would like to list as guild halls, but they appear to all be in alphabetical order, putting the "official" hall of the GM near the bottom. Is it possible to have them listed by guild rank instead? or create a second tag for member notes to assign an "official" hall which will remain listed above the rest?
Thank you!!
Report comment to moderator  
Reply With Quote
Unread 06/24/17, 04:04 PM  
[email protected]

Forum posts: 0
File comments: 2
Uploads: 0
OMG I LOVE THIS ADDON

I love this addon, I'm always searching around for my Guild Leader that has the Guild Hall and taking lots of time now all i have to do is click "g" and than the portal next to the name on the first page of Guild Info. What's even better is that you can have multiple Guild Halls on the front page as long as the member note says "<GH".

It would be nice possibly to have a Guild Craft Hall option (<GCH) since I'm in a guild that's trying to have both a Guild Hall for events and a Guild Craft Hall with in the future all the attunables.
Report comment to moderator  
Reply With Quote
Unread 06/20/17, 02:54 AM  
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1080
File comments: 660
Uploads: 28
Originally Posted by Shadowfen
This is great, but I do have a request to make it so in addition to anyone that has "<GH" in their notes, it also just automatically adds the GuildMaster (who usually has the Guild Hall anyway).

I did a version of this with a small change to your ScanAllNotesForGuildHallMarker() function (if you wish to consider this...):
Code:
    local function ScanAllNotesForGuildHallMarker()
        local guildId = guildRosterManager.guildId
        if(guildId == lastScannedId) then return end
        ZO_ClearTable(guildHalls)
        local numMembers, _, leader = GetGuildInfo(guildId)
        for j = 1, numMembers do
            local displayName, note = GetGuildMemberInfo(guildId, j)
            UpdateGuildHallList(displayName, note)
        end
        guildHalls[leader] = true
        DoRefreshList()
        lastScannedId = guildId
    end
Thanks.
Love that it lists multiple guild halls!
Thanks for your idea, but "usually" unfortunately does not mean always.
I know of at least one guild where the GM himself doesn't have the hall, but instead his secondary account.
So I can't add this into the addon as to keep it flexible for everyone.
__________________
>siri.exe MyAddon
Does your addon work? [y/n] n
There is a typo in there.
Report comment to moderator  
Reply With Quote
Unread 06/19/17, 07:22 PM  
Shadowfen
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 135
Uploads: 5
This is great, but I do have a request to make it so in addition to anyone that has "<GH" in their notes, it also just automatically adds the GuildMaster (who usually has the Guild Hall anyway).

I did a version of this with a small change to your ScanAllNotesForGuildHallMarker() function (if you wish to consider this...):
Code:
    local function ScanAllNotesForGuildHallMarker()
        local guildId = guildRosterManager.guildId
        if(guildId == lastScannedId) then return end
        ZO_ClearTable(guildHalls)
        local numMembers, _, leader = GetGuildInfo(guildId)
        for j = 1, numMembers do
            local displayName, note = GetGuildMemberInfo(guildId, j)
            UpdateGuildHallList(displayName, note)
        end
        guildHalls[leader] = true
        DoRefreshList()
        lastScannedId = guildId
    end
Thanks.
Love that it lists multiple guild halls!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: