Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
Atentie! Aceasta este versiunea LowFi a topicului! Click
aici
pentru varianta originala.
Recount - Pet battles cause recount to open
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Addons - Help / Support
Author
Message
456
Zaranthos
[Mentally Stable]
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
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Addons - Help / Support
The time now is 04-08-2025, 08:08:58
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