Skip to content

Commit

Permalink
8.1.5 update
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Mar 13, 2019
1 parent db2106e commit 050adb7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions REKeys.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ local CreateFont = _G.CreateFont
local InterfaceOptionsFrame_OpenToCategory = _G.InterfaceOptionsFrame_OpenToCategory
local SendChatMessage = _G.SendChatMessage
local GetServerTime = _G.GetServerTime
local GetNumFriends = _G.GetNumFriends
local GetFriendInfo = _G.GetFriendInfo
local GetNumFriends = _G.C_FriendList.GetNumFriends
local GetFriendInfoByIndex = _G.C_FriendList.GetFriendInfoByIndex
local GetMapUIInfo = _G.C_ChallengeMode.GetMapUIInfo
local GetAffixInfo = _G.C_ChallengeMode.GetAffixInfo
local GetGuildLeaders = _G.C_ChallengeMode.GetGuildLeaders
Expand Down Expand Up @@ -99,7 +99,7 @@ RE.AffixSchedule = {
{ 9, 7, 12 },
}
RE.DungeonNames = {
[247] = "TM",
[247] = "ML",
[244] = "AD",
[245] = "FH",
[246] = "TD",
Expand Down Expand Up @@ -385,7 +385,7 @@ function RE:RequestKeys()
end

for i = 1, GetNumFriends() do
local name, _, _, _, connected = GetFriendInfo(i)
local connected, name = GetFriendInfoByIndex(i)
if name and connected then
if not strfind(name, "-") then
name = name.."-"..RE.MyRealm
Expand Down Expand Up @@ -502,14 +502,6 @@ end

function RE:FillChat()
RE:FillSorting()
if #RE.DBVIPSort > 0 then
for i = 1, #RE.DBVIPSort do
local name = RE.DBVIPSort[i]
local data = RE.DB[name]
print("|c"..RAID_CLASS_COLORS[data[3]].colorStr..strsplit("-", name).."|r - |cffe6cc80"..RE:GetShortMapName(data[4]).." +"..data[5].."|r"..RE:GetBestRunString(data[7]).." - |cff9d9d9d"..RE:GetShortTime(data[2]).."|r")
end
print("-----")
end
for i = 1, #RE.DBNameSort do
local name = RE.DBNameSort[i]
local data = RE.DB[name]
Expand All @@ -522,6 +514,14 @@ function RE:FillChat()
end
end
end
if #RE.DBVIPSort > 0 then
print("-----")
for i = 1, #RE.DBVIPSort do
local name = RE.DBVIPSort[i]
local data = RE.DB[name]
print("|c"..RAID_CLASS_COLORS[data[3]].colorStr..strsplit("-", name).."|r - |cffe6cc80"..RE:GetShortMapName(data[4]).." +"..data[5].."|r"..RE:GetBestRunString(data[7]).." - |cff9d9d9d"..RE:GetShortTime(data[2]).."|r")
end
end
end

-- Support functions
Expand Down
2 changes: 1 addition & 1 deletion REKeys.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 80100
## Title: |cFF74D06CRE|rKeys
## Notes: Collect information about keystones owned by your friends.
## Version: 1.5.5
## Version: 1.5.6
## Author: AcidWeb
## SavedVariables: REKeysDB, REKeysSettings
## X-Website: https://www.curseforge.com/wow/addons/rekeys-keystone-manager
Expand Down

0 comments on commit 050adb7

Please sign in to comment.