Thread Tools Display Modes
09-09-12, 04:51 AM   #1
yaparadox
A Defias Bandit
Join Date: Sep 2012
Posts: 3
Exclamation Addon Guild Rank from reputation

For example in guild there is a lot of Recruits with reputation Indifference, after a while a half of these recruits earns reputation Friendliness and raises in a rank to Friends of guild. It is necessary addon that though as that to facilitate distribution of ranks.

Forgive for my bad English and please help me.
  Reply With Quote
09-09-12, 11:29 PM   #2
Caetan0
A Warpwood Thunder Caller
Join Date: Aug 2011
Posts: 99
You can not make an addon for such verification.
  Reply With Quote
09-09-12, 11:58 PM   #3
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
If the question is if you can promote members based on what reputation standing they have with the guild, then yes, that is possible.

local name, rank, rankIndex, level, class, zone, note, officernote, online, isAway, classFileName, achievementPoints, achievementRank, isMobile, canSoR, repStanding = GetGuildRosterInfo(index)

It was added during the beta patches, can't say for sure when.
  Reply With Quote
09-10-12, 04:01 AM   #4
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Build 15464, for reference
  Reply With Quote
09-10-12, 05:48 AM   #5
yaparadox
A Defias Bandit
Join Date: Sep 2012
Posts: 3
who can write such addon?) I would make it but I do not know lua

GM = rank 1
Officer = rank 2

Exalted = rank 3
Revered = rank 4
Honored = rank 5
Friendly = rank 6
Neutral = rank 7

Last edited by yaparadox : 09-10-12 at 05:56 AM. Reason: add ranks
  Reply With Quote
09-10-12, 07:43 AM   #6
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Go to http://addon.ziuo.net/, set the name to "AutoPromote", and put this into the first box:
Code:
local function UpdateRanks()
    if(not CanGuildPromote()) then return end

    local total, offline = GetNumGuildMembers()
    if(GetGuildRosterShowOffline()) then
        total = offline
    end

    for index = 1, total do
        local _, _, rankIndex, _, _, _, _, _, _, _, _, _, _, _, _, repStanding = GetGuildRosterInfo(index)
        if(rankIndex < 2) then
            if(repStanding == 4 and rankIndex ~= 7) then
                SetGuildMemberRank(index, 7)
            elseif(repStanding == 5 and rankIndex ~= 6) then
                SetGuildMemberRank(index, 6)
            elseif(repStanding == 6 and rankIndex ~= 5) then
                SetGuildMemberRank(index, 5)
            elseif(repStanding == 7 and rankIndex ~= 4) then
                SetGuildMemberRank(index, 4)
            elseif(repStanding == 8 and rankIndex ~= 3) then
                SetGuildMemberRank(index, 3)
            end
        end
    end
end

GuildFrame:HookScript('OnShow', UpdateRanks)

if(GuildFrame:IsShown()) then
    UpdateRanks()
end

Then click the yellow button on the bottom, and put the following into the 2nd box:
Code:
## Interface: 50001
## Title: AutoPromote
## LoadOnDemand: 1
## LoadWith: Blizzard_GuildUI
When you've done all this, click the green button at the bottom and put it in your addons folder like a normal addon.

This should then automaticly promote everyone each time you open the guild window.

Last edited by p3lim : 09-10-12 at 07:48 AM.
  Reply With Quote
09-10-12, 08:06 AM   #7
yaparadox
A Defias Bandit
Join Date: Sep 2012
Posts: 3
1) Each time when opening GuildFrame is shown the message: You didn't receive permission to it (I assume from for my reputation)
2) Addon lowered officers rank 1 in rank 3 (works,the players was offline, but the black list for ranks and players is necessary)
3) Addon didn't change rank 2 in rank 5 (The player was offline)
4) Addon didn't change rank 6 in rank 5 at achievement of reputation Honored (The player was online)

it is possible to make a button for start addon?)

thanks for your work!

Last edited by yaparadox : 09-10-12 at 09:26 AM. Reason: tested
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Addon Guild Rank from reputation


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