Thread Tools Display Modes
04/04/15, 10:18 AM   #1
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
Dump Guild Roster

my leader need this addon
dump ALL players, not only online like in this addon http://www.esoui.com/downloads/info6...OProfiler.html

and not by nicknames
but by @id

addon linked before abandoned and author afk for a long time
any ideas?

mby some1 can fix this addon?

Last edited by QuadroTony : 04/05/15 at 01:09 AM.
  Reply With Quote
04/05/15, 01:10 AM   #2
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
please
  Reply With Quote
04/05/15, 01:33 AM   #3
Sasky
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 231
The addon's really 2 parts, only one of which is here.

The portion linked just saves out to file. Other guild addons (Thurisaz for example) do this already in order to show the different characters for an account.

The other part (presumably on Guild Launch) parses the SavedVariables data into something usable for the site. That's subjective on what output format you want and isn't contained here at all.
  Reply With Quote
04/05/15, 01:48 AM   #4
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
i trie to filter aved variables of this addon from first post by LineFilter2 plugin of Notepad++
but i figure our it contain only 45 players from guild with 200 ppl
so i beleive it dump only online players

that why im asking for fix - dump ALL players not only online one and not only by nickname of the character

but th for info, i will try another addon
  Reply With Quote
04/05/15, 02:02 AM   #5
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
If it's a oneshoot, you can dump pChat.chars per exemple

It contains all members of your guilds, key is UserID, value is lastchar.

/script pChat.opts.dump = pChat.chars

then reloadui and open pChat.lua of your savedvars.

Or do something like this :


Lua Code:
  1. local defaults = {}
  2. chars = ZO_SavedVars:NewAccountWide('DUMPGUILD', 1, nil, defaults)
  3. for guild = 1, GetNumGuilds() do
  4.    
  5.     -- Guildname
  6.     local guildId = GetGuildId(guild)
  7.     local guildName = GetGuildName(guildId)
  8.    
  9.     -- Occurs sometimes
  10.     if(not guildName or (guildName):len() < 1) then
  11.         guildName = "Guild " .. guildId
  12.     end
  13.    
  14.     -- Init array for guild
  15.     chars[guildName] = {}
  16.    
  17.     -- Iterate over each guild member
  18.     for member = 1, GetNumGuildMembers(guildId) do
  19.         -- Get account name and character name
  20.         local account = GetGuildMemberInfo(guildId, member)
  21.         local hasChar, character = GetGuildMemberCharacterInfo(guildId, member)
  22.        
  23.         if hasChar and character then
  24.            
  25.             -- Remove extra characters.
  26.             character = zo_strformat(SI_UNIT_NAME, character)
  27.             chars[guildName][account] = character
  28.            
  29.         end
  30.     end
  31.    
  32. end
  Reply With Quote
04/05/15, 02:04 AM   #6
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
wow! thanks!

with pChat i got list of 214 players from guild of 215 members

idk where is 1 left, but nvm, it good as it is =)

Last edited by QuadroTony : 04/05/15 at 02:11 AM.
  Reply With Quote
04/05/15, 02:30 AM   #7
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
It's when GuildRoster is buggy :

Like this :

  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » Dump Guild Roster


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