• Warhammer Online Addons
  • Warhammer Online
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

NPC Item Sale Price

  Download the Curse Client

Project Updated:
Files Updated: 10-25-2008
Supports Game Version: Beta 3.0
Category: Bags & Inventory
Tags:

[Edit Tags]

Project Manager: Sniperumm
Additional Authors: No additional authors
Current Version: 0.3.2
License: GNU General Public License version 3 (GPLv3)
Avg Daily DL (last 30 days): 50
Downloads Total: 22,328
Favorites: 299
Comments: 60
  • Contests
  • About NPC Item Sale Price
  •  

Displays the NPC sale price on any item that can be sold within the pop up window. Helpful for when your looting items that you don't want but can sell.

So your bags are full, you have an item worth 1 silver and you can loot one worth 4 silver. Without this mod you'd most likely ignore it! But with it you make yourself 3 extra silver! :)

Updated with alot of help from Perkus :) Thanks buddy.

Dependencies

LibSlash by Aiiane

Normal Commands

/nisp on - Turns on NISP
/nisp off - Turns off NISP

Debug Commands (0.3.1 onwards)

/nisp debug on - Turns debugging on
/nisp debug off - Turns debugging off
/nisp debug dumpclear - Clears dumped items

Please Read
Debugging is to be used when you've found an item that has no price and contains "no sell price".

Follow these steps:

  • Put item into backpack
  • Turn on the debugging (/nisp debug on)
  • Hold down shift key + click right mouse button
  • Do the last step for every item then continue
  • Type /reloadui (This will reload all ui elements and also store the data in a file)
  • Now go to the following on your computer: (where ever you installed it)\Warhammer Online - Age of Reckoning\user\interface\AllCharacters\NPC Item Sale Price
    \
  • Email SavedVariables.lua to nispdebugfiles@sniperumm.co.uk with your name.

Please remember to download the latest version as it will contain the latest bug fixes!

  • Downloads (6)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  NPC Item Sale Price 0.3.2 Release Beta 3.0 11,184 10/25/2008
  NPC Item Sale Price 0.3.1.2 Beta Beta 3.0 553 10/1/2008
  NPC Item Sale Price 0.3.1.1 Release Beta 3.0 4,785 9/26/2008
  NPC Item Sale Price 0.3.1 Release Beta 3.0 40 9/24/2008
  NPC Item Sale Price 0.3 Release Beta 3.0 76 9/22/2008
Advertisement
  • Comments

Add Comment

Add

