Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
Recount - Pet battles cause recount to open
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Addons - Help / Support
Author
Message
394
Zaranthos
[Mentally Stable]
Status: Offline
(since 18-09-2023 21:28)
Joined: 10 Jan 2019
Posts: 80
,
Topics: 51
Location:
United States
Reputation:
52.7
Posted: 10-01-2019, 06:03:56
| Translate post to:
... (
Click for more languages
)
Modify GUI_Main.lua to prevent recount opening when starting and finishing a pet battle.
Add this code:
Code:
Recount:RegisterEvent("PET_BATTLE_OPENING_START", function() Recount.MainWindow:Hide(); end)
Recount:RegisterEvent("PET_BATTLE_CLOSE", function() Recount.MainWindow:Show(); end
So this section looks like this. This will just suppress recount windows pop-ups during and after pet battles.
Code:
--Recount:ResizeMainWindow()
Recount:SetupMainWindowButtons()
Recount.MainWindow.timeid = Recount:ScheduleRepeatingTimer("RefreshMainWindow", 1, true)
if not Recount.db.profile.MainWindowVis then
theFrame:Hide()
end
Recount:RegisterEvent("PET_BATTLE_OPENING_START", function() Recount.MainWindow:Hide(); end)
Recount:RegisterEvent("PET_BATTLE_CLOSE", function() Recount.MainWindow:Show(); end
end
Source:
https://www.wowace.com/projects/recount/issues/1040
0
0
Back to top
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Addons - Help / Support
The time now is 03-12-2024, 07:09:15
Copyright info
Based on phpBB
ro
/
com
B
Login
I forgot my password
World of Warcraft
Login for more...
Download WoW 7.3.5
Misc
eSports
Achievements
Buy reputation with votes
Reputation trades
Forum rules
Ban list
Members list
User guide (FAQ)
World of Warcraft
View details