Compare commits

..

1 Commits

Author SHA1 Message Date
shaga bd644aecf9 Remove dead atlasloot.net/atlasmod.com links 2026-08-12 20:58:32 -07:00
4 changed files with 32 additions and 48 deletions
+8 -1
View File
@@ -3,7 +3,7 @@
## Notes: Shows possible loot from dungeon bosses and other sources. ## Notes: Shows possible loot from dungeon bosses and other sources.
## Author: Otari (overhaul/revamp, menu changes, bugfixes/updates), Lexie (Turtle WoW fixes/updates), Pepopo, MarcelineVQ (Kara40 loot), Shagu ## Author: Otari (overhaul/revamp, menu changes, bugfixes/updates), Lexie (Turtle WoW fixes/updates), Pepopo, MarcelineVQ (Kara40 loot), Shagu
## LegacyAuthor: Daviesh, Pompa (Turtle WoW World Bosses), Xerron (Turtle WoW World Bosses), Gurky (Turtle WoW 1.16/1.16.1 Dungeons) ## LegacyAuthor: Daviesh, Pompa (Turtle WoW World Bosses), Xerron (Turtle WoW World Bosses), Gurky (Turtle WoW 1.16/1.16.1 Dungeons)
## Version: 3.4.6 ## Version: 3.4.4
## SavedVariablesPerCharacter: AtlasLootCharDB ## SavedVariablesPerCharacter: AtlasLootCharDB
## OptionalDeps: Alphamap, AtlasLoader, LootLink, ItemSync, HewdropLib, Ace2, EquipCompare, EQCompare ## OptionalDeps: Alphamap, AtlasLoader, LootLink, ItemSync, HewdropLib, Ace2, EquipCompare, EQCompare
@@ -40,7 +40,14 @@ Database\Menus.lua
Core\ButtonRegistry.lua Core\ButtonRegistry.lua
Core\TextParsing.lua Core\TextParsing.lua
Core\Sets.lua
Core\Factions.lua
Core\WorldEvents.lua
Core\PvP.lua
Core\Crafting.lua
Core\WishList.lua Core\WishList.lua
Core\Search.lua Core\Search.lua
Core\WorldBoss.lua
Core\Dungeons.lua
Core\Tooltip.lua Core\Tooltip.lua
Core\AtlasLoot.xml Core\AtlasLoot.xml
+5 -23
View File
@@ -27,22 +27,13 @@ local WrappingLines = {
} }
local lines = {} local lines = {}
local maxLines = 30 for i = 1, 30 do
for i = 1, maxLines do
lines[i] = {} lines[i] = {}
end end
local function AddSourceLine(tooltip, sourceStr) local function AddSourceLine(tooltip, sourceStr)
local name = tooltip:GetName() local name = tooltip:GetName()
local numLines = tooltip:NumLines() local numLines = tooltip:NumLines()
if numLines > maxLines then
-- the buffer is pre-built for 30 lines, but long set tooltips plus
-- tooltip-extending addons (StatCompare etc.) can exceed that
for i = maxLines + 1, numLines do lines[i] = {} end
maxLines = numLines
end
local left, right local left, right
local leftText, rightText local leftText, rightText
local leftR, leftG, leftB local leftR, leftG, leftB
@@ -78,7 +69,7 @@ local function AddSourceLine(tooltip, sourceStr)
tooltip:SetText(lines[1][1], lines[1][3], lines[1][4], lines[1][5], 1, false) tooltip:SetText(lines[1][1], lines[1][3], lines[1][4], lines[1][5], 1, false)
if numLines < maxLines then if numLines < 28 then
tooltip:AddLine(sourceStr) tooltip:AddLine(sourceStr)
elseif lines[2][1] then elseif lines[2][1] then
lines[2][1] = sourceStr.."\n"..lines[2][1] lines[2][1] = sourceStr.."\n"..lines[2][1]
@@ -108,7 +99,7 @@ local lastItemID, lastSourceStr
local function ExtendTooltip(tooltip) local function ExtendTooltip(tooltip)
if AtlasLootCharDB.ShowSource then if AtlasLootCharDB.ShowSource then
local itemID = tonumber(tooltip.itemID) local itemID = tonumber(tooltip.itemID)
if itemID then if itemID and itemID ~= 51217 then -- 51217 Fashion Coin
if itemID ~= lastItemID then if itemID ~= lastItemID then
lastItemID = itemID lastItemID = itemID
lastSourceStr = nil lastSourceStr = nil
@@ -238,11 +229,7 @@ local function HookTooltip(tooltip)
insideHook = true insideHook = true
original_SetInboxItem(self, mailID, attachmentIndex) original_SetInboxItem(self, mailID, attachmentIndex)
insideHook = false insideHook = false
if GetInboxItemLink then self.itemID = GetItemIDByName(GetInboxItem(mailID))
self.itemID = IDFromLink(GetInboxItemLink(mailID, attachmentIndex))
else
self.itemID = GetItemIDByName(GetInboxItem(mailID, attachmentIndex))
end
ExtendTooltip(self) ExtendTooltip(self)
end end
@@ -295,12 +282,7 @@ local function HookTooltip(tooltip)
insideHook = true insideHook = true
original_SetAuctionSellItem(self) original_SetAuctionSellItem(self)
insideHook = false insideHook = false
local name, texture, count, quality, canUse, price, maxStack, itemLink = GetAuctionSellItemInfo() self.itemID = tonumber(GetItemIDByName(GetAuctionSellItemInfo()))
if itemLink then
self.itemID = IDFromLink(itemLink)
else
self.itemID = tonumber(GetItemIDByName(name))
end
ExtendTooltip(self) ExtendTooltip(self)
end end
+9 -12
View File
@@ -3620,19 +3620,16 @@ AtlasLoot_Data["AtlasLootItems"] = {
{ 61496, "INV_Crown_01", "=q1=The Greymane Crown", "=ds=#m3#", "100%" }, { 61496, "INV_Crown_01", "=q1=The Greymane Crown", "=ds=#m3#", "100%" },
}, },
GCTrash = { GCTrash = {
{ 61598, "INV_Bracer_13", "=q3=Wraps of the Pauper", "=ds=#s8#, #a1#", "0.0125%" }, { 61598, "INV_Bracer_13", "=q3=Wraps of the Pauper", "=ds=#s8#, #a1#", "0.0125%, 0.0338%" },
{ 61336, "INV_Gauntlets_32", "=q3=Knife Juggler Gloves", "=ds=#s9#, #a2#", "0.0125%" }, { 61336, "INV_Gauntlets_32", "=q3=Knife Juggler Gloves", "=ds=#s9#, #a2#", "0.0125%, 0.0338%" },
{ 61597, "INV_Pants_11", "=q3=Conspirator's Trickpockets", "=ds=#s11#, #a2#", "0.0125%" }, { 61597, "INV_Pants_11", "=q3=Conspirator's Trickpockets", "=ds=#s11#, #a2#", "0.0125%, 0.0338%" },
{ 61335, "INV_Shoulder_02", "=q3=Dragonbane Pauldrons", "=ds=#s3#, #a3#", "0.0125%" }, { 61335, "INV_Shoulder_02", "=q3=Dragonbane Pauldrons", "=ds=#s3#, #a3#", "0.0125%, 0.0338%" },
{ 61339, "inv_shoulder_22", "=q3=Pauldrons of the Justicar", "=ds=#s3#, #a4#", "0.0125%" }, { 61339, "inv_shoulder_22", "=q3=Pauldrons of the Justicar", "=ds=#s3#, #a4#", "0.0125%, 0.0338%" },
{ 61337, "INV_Relics_LibramofGrace", "=q3=Libram of the Justicar", "=ds=#s16#, #e18#", "0.0125%" },
{ 61338, "INV_Staff_28", "=q3=Staff of Ushered Ruination", "=ds=#h2#, #w9#", "0.0125%" },
{ 61596, "INV_Weapon_Halberd_09", "=q3=Defender's Glaive", "=ds=#h2#, #w7#", "0.0125%" },
{ 0, "", "", "" }, { 0, "", "", "" },
{ 61376, "inv_gauntlets_22", "=q2=Greymane Gauntlets", "=ds=#s9#, #a4#", "0.08%" }, { 61337, "INV_Relics_LibramofGrace", "=q3=Libram of the Justicar", "=ds=#s16#, #e18#", "0.0125%, 0.0338%" },
{ 61377, "inv_boots_plate_01", "=q2=Greymane Sabatons", "=ds=#s12#, #a4#", "0.08%" }, { 0, "", "", "" },
{ 61378, "inv_pants_04", "=q2=Greymane Legplates", "=ds=#s11#, #a4#", "0.08%" }, { 61338, "INV_Staff_28", "=q3=Staff of Ushered Ruination", "=ds=#h2#, #w9#", "0.0125%, 0.0338%" },
{ 61379, "inv_bracer_14", "=q2=Greymane Vambraces", "=ds=#s8#, #a4#", "0.08%" }, { 61596, "INV_Weapon_Halberd_09", "=q3=Defender's Glaive", "=ds=#h2#, #w7#", "0.0125%, 0.0338%" },
}, },
KCMarrowspike = { KCMarrowspike = {
{ 83441, "INV_chest_chain_15", "=q3=Splintercage Breastplate", "=ds=#s5#, #a4#", "18%" }, { 83441, "INV_chest_chain_15", "=q3=Splintercage Breastplate", "=ds=#s5#, #a4#", "18%" },
+10 -12
View File
@@ -5364,6 +5364,7 @@ AtlasLoot_Data["AtlasLootSources"] = {
[51046] = AL["Hateforge Quarry"].." - "..AL["Har'gesh Doomcaller"].." (25%)", [51046] = AL["Hateforge Quarry"].." - "..AL["Har'gesh Doomcaller"].." (25%)",
[51047] = AL["Hateforge Quarry"].." - "..AL["Har'gesh Doomcaller"].." (25%)", [51047] = AL["Hateforge Quarry"].." - "..AL["Har'gesh Doomcaller"].." (25%)",
[51048] = AL["Hateforge Quarry"].." - "..AL["Har'gesh Doomcaller"].." (25%)", [51048] = AL["Hateforge Quarry"].." - "..AL["Har'gesh Doomcaller"].." (25%)",
[51217] = AL["Stormwind Vault"].." - "..AL["Black Bride"].." (5%)",
[51249] = AL["Feast of Winter Veil"], [51249] = AL["Feast of Winter Veil"],
[51252] = AL["Wardens of Time"].." - "..AL["Exalted"], [51252] = AL["Wardens of Time"].." - "..AL["Exalted"],
[51256] = AL["Tailoring"].." ("..AL["Skill:"].." 75+)", [51256] = AL["Tailoring"].." ("..AL["Skill:"].." 75+)",
@@ -6170,11 +6171,11 @@ AtlasLoot_Data["AtlasLootSources"] = {
[61332] = AL["Gilneas City"].." - "..AL["Dustivan Blackcowl"].." (25%)", [61332] = AL["Gilneas City"].." - "..AL["Dustivan Blackcowl"].." (25%)",
[61333] = AL["Gilneas City"].." - "..AL["Dustivan Blackcowl"].." (25%)", [61333] = AL["Gilneas City"].." - "..AL["Dustivan Blackcowl"].." (25%)",
[61334] = AL["Gilneas City"].." - "..AL["Dustivan Blackcowl"].." (5%)", [61334] = AL["Gilneas City"].." - "..AL["Dustivan Blackcowl"].." (5%)",
[61335] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%)", [61335] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%, 0.0338%)",
[61336] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%)", [61336] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%, 0.0338%)",
[61337] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%)", [61337] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%, 0.0338%)",
[61338] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%)", [61338] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%, 0.0338%)",
[61339] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%)", [61339] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%, 0.0338%)",
[61352] = AL["Gilneas City"].." - "..AL["Genn Greymane"].." (100%)", [61352] = AL["Gilneas City"].." - "..AL["Genn Greymane"].." (100%)",
[61356] = AL["Leatherworking"].." ("..AL["Skill:"].." 300)", [61356] = AL["Leatherworking"].." ("..AL["Skill:"].." 300)",
[61357] = AL["Leatherworking"].." ("..AL["Skill:"].." 300)", [61357] = AL["Leatherworking"].." ("..AL["Skill:"].." 300)",
@@ -6281,9 +6282,9 @@ AtlasLoot_Data["AtlasLootSources"] = {
[61593] = AL["Stormwind Vault"].." - "..AL["Trash Mobs"].." (0.0013%)", [61593] = AL["Stormwind Vault"].." - "..AL["Trash Mobs"].." (0.0013%)",
[61594] = AL["Stormwind Vault"].." - "..AL["Trash Mobs"].." (0.0013%)", [61594] = AL["Stormwind Vault"].." - "..AL["Trash Mobs"].." (0.0013%)",
[61595] = AL["Stormwind Vault"].." - "..AL["Trash Mobs"].." (0.0013%)", [61595] = AL["Stormwind Vault"].." - "..AL["Trash Mobs"].." (0.0013%)",
[61596] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%)", [61596] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%, 0.0338%)",
[61597] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%)", [61597] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%, 0.0338%)",
[61598] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%)", [61598] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.0125%, 0.0338%)",
[61610] = AL["Duskskitter"].." (33%)", [61610] = AL["Duskskitter"].." (33%)",
[61611] = AL["Duskskitter"].." (33%)", [61611] = AL["Duskskitter"].." (33%)",
[61612] = AL["Duskskitter"].." (33%)", [61612] = AL["Duskskitter"].." (33%)",
@@ -6910,6 +6911,7 @@ AtlasLoot_Data["AtlasLootSources"] = {
[41569] = AL["Dragonmaw Retreat"].." - "..AL["Web Master Torkon"].." (20%)", [41569] = AL["Dragonmaw Retreat"].." - "..AL["Web Master Torkon"].." (20%)",
[41570] = AL["Dragonmaw Retreat"].." - "..AL["Web Master Torkon"].." (20%)", [41570] = AL["Dragonmaw Retreat"].." - "..AL["Web Master Torkon"].." (20%)",
[41874] = AL["Dragonmaw Retreat"].." - "..AL["Web Master Torkon"].." (100%)", [41874] = AL["Dragonmaw Retreat"].." - "..AL["Web Master Torkon"].." (100%)",
[30040] = AL["Dragonmaw Retreat"].." - "..AL["Web Master Torkon"].." (2.5%)",
[41578] = AL["Dragonmaw Retreat"].." - "..AL["Garlok Flamekeeper"].." (25%)", [41578] = AL["Dragonmaw Retreat"].." - "..AL["Garlok Flamekeeper"].." (25%)",
[41579] = AL["Dragonmaw Retreat"].." - "..AL["Garlok Flamekeeper"].." (25%)", [41579] = AL["Dragonmaw Retreat"].." - "..AL["Garlok Flamekeeper"].." (25%)",
[41580] = AL["Dragonmaw Retreat"].." - "..AL["Garlok Flamekeeper"].." (25%)", [41580] = AL["Dragonmaw Retreat"].." - "..AL["Garlok Flamekeeper"].." (25%)",
@@ -7319,8 +7321,4 @@ AtlasLoot_Data["AtlasLootSources"] = {
[54009] = AL["Poisons"].." ("..AL["Skill:"].." 1+)", [54009] = AL["Poisons"].." ("..AL["Skill:"].." 1+)",
[42202] = AL["Engineering"] .." ("..AL["Skill:"].." 300)", [42202] = AL["Engineering"] .." ("..AL["Skill:"].." 300)",
[33146] = AL["Engineering"] .." ("..AL["Skill:"].." 300)", [33146] = AL["Engineering"] .." ("..AL["Skill:"].." 300)",
[61376] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.08%)",
[61377] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.08%)",
[61378] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.08%)",
[61379] = AL["Gilneas City"].." - "..AL["Trash Mobs"].." (0.08%)",
} }