Download
(10Kb)
Download
Updated: 08-29-19 03:27 PM
Pictures
File Info
Compatibility:
Classic (1.13.2)
Updated:08-29-19 03:27 PM
Created:03-25-09 01:45 AM
Downloads:9,195
Favorites:43
MD5:
Categories:ToolTip, Classic - General, Bags, Bank, Inventory

SmartSell (Tooltip Info)  Popular! (More than 5000 hits)

Version: 1.13.2a
by: Aeldra [More]

SmartSell (Classic) can be found here: SmartSell (Classic)


SmartSell
Created by Aeldra (EU-Proudmoore)

SmartSell adds additional item information to any tooltip.
But why it is called SmartSell?
SmartSell originally was designed to display the sell value of any item anywhere.
This functionalty has become integrated into the game as of World of Warcraft patch 3.2
So, what's left, is an addon to customize the item tooltip.





- FAQ -
Q1: How can I configure SmartSell?
A1: Type in the chat "/ssell" or "/smartsell" and you get a list of all commands


- Features -
* Display of the item value all the time
* Display of the item icon
* Display of the item level
* Display of the item id
* Display of the item stack count
* Display of the value of the whole stack
* Display of the price per piece
* Display only on quest rewards
* Different styles
* Supports all tooltips


- Styles -
* 0-2: Default money style with additional information
* 3-6: Fully customized


- Chat commands -
Type /ssell [command] or /smartsell [command] in game

Code:
0-6   -  Changes the display style
sty   -  Cycles through all styles
ii    -  Toggle display of item icons
iis # -  Item icon size #value
ci    -  Toggle display of coin icons
cis # -  Coin icon size #value
lvl   -  Toggle display of the item level
id    -  Toggle display of the item id
sc    -  Toggle display of the item stack count
sp    -  Toggle display of the stack price or single item price
pp    -  Toggle display of the price per piece
val   -  Toggle display of the item value
t     -  Toggle display of the item type
st    -  Toggle display of the item sub type
qo    -  Toggle display of the info only for quest rewards
bl    -  Adds a blank line before the info text
rs    -  Reset all settings to default

- Contact -
Please send me a mail or write a comment if you discover Bugs or have Suggestions.
[email protected]

SmartSell 1.13.2a (Classic)
* Updated TOC
* Fixed loading issue



SmartSell 7.0b
* Fixed mail issue, thanks to Veyska

SmartSell 7.0a
* Updated TOC
* Fixed LUA errors
* Thanks to all who have helped me to keep it alive

SmartSell 6.0b
* Fixed issue with item compare tooltips

SmartSell 6.0a
* Updated code for Warlords of Draenor

SmartSell 5.4a
* Fixed 'ranged' slot compare issue
* Updated TOC

SmartSell 5.0e
* Fixed 'Ranged Weapon' slot compare issue

SmartSell 5.0d
* Fixed possible 'taint' issue in combination with the Glyph UI

SmartSell 5.0c
* Added price per piece to style 0-2

SmartSell 5.0b
* Fixed LUA error in loot frame

SmartSell 5.0a
* Updated code for Mists of Pandaria

SmartSell 4.3a
* Updated TOC

SmartSell 4.1a
* Updated TOC

SmartSell 4.0d
* Fixed possible LUA error in style 0

SmartSell 4.0c
* Fixed wrong calculated reagent value in the skill window
* Improved internal cleanup

SmartSell 4.0b
* Added new option: 'ii' to display item icon in the title
* Added new option: 'iis' to adjust the item icon size
* Added new option: 'ci' to display coin icons in all styles
* Added new option: 'cis' to adjust the coin icon size
* Added new option: 'pp' to add the price per piece
* Updated tooltip styles
* Updated event triggers
Optional Files (0)


Post A Reply Comment Options
Unread 11-30-22, 02:19 AM  
Veyska
A Kobold Labourer
 
Veyska's Avatar

Forum posts: 1
File comments: 56
Uploads: 0
10.0.2 caused too many errors and I was hip-deep in /reloadui and still playing whack-a-mole with errors; *minor* API changes and argument tweaks I can usually handle but this was a major revamp for tooltip scanning and eh... Unless someone with more acumen and interest picks this up I think it's reached EOL. Was a great run while it lasted!

I've swapped to using ItemType and a mod to expose vendor value away from vendors (Auctionator, in my case, but there are numerous options); it's not as efficient or elegant looking but it covers basically the same details so good enough. :-)
Report comment to moderator  
Reply With Quote
Unread 07-31-16, 06:15 PM  
Veyska
A Kobold Labourer
 
