Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix qo l lag #297

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions APR-Core/ChangeLog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@ end

function APR.changelog:SetChangeLog()
local news = {
{ "v3.3.0", "2024-06-03" },
{ "v3.3.1", "2024-06-03" },
"#Features",
"- Reduce the number of renderings of the Quest Order Liste Frame to no longer cause freezes",
"- Reduce the number of renderings of the Current Step Frame to no longer cause freezes",
"- Added APR prefix to utils function to avoid conflict with other addon",

"#Bug",
"- Fixed update of Qpart objective during combat",
"- Fixed TOC addon version to display",
"- Removed unwanted Qpart 29765-1 (Cryin' My Eyes Out)",
"- Fix TOC addon version to display",
"- Updated Pickup 31261 to dropQuest (Captain Jack's Dead)",
"- Merged quest 29717 with 29716 pickup step in Jade forest (Down Kitty!)",
"- Fixed waypoint questID for Jade forest",
"- Added 81638 and 81976 quest for mop remix in horde Jade forest (Home Is Where the Hearthstone Is, Bazaar, Isn't It?)",
"- Fixed Waypoint, UseHS, UseFlightPath questID if you reset ou forceReset your routes",

{ "v3.2.9", "2024-06-01" },
"#Features",
Expand Down
2 changes: 1 addition & 1 deletion APR-Core/CurrentStep.lua
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ function APR.currentStep:AddStepButton(questsListKey, itemID, attribute)
return
end

local IconButton = CreateFrame("Button", "APR_ItemButton", container,
local IconButton = CreateFrame("Button", "$parentIconButton", container,
"SecureActionButtonTemplate, BackdropTemplate")
IconButton:SetSize(25, 25)
PositionStepButtons(container, IconButton)
Expand Down
2 changes: 1 addition & 1 deletion APR-Core/QuestHandler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ APR_QH_EventFrame:SetScript("OnEvent", function(self, event, ...)
if (UnitGUID("mouseover") and UnitName("mouseover")) then
local targetGUID, targetName = UnitGUID("mouseover"), UnitName("mouseover")
local targetID = select(6, strsplit("-", targetGUID))
if (type == "Creature" and steps.DroppableQuest.MobId == tonumber(targetID)) then
if (targetID and steps.DroppableQuest.MobId == tonumber(targetID)) then
tinsert(APRData.NPCList[targetID], targetName)
end
end
Expand Down
5 changes: 3 additions & 2 deletions Routes/MistsOfPandaria/MistsOfPandaria_Alliance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -852,15 +852,16 @@ if APR.Faction == "Alliance" then
Range = 5,
Coord = { y = 793.10003662109, x = -2610.6999511719 }
},

{ Done = { 29998 }, Zone = 371, Coord = { y = 839.29998779297, x = -2476.6999511719 } },
{ PickUp = { 30001, 30002 }, Zone = 371, Coord = { y = 839.29998779297, x = -2476.6999511719 } },
{
Qpart = { [29999] = { 4 } },
Zone = 371,
Fillers = { [30005] = { 1 } },
Range = 5,
Coord = { y = 843.90002441406, x = -2457.1999511719 }
},
{ Done = { 29998 }, Zone = 371, Coord = { y = 839.29998779297, x = -2476.6999511719 } },
{ PickUp = { 30001, 30002 }, Zone = 371, Coord = { y = 839.29998779297, x = -2476.6999511719 } },
{
Qpart = { [30002] = { 1 }, [30001] = { 1 } },
Zone = 371,
Expand Down
4 changes: 2 additions & 2 deletions Routes/MistsOfPandaria/MistsOfPandaria_Horde.lua
Original file line number Diff line number Diff line change
Expand Up @@ -954,15 +954,15 @@ if APR.Faction == "Horde" then
Range = 5,
Zone = 371
},
{ Coord = { x = -2476.6999511719, y = 839.29998779297 }, Done = { 29998 }, Zone = 371 },
{ Coord = { x = -2476.6999511719, y = 839.29998779297 }, PickUp = { 30001, 30002 }, Zone = 371 },
{
Coord = { x = -2457.1999511719, y = 843.90002441406 },
Fillers = { [30005] = { 1 } },
Qpart = { [29999] = { 4 } },
Range = 5,
Zone = 371
},
{ Coord = { x = -2476.6999511719, y = 839.29998779297 }, Done = { 29998 }, Zone = 371 },
{ Coord = { x = -2476.6999511719, y = 839.29998779297 }, PickUp = { 30001, 30002 }, Zone = 371 },
{
Coord = { x = -2467.3000488281, y = 856.10003662109 },
ExtraLineText = "CLICK_ON_THE_INFESTED_BOOKS_THEN_CLICK_ON_THE_BOOKWORMS_THAT_COME_OUT_TO_SQUISH_THEM",
Expand Down