promotional bannermobile promotional banner

ZulgAuras - TradeSkillUI.lua:260 temp fix

This addon fixes Blizzard’s TradeSkill UI error by safely converting string values to numbers to prevent type comparison crashes.

This addon patches a known Blizzard UI bug where the TradeSkill frame's Lua code at /Mists/Blizzard_TradeSkillUI.lua:260 attempts to compare a number with a string. This happens because some trade skill info fields, like currentRank or startingRank, are sometimes returned as strings instead of numbers, causing Lua type errors that break the UI or cause errors to spam in the chat.

To fix this, the addon hooks into the GetTradeSkillInfo function and ensures that key numeric return values are safely converted from strings to numbers before the Blizzard UI processes them. This prevents the type comparison error, allowing the TradeSkill UI to update smoothly without errors.

The addon does not modify Blizzard’s original code but safely wraps the function to avoid crashes and errors related to data type mismatches in the TradeSkill interface.

Safe to remove addon once they have fixed it, soon™... 

The ZulgAuras - TradeSkillUI.lua:260 temp fix Team

profile avatar
  • 8
    Projects
  • 7.2K
    Downloads

More from ZulgAurasView all