From a3f9cb4672178755778c1101851bc35333075f2c Mon Sep 17 00:00:00 2001 From: Szyler Date: Tue, 8 Sep 2020 10:29:23 +0200 Subject: [PATCH 1/3] Auto "query server" for norm&HC&bloody --- AtlasLoot/Core/AtlasLoot.lua | 4 +++- AtlasLoot/Core/AtlasLoot.xml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/AtlasLoot/Core/AtlasLoot.lua b/AtlasLoot/Core/AtlasLoot.lua index c79442c..bf0a686 100644 --- a/AtlasLoot/Core/AtlasLoot.lua +++ b/AtlasLoot/Core/AtlasLoot.lua @@ -105,7 +105,7 @@ local AtlasLootDBDefaults = { AtlasLootVersion = "1", AtlasNaggedVersion = "", FuBarPosition = 1, - AutoQuery = false, + AutoQuery = true, LoadAllLoDStartup = false, PartialMatching = true, LootBrowserStyle = 1, @@ -1409,6 +1409,8 @@ function AtlasLoot_QueryLootPage() queryitem = button.itemID; if (queryitem) and (queryitem ~= nil) and (queryitem ~= "") and (queryitem ~= 0) and (string.sub(queryitem, 1, 1) ~= "s") then GameTooltip:SetHyperlink("item:"..queryitem..":0:0:0:0:0:0:0"); + GameTooltip:SetHyperlink("item:60"..queryitem..":0:0:0:0:0:0:0"); + GameTooltip:SetHyperlink("item:2"..queryitem..":0:0:0:0:0:0:0"); end i=i+1; end diff --git a/AtlasLoot/Core/AtlasLoot.xml b/AtlasLoot/Core/AtlasLoot.xml index 2d1cb49..9435a38 100644 --- a/AtlasLoot/Core/AtlasLoot.xml +++ b/AtlasLoot/Core/AtlasLoot.xml @@ -603,6 +603,7 @@ AtlasLoot_HeroicModeToggle(); + AtlasLoot_QueryLootPage(); @@ -626,6 +627,7 @@ AtlasLoot_NavButton_OnClick() + AtlasLoot_QueryLootPage(); this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 ); @@ -730,6 +732,7 @@ AtlasLoot_NavButton_OnClick() + AtlasLoot_QueryLootPage(); this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 ); From e4fdf513d3b9ac5396e0d8022f97a39e16800229 Mon Sep 17 00:00:00 2001 From: Szyler Date: Tue, 8 Sep 2020 10:49:41 +0200 Subject: [PATCH 2/3] Also query when swapping 10/25 man --- AtlasLoot/Core/AtlasLoot.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/AtlasLoot/Core/AtlasLoot.xml b/AtlasLoot/Core/AtlasLoot.xml index 9435a38..5b4ee48 100644 --- a/AtlasLoot/Core/AtlasLoot.xml +++ b/AtlasLoot/Core/AtlasLoot.xml @@ -582,6 +582,7 @@ AtlasLoot_10Man25ManToggle(); + AtlasLoot_QueryLootPage(); From a0d32ec69154164950127562417a825581ad7e5a Mon Sep 17 00:00:00 2001 From: Szyler Date: Tue, 8 Sep 2020 11:23:59 +0200 Subject: [PATCH 3/3] Server query on pickiun a boss/loottable --- AtlasLoot/Core/AtlasLoot.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/AtlasLoot/Core/AtlasLoot.xml b/AtlasLoot/Core/AtlasLoot.xml index 5b4ee48..2731062 100644 --- a/AtlasLoot/Core/AtlasLoot.xml +++ b/AtlasLoot/Core/AtlasLoot.xml @@ -648,6 +648,7 @@ + AtlasLoot_QueryLootPage(); local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot"); this:SetText(AL["Query Server"]); this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );