HizurosWoWAddOns / Broker_Everything

A collection of module to display informations about own character, friends, guild and more on minimap or panel addons like Bazooka, ChcolateBar, TitanPanel and more.
GNU General Public License v3.0
10 stars 6 forks source link

[BUG]: Unable to strsplit in the guild module #52

Closed icbat closed 3 months ago

icbat commented 3 months ago

WoW client

WoW Retail

What happened?

Upon login, I get a lua error message regarding the guild module. We did just get our first cross-realm guild member, so maybe it's having trouble splitting their realm/name?

It does not pop back up on /reload, only actual login/logout.

Lua Error Message?

Message: Interface/AddOns/Broker_Everything/modules/guild.lua:146: bad argument #2 to 'strsplit' (string expected, got nil)
Time: Wed Jul 24 15:20:37 2024
Count: 4
Stack: Interface/AddOns/Broker_Everything/modules/guild.lua:146: bad argument #2 to 'strsplit' (string expected, got nil)
[string "@Interface/AddOns/Broker_Everything/modules/guild.lua"]:146: in function <Interface/AddOns/Broker_Everything/modules/guild.lua:139>
[string "@Interface/AddOns/Broker_Everything/modules/guild.lua"]:1032: in function <Interface/AddOns/Broker_Everything/modules/guild.lua:937>

Locals: txt = <table> {
}
numMobile = 0
numMembers = 390
numMembersOnline = 3
(for index) = 1
(for limit) = 390
(for step) = 1
i = 1
mFullName = nil
mRank = nil
mRankIndex = nil
mLevel = nil
mClassLocale = nil
mZone = nil
mNote = nil
mOfficerNote = nil
mOnline = nil
mIsAway = nil
mClassFile = nil
_ = nil
_ = nil
mIsMobile = nil
_ = nil
mStanding = nil
mGUID = nil
ns = <table> {
}
name = "Guild"
knownMemberRaces = <table> {
}
memberLevels = <table> {
}
L = <table> {
 Display client info in tooltip = "Display client info in tooltip"
 Action = "Action"
 Bags = "Bags"
 Repair options = "Repair options"
 GoldProfitDailyDesc = "Display today and yesterday profits in tooltip"
 More names = "More names"
 Notes = "Notes"
 Show quest tags = "Show quest tags"
 Display count of friends if 'Split friends on Broker' enabled otherwise add friends to summary count. = "Display count of friends if 'Split friends on Broker' enabled otherwise add friends to summary count."
 Show BattleTag/RealID = "Show BattleTag/RealID"
 Show champions = "Show champions"
 Reward beyond exalted = "Reward beyond exalted"
 RealmNamesDesc = "Show realm names behind charater names in tooltip"
 Starts = "Starts"
 SizeSuffix-10E3 = "K"
 No data to display... = "No data to display..."
 OptAchievBrokerPointsSess = "Session points"
 Show events = "Show events"
 Sorry = "Sorry"
 <Collected>/<Total> = "<Collected>/<Total>"
 Failed quests = "Failed quests"
 Ignore off-hand = "Ignore off-hand"
 Left in mailbox = "Left in mailbox"
 Currently no battle.net friends online... = "Currently no battle.net friends online..."
 Display empty equipment slots = "Display empty equipment slots"
 Space between currencies = "Space between currencies"
 Switch between time format 24 hours and 12 hours with AM/PM = "Switch between time format 24 hours and 12 hours with AM/PM"
 Short transport menu = "Short transport menu"
 Display count of BattleNet friends on Broker if 'Split friends on Broker' enabled otherwise add BattleNet friends to summary count. = "Display count of BattleNet friends on Broker if 'Split friends on Broker' enabled otherwise add BattleNet friends to summary count."
 Revered = "Revered"
 Show shorter title = "Show shorter title"
 Hide calendar button = "Hide calendar button"
 Learnable = "Learnable"
 Display fps in tooltip = "Display fps in tooltip"
 RegionLabel4 = "Taiwan"
 Show PvP weeklys = "Show PvP weeklys"
 World bosses = "World bosses"
 Reset last repairs = "Reset last repairs"
 buildings = "buildings"
 Display status like AFK in tooltip = "Display status like AFK in tooltip"
 Adjust the count of numbers behind the dot. = "Adjust the count of numbers behind the dot."
 OptArtRelicILvlDesc = "Display relic item level"
 Artifact frame = "Artifact frame"
 FollowersHeaderInfoDesc = "Display additional header lines like '%s'"
 Show country flag = "Show country flag"
 Open achievement = "Open achievement"
 ModDesc-Calendar = "Broker to show calendar events and invitations"
 Coloring limited currencies by total and/or weekly cap. = "Coloring limited currencies by total and/or weekly cap."
 Display total/weekly caps in different colors = "Display total/weekly caps in different colors"
 Addon list = "Addon list"
 Show expire date instead of duration = "Show expire date instead of duration"
 AutoRepair = "AutoRepair"
 BagsQualityNoEmpty = "hide empty entries"
 Item summary by quality mode = "Item summary by quality mode

Other addons?

This error occurs even if Broker: Everything is the only addon loaded.

hizuro commented 3 months ago

Thank you for reporting. Update coming soon.

Greetings Hizuro

icbat commented 3 months ago

Confirmed fixed with the latest update! Thank you!