Skip to content

Commit

Permalink
Merge pull request Softrix#44 from ynazar1/roster_update_bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Softrix authored Oct 2, 2024
2 parents d0c79b0 + a32a36a commit adc24b8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
13 changes: 8 additions & 5 deletions SmartBuff.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
-- Cast the most important buffs on you, tanks or party/raid members/pets.
-------------------------------------------------------------------------------

SMARTBUFF_DATE = "030824";
SMARTBUFF_DATE = "011024"; -- EU Date

SMARTBUFF_VERSION = "r27." .. SMARTBUFF_DATE;
SMARTBUFF_VERSION = "r30." .. SMARTBUFF_DATE;
-- Update the NR below to force full reload of SB_Data on first login
SMARTBUFF_VERSIONNR = 110000;
SMARTBUFF_VERSIONNR = 110002;
SMARTBUFF_TITLE = "SmartBuff";
SMARTBUFF_SUBTITLE = "Supports you in casting buffs";
SMARTBUFF_DESC = "Cast the most important buffs on you, your tanks, party/raid members/pets";
Expand All @@ -23,7 +23,7 @@ local SmartbuffPrefix = "Smartbuff";
local SmartbuffSession = true;
local SmartbuffVerCheck = false; -- for my use when checking guild users/testers versions :)
local buildInfo = select(4, GetBuildInfo())
local SmartbuffRevision = 27;
local SmartbuffRevision = 30;
local SmartbuffVerNotifyList = {}

local SG = SMARTBUFF_GLOBALS;
Expand Down Expand Up @@ -703,7 +703,10 @@ function SMARTBUFF_OnEvent(self, event, ...)
end
end

if event == "ZONE_CHANGED_NEW_AREA" or event == "GROUP_ROSTER_UPDATE" then
-- TODO: This is a blizzard bug workaround that spams GROUP_ROSTER_UPDATE during delves
local name, instanceType, difficultyID, difficultyName, maxPlayers, dynamicDifficulty, isDynamic, instanceID, instanceGroupSize, LfgDungeonID =
GetInstanceInfo()
if event == "ZONE_CHANGED_NEW_AREA" or (event == "GROUP_ROSTER_UPDATE" and instanceType ~= "scenario") then
SMARTBUFF_SetTemplate()
end
end
Expand Down
2 changes: 1 addition & 1 deletion SmartBuff.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 110002
## Title: |TInterface\Addons\Smartbuff\Icons\IconEnabled:0|t SmartBuff |cffffffff|r by |cff00ff00Codermik & Aeldra|r
## Version: 28.110002
## Version: 30.110002
## Author: |cff20d2ffCodermik & Aeldra|r (EU-Proudmoore)
## Contributing Author: |cff20d2ffSpeedwaystar
## Notes: Cast the most important buffs on you or party/raid members/pets. Use /sbm for options menu.
Expand Down
5 changes: 3 additions & 2 deletions localization.en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ SMARTBUFF_WHATSNEW = "\n\n|cffffffff Whats new:|r\n\n"
.." |cffffffffDragonflight version by Codermik, additional retail\n"
.." programming by Speedwaystar/MrWizard.\n"
.."\n\n"
.." Changes in r28.140824:\n\n"
.." * Updated TOC\n"
.." Changes in r30.011024:\n\n"
.." * Delve performance bug fix.\n"
.." * Adding hearty food missing items\n"
.."\n\n"
.." |c0000FF96Many thanks to Chris S., Samantha R. and\n"
.." Twilight's Sundries for their kind donations.\n"
Expand Down

0 comments on commit adc24b8

Please sign in to comment.