Veyska's Avatar

Forum posts: 1
File comments: 56
Uploads: 0
Got a mostly-working copy updated (I finding new bugs to squash), got a set of edits-so-far over on Curse or you could just download and replace Addons/SmartSell/SmartSell.lua with the contents of this Pastebin link . Caveat patch-er, ofc. :-P
Report comment to moderator  
Reply With Quote
Unread 08-06-13, 08:10 PM  
Elenya
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
On Comparing Ranged Weapons

Kind of late with this, but I just found this addon and I really like it!

Anyway, I'm no expert in lua by any means, but they removed the ranged/relic slot and thrown weapons in MoP, so this is what I think should fix your error cprafferty.

Use a text editor and open up the SmartSell.lua file in the SmartSell folder and go to lines 618-620 or search for ""ranged" if you don't have something that shows you line numbers. (this is the only place that mentions ranged) It should say this:

Code:
elseif (iEquipLoc == "INVTYPE_2HWEAPON" or iEquipLoc == "INVTYPE_HOLDABLE" or iEquipLoc == "INVTYPE_SHIELD"
    or iEquipLoc == "INVTYPE_WEAPON" or iEquipLoc == "INVTYPE_WEAPONMAINHAND" or iEquipLoc == "INVTYPE_WEAPONOFFHAND"
    or iEquipLoc == "INVTYPE_RANGED" or iEquipLoc == "INVTYPE_RANGEDRIGHT" or iEquipLoc == "INVTYPE_RELIC" or iEquipLoc == "INVTYPE_THROWN") then
Delete this part:

Code:
or iEquipLoc == "INVTYPE_RANGED" or iEquipLoc == "INVTYPE_RANGEDRIGHT" or iEquipLoc == "INVTYPE_RELIC" or iEquipLoc == "INVTYPE_THROWN"
Make sure you leave the closing parenthesis and the word then at the end of the list.

It should look like this:

Code:
elseif (iEquipLoc == "INVTYPE_2HWEAPON" or iEquipLoc == "INVTYPE_HOLDABLE" or iEquipLoc == "INVTYPE_SHIELD"
    or iEquipLoc == "INVTYPE_WEAPON" or iEquipLoc == "INVTYPE_WEAPONMAINHAND" or iEquipLoc == "INVTYPE_WEAPONOFFHAND") then
That should take care of the error you're getting. (at least I didn't get one when I compared a bow to my dagger and off hand )
Report comment to moderator  
Reply With Quote
Unread 09-03-12, 12:54 PM  
cprafferty
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Just a bug report

Just a bug report

