File Details
AutoSellGrey_15-02-26.zip
- R
- Feb 15, 2026
- 4.25 KB
- 3.8K
- 12.0.1+4
- Retail + 3
File Name
AutoSellGrey_15-02-26.zip
Supported Versions
- 12.0.1
- 12.0.0
- 5.5.3
- 2.5.5
- 1.15.8
Bug Fixes
- Fixed SavedVariables being reset on every login. The settings initialization was running at file load time — before
ADDON_LOADEDfires — so saved preferences were always overwritten with defaults. Initialization now happens inside theADDON_LOADEDhandler with proper default merging. - Fixed broken merchant validation logic. The condition
not MerchantFrame.selectedTab == 1suffered from operator precedence issues (notbinds tighter than==), making the check always evaluate tofalse. Removed this flawed guard entirely — theMERCHANT_SHOWevent only fires for actual merchants. - Fixed sell queue continuing after closing the merchant window.
C_Timer.Aftercallbacks would keep firing even after the player walked away from the vendor, causing errors. AddedMERCHANT_CLOSEDevent handling and anisSellingflag to gracefully stop the queue. - Fixed potential nil error from
GetItemInfo. If an item isn't cached,GetItemInfocan returnnil. Added a nil-check onitemRaritybefore comparing it. - Removed chat spam on every vendor visit. The "Sell limit disabled" message was printed every time a merchant window opened. Removed this redundant notification.
- Optimized sell queue processing. Replaced
table.remove(sellQueue, 1)(O(n) per call) with an index-based counter for better performance with large inventories. - Unregisters
ADDON_LOADEDafter initialization to avoid unnecessary event processing for other addons.
New Features
- Slash commands:
/asgor/autosellgreywith the following subcommands:/asg on— enable auto sell/asg off— disable auto sell/asg limit— toggle the 12-item sell limit/asg settings— open the settings panel/asg(no args) — display help
- Item count in sell summary. The completion message now shows how many items were sold (e.g., "Sold 5 grey items for: 1g 23s 45c").
- Full localization of all new strings (Ukrainian / English).