You need to or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Vexarana said 

    For some reason certain items for Rally Rewards do not display a tooltip box on mouseover, but only with this add-on?

    Like, I will be choosing a rally reward for the middle tier, and the first 2 left-most rewards will show tooltips and NPC sell prices. However the third one will show no tool-tips at all. And I cannot pick it.

    Reply Report Permalink
  • Is it possible to add additional funcationality for a stack of items? ie List the sell price of the stack, and also the price of an individual item?

    Reply Report Permalink
  • Seconded! Loved that functionality in WoW.

    Reply Report Permalink
  • Nemes said 

    I get the following error message whenever the addon loads:
    Unable to open file: user/interface/AllCharacters/NPC Item Sale Price/SavedVariables.lua

    This addon is nicely settled down - is it time to remove debug mode and the SVs?

    Reply Report Permalink
  • Perkus said 

    Yeah, I've been seeing the same error. I think it only shows up in the /debug trace, though? So it's pretty benign. Looking into it, the SavedVariables.lua is exactly where it should be, but it's empty and size 0. I don't know much about the save/restore mechanism. I'm guessing it's crapping out when it tries to save the variables because one of them is 'DumpItemsTable', which is a table that gets initialized to {} but never used unless you actually do some debugging. I think that code was only put in there to try to diagnose the mysterious price difference bug (since fixed), so it could probably go. I don't know if Sniperumm is inclined to try and fix it up, I suppose I could. A quick hack solution is to leave the .lua file alone and remove the 'DumpItemsTable' variable from the nisp.mod's list of saved variables. I haven't tested that yet, but I suspect it will work. The SVs can't just be totally removed because they remember whether the module is enabled or not. Mind you I don't know why you'd have this installed if you disabled it, it doesn't do anything else! :-)

    Reply Report Permalink
  • Nemes said 

    The enable/disable slash commands aren't necessary - it can be disabled via the ingame menu or by uninstalling. Unnecessary configuration leads to Microsoft style bloatware.

    LibSlash and SV can be removed.

    Reply Report Permalink
  • Hi Perkus. Thanks for putting in the effort to fix the addon :) I've been very busy with RL (work etc) that I haven't had to time to touch any of my addons.. the game included! :(

    I'll be replying to your email soon and the upto date version (by Perkus) will be thrown up later today.

    Thanks again buddy :)

    Reply Report Permalink
  • Perkus said 

    OK, I spent the night really digging into it, and managed to figure it all out and even fix & test the code :-) I'm sending a ready-to-go version of the changes to Sniperumm, and hopefully he can put up an update here soon.

    The basic mystery was that if you point your mouse at an item which is equippable (i.e. weapons & armor), you will generate TWO tooltips whenever you have an item equipped in that slot for comparison purposes. The code was displaying the price of the item you have equipped, not the one you're mousing over. I managed to clean that up & make it work nice with even multiple comparison items (like jewelry using preciousss!) and to handle broken items much more cleanly that it was doing before... Note the the slash interface also didn't work any more in v3.1.2 due to UI changes. That's now fixed as well.

    Reply Report Permalink
  • It is very strange tbh. I may just disable the armor and weapons pricing like Perkus said. Until a solution is found that is :)

    Reply Report Permalink
  • Mulesh said 

    Made some discoveries that may help in fixing this.

    Item tooltips on the player window (equiped items) are showing the same sell value at merchant and away (while they are equiped).

    If you drag an armor or weapon item to the hotbar, THAT tooltip shows the same sell value at merchant and away.

    Seems to only be affecting armor and weapon tooltips while the item is moused over inside the backpack. This made me think it was another addon messing things up so I disabled them all but had no change.

    Ive looked through the Backpack code, the InteractionStore code, and the Tooltip code. I cant find anything.

    Reply Report Permalink
  • Perkus said 

    If it's right for everything but armor & weapons, how about then you just patch it to disable showing any values for those types of items, and leave in it for everything else? That way it won't confuse anyone when it's wrong, and still be very useful when it's right. I'm starting to get annoyed trying to remember when I can trust this thing & when I can't...

    Reply Report Permalink
  • Mulesh said 

    The Merchant and the debug generated lua file both show the same value. Its only the in-game NISP enhanced tooltip that is showing a different value, and thats only happening for equipable items.

    The math for the phenomenon does not add up correctly to suggest sell bonus. Some items are up, some are down (at the same merchant).

    Its gotta be a bug in Mythic's code when trying to request sell value away from a merchant. Ive looked over their code for backpack and item tooltips and cant find any odd function calls or weird calculations for the sell value.

    Good luck Sniperumm.

    Reply Report Permalink
  • z00g said 

    Pure guessing: maybe there's a problem with prices when buy and sell bonuses are active in an area?

    Another thing: it might help if anyone who spots the difference in prices could check which price is correct merchant's or NISP's by checking the difference between money before and after selling. It might be that merchant's price is messed up, not NISP's.

    Reply Report Permalink
  • Mulesh said 

    The items are all armor or weapon types. All other price values are the same as shown at a merchant. I have yet to come across a gear type item where NISP and the merchant show the same value.

    Something is happening to the tooltip itself as a result of NISP "hooking" it, and its only doing it for gear type items.

    Reply Report Permalink
  • Question. Was kind of items where they?

    Reply Report Permalink
  • As said before NISP just uses the built in functions. It doesn't create its own tooltip. It uses all the same functions the merchant uses.

    Thankyou for this info though matey. I will look deeper into Mythics maze of code and see if I can find the problem! :) Might have to rewrite some of it myself, but if that solves the problem then so be it!!!!!!!!

    :)

    Reply Report Permalink
  • Mulesh said 

    NISP gives incorrect sell prices for gear items. I got a few items in my inventory and used the debug method to get the item info. When I looked at the SavedVariables file, all the prices were the same as they were on the in-game merchant. I'll repeat, away from the store NISP shows the wrong price but the SavedVariables file shows the correct price. Its just the actual NISP tooltip that is "showing" the wrong price.

    Item / merch / NISP
    itemA / 6.64 / 7.56
    itemB / 13.92 / 8.83
    itemC / 16.2 / 12
    itemD / 15.7 / 9.6

    NISP prices some gear too high and some too low. I cant find a pattern, but something is altering the "shown" price away from merchants. NISP is GETTING the correct price, but its just showing some modified amount.

    Reply Report Permalink
  • Send me the item data via the debug method I have provided vilcoxon. That way I can see what price Mythic has set for the item.

    All I do is use their API function to process the item to give the sell price. Each sell price is contained in the item data. Why some items give incorrect sell values is confusing. If you provide me with some data I can look into it a bit deeper.

    Reply Report Permalink
  • wilcoxon said 

    NISP seems to price gear incorrectly. On my current character, with no zone bonus for merchant, here is what I see (price is real/NISP):

    Initiate's Lash: 1s68c/4s20c
    Gale Runner's Softsoles: 4s80c/1s92c
    Gale Runner's Emberstaff: 6s/4s80c

    As can be seen, the real sell price is always higher but not by any set amount or percent that I can see.

    Reply Report Permalink
  • The price of the item is contained within the itemData vince.

    sellPrice = DataUtils.GetItems()[slot].sellPrice

    Reply Report Permalink
  • Similar Addons
  •  

Average downloads per day

  1. 267 Character View Expanded Stats (CaVES) Buffs & Debuffs, Bags & Inventory...
  2. 244 TokenMachine PvP, and Bags & Inventory
  3. 220 nRarity Bags & Inventory
  4. 137 LootWatch Bags & Inventory
  5. 125 WaaaghBar Auction & Economy, and Bags...