When comparing a Ranged Weapon (in my case a bow, but i've managed to trigger it on wands) it produces the following error.

Message: Interface\AddOns\SmartSell\SmartSell.lua:626: Invalid inventory slot in GetInventorySlotInfo
Time: 09/03/12 18:43:23
Count: 4
Stack: [C]: in function `GetInventorySlotInfo'
Interface\AddOns\SmartSell\SmartSell.lua:626: in function <Interface\AddOns\SmartSell\SmartSell.lua:573>
[C]: ?
[C]: in function `SetHyperlinkCompareItem'
Interface\FrameXML\GameTooltip.lua:232: in function `GameTooltip_ShowCompareItem'
[string "*:OnTooltipSetItem"]:3: in function <[string "*:OnTooltipSetItem"]:1>
[C]: ?
[C]: ?
[C]: ?
[C]: in function `SetInventoryItem'
Interface\FrameXML\BankFrame.lua:38: in function `UpdateTooltip'
Interface\FrameXML\GameTooltip.lua:195: in function <Interface\FrameXML\GameTooltip.lua:185>

Locals: (*temporary) = "RangedSlot"

Anyway, thanks for keeping this addon updated.

*edit* Grammer
Last edited by cprafferty : 09-03-12 at 03:24 PM.
Report comment to moderator  
Reply With Quote
Unread 09-01-12, 05:13 AM  
cprafferty
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Oh WOW () Thank-you so much!!!!
Report comment to moderator  
Reply With Quote
Unread 08-31-12, 02:55 PM  
Aeldra
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 116
Uploads: 18
Re: Thank-you

Added in version 5.0c, have fun
Report comment to moderator  
Reply With Quote
Unread 08-30-12, 05:22 PM  
cprafferty
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Thank-you

Just wanted to say thank-you for this addon, I've been looking for a replacement for QualityID for a while & this hits the nail on the head.

Just one thing is it possible when using styles 0-2 can it also display the the price per piece?

Styles 3-6 show the price per piece in brackets.
Report comment to moderator  
Reply With Quote
Unread 08-29-12, 02:07 PM  
Veyska
A Kobold Labourer
 
Veyska's Avatar

Forum posts: 1
File comments: 56
Uploads: 0
Mists go boom...

SmartSell and 5.0-era loot frames are not playing nice with each other. Tried with and without a loot-window mod (at first I thought it was the other mod), but even with just SmartSell enabled it's throwing errors and failing to replace the sell price in the loot tooltips - the tooltip just shows the item's name, nothing else.


Message: Interface\AddOns\SmartSell\SmartSell.lua:449: attempt to call global 'LootSlotIsItem' (a nil value)
Time: 08/29/12 13:05:40
Count: 1
Stack: Interface\AddOns\SmartSell\SmartSell.lua:449: in function <Interface\AddOns\SmartSell\SmartSell.lua:447>
[C]: in function `SetLootItem'
Interface\FrameXML\LootFrame.lua:270: in function `LootItem_OnEnter'
[string "*:OnEnter"]:1: in function <[string "*:OnEnter"]:1>

Locals: self = GameTooltip {
0 = <userdata>
SetInboxItem = <function> defined =[C]:-1
SetBuybackItem = <function> defined =[C]:-1
shoppingTooltips = <table> {
}
SetMerchantItem = <function> defined =[C]:-1
SetHyperlink = <function> defined =[C]:-1
SetGuildBankItem = <function> defined =[C]:-1
SetTradeTargetItem = <function> defined =[C]:-1
SetTradePlayerItem = <function> defined =[C]:-1
Hide = <function> defined =[C]:-1
SetSendMailItem = <function> defined =[C]:-1
updateTooltip = 0.097999993525445
SetInventoryItem = <function> defined =[C]:-1
MoneyCount = <table> {
}
comparing = false
SetLootRollItem = <function> defined =[C]:-1
SetQuestLogItem = <function> defined =[C]:-1
SetAuctionSellItem = <function> defined =[C]:-1
SetBagItem = <function> defined =[C]:-1
SetTradeSkillItem = <function> defined =[C]:-1
SetAction = <function> defined =[C]:-1
SetLootItem = <function> defined =[C]:-1
SetQuestItem = <function> defined =[C]:-1
SetAuctionItem = <function> defined =[C]:-1
}
slot = 1
(*temporary) = nil
(*temporary) = 1
(*temporary) = "attempt to call global 'LootSlotIsItem' (a nil value)"
PreCheck = <function> defined @Interface\AddOns\SmartSell\SmartSell.lua:359
AddToTooltip = <function> defined @Interface\AddOns\SmartSell\SmartSell.lua:176
Report comment to moderator  
Reply With Quote
Unread 01-22-11, 05:10 AM  
Slaxi81
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Cool thing, thank you : )


have a nice day

slaxi
Last edited by : 01-22-11 at 05:10 AM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 04-29-09, 10:11 AM  
paterbrown
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Thanks for the new version!
You should update the FAQ and Features...
Report comment to moderator  
Reply With Quote
Unread 04-24-09, 01:49 PM  
mcphie
A Deviate Faerie Dragon

Forum posts: 13
File comments: 5
Uploads: 0
Additional thing

Hi
I was using this earlier on and noticed that when you have the roll for an item on group loot, when you hover over the item on the thing where you choose need or greed, it doesn't give the additional information in the tooltip. Is it possible for this feature to be added to this otherwise great addon
Cheers, Jonny
Report comment to moderator  
Reply With Quote
Unread 04-24-09, 06:30 AM  
Aeldra
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 116
Uploads: 18
Added to next version
Report comment to moderator  
Reply With Quote
Unread 04-24-09, 12:24 AM  
paterbrown
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Hi Aeldra...

I have another feature request. Maybe you can add the ItemType?
http://www.wowwiki.com/ItemType
Last edited by paterbrown : 04-24-09 at 12:26 AM.
Report comment to moderator  
Reply With Quote
Unread 04-02-09, 10:13 AM  
paterbrown
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Thanks...

* Added new option: 'bl' adds a blank line before the info text
Thx for add
Report comment to moderator  
Reply With Quote
Unread 03-27-09, 11:14 AM  
paterbrown
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Nice

Thanks for this fine Addon, but have a feature request...
It would be nice it has a blank line before the informations (maybe a new command "bl" ).
Last edited by paterbrown : 03-27-09 at 11:16 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.