Get an Epic Experience with Premium


Auction and Economy Login to Add Favorites
  • Project Manager: Boe2
  • WildStar
  • 1,821 Monthly Downloads
  • Supports: API 11
  • 216,674 Total Downloads
  • Updated 10/21/2015
  • Created 03/12/2014
  • 259 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: GNU General Public License version 3 (GPLv3)
  • Newest File: v2.0.7
Support development! **

About CommodityStats


Commoditystats is a tool for tracking the price history of buy- and sell-orders on the Commodity Exchange, so that information can be used to your advantage. It does so by saving the statistics as often as once every hour and present them to you in a nice graph. It has a scan button to perform a (fast!) scan of all commodity items and a history link on every presented commodity item.
It currently features:

  • Save the price history of buy/sell orders, including C.R.E.D.D.
  • Save the history on completed/expired commodity orders
  • Display history graphs and a list of past transactions + total profit for individual items
  • Show estimated profit for commodity items
  • Autofill the best price for buy/sell transactions
  • Set auto undercut/increase options for buy- and sell orders.
  • Reuse the price/quantity of the most recently created buy/sell order
  • Set the default sell quantity to your current stack size
  • Save the position of the Carbine Commodity window.
  • Save the scrollbar position between transactions
  • Replace the 4-second blocking confirm/error window with a non-blocking alertbox

How to use?
Just install the addon and you are done. Additionally, you can type /commoditystats to change a few settings. Commoditystats will gather/save statistics on 2 occasions:

  • Simply by browsing the Commodity Exchange. Every item displayed will be saved.
  • By using the Scan button. Commoditystats will then request every item of every category. Since this takes a few seconds at most, this is the recommended way.

When browsing the Commodity exchange you will see that an extra history button has been added on every item. Click it to display a graph with the price history for that item. The first time you use this, it won't be very exciting since 1 price point results in a very empty graph. As soon as you got 2 timestamps though (differing by hour), statistics should show.

tag a8da7c0bcd09be7fbcf7da62929bff9e7a005bf8 v2.0.7 Author: Jimmy Van Hecke Date: Tue Oct 20 21:30:12 2015 +0200 v2.0.7 commit 255e1b3425938b6a73545ef8f806523e2f873645 Author: Jimmy Van Hecke Date: Tue Oct 20 21:14:44 2015 +0200 fix issue with displaying tooltips from chat


First Previous Page 1 of 22 Next Last
  • #338

    Tracking History is broken since the new CX hotfix I think. Mine doesn't work after yesterdays hotfix..

  • #337

    I found a solution to the timeout issue which's makeshift fix led to the removal of the information at certain places: caching the lastest results in a table.

    I can't speak for memory leaks now but editing the addon to also write the latest data into a cache table made it so fast that it doesn't even stutter shortly when opening the CX and I have no freezing either anymore when opening my listing even though I have tooltips now.


    All I did was adding a global cache

        local cache = {}

    and adding

        cache[nItemId] = stat

    below the normal stat saving in the OnCommodityInfoResultsNative function, then just refer to that cache instead of using the normal function that 'regex'es through the save strings, which to be honest is shit slow...


    I tried to test out the plugin example for CS and the results came in, thanks to the 'regex'ing so slow that it didn't even get 100 commodities tested before timing out.

    Changed that to the same cache trick and BAM, going through 4000 results like nothing.

    Just wanted to share this now, I'll enjoy my tooltips EVERYWHERE now :>

  • #335

    Hy Mate :)

    I have a problem whit the "Transaction History". I play this Game whit a German Wildstar-Client and they doesnt tracking my Sell / Buy statistics under the Transaction Tap. but if i choose the English Version of WIldstar then it works whitout any problems and  they  tracking my Sell / Buy Transactions

    Maybe u can help me to get them to work in my Language?


  • #336

    That's because the tracking of transactions is only done for the english client currently, main reason probably because Carbine offers NO way at all to get the item id from the mail so it has to be done by parsing the item name, and to make things worse did they also choose to pluralize most items, and some even in dumb ways.

    So if you want tracking you gotta play it on english or live without it : /

  • #333

    Does this error being caused by your addon?
    Started having issues with this problem today when
    I click on "My Listings: 132/180"

    "Lua event handler has exceeded 2506 ms.
    stack trace:
    ...SOFT\WildStar\Addons\CommodityStats\Transactions.lua:95: in function 'trim'
    ...NCSOFT\WildStar\Addons\CommodityStats\Statistics.lua:36: in function 'GetLatestStatForItemid'
    ...FT\WildStar\Addons\CommodityStats\CommodityStats.lua:298: in function 'GetItemTooltipForm'
    ui\MarketplaceListings\MarketplaceListings.lua:441: in function 'BuildCommodityOrder'
    ui\MarketplaceListings\MarketplaceListings.lua:252: in function <ui\MarketplaceListings\MarketplaceListings.lua:235>"

  • #334

    That error shouldn't happen anymore with the latest update.

    But in that regard, I've found out WHY the error happens and what carbine seems to have screwed up royally: it seem to be calling the tooltip function for EACH item in a stack, so one full tradeskill bag stack = 250 calls to one item's tooltip.

    I found out because I just had the Guild Bank error out on me because I started stacking up some resources there, and suddenly was it extremely slow upon opening and some stacks were missing.

    After I took a few out temporarly did one item of 249 stack pop up back, but only 1, after I removed more the remaining 248 also showed up and also another stack that was missing before.

  • #330

    One feature I would like is if I could just see top buy order and top sell order and not top 1, top 10 and 50 at the same time in the tooltip.

  • #327 doesn't show in tradeskill bag anymore =(

  • #328

    Yeah, because you otherwise get nothing in the bag shown due to it timing out while generating all the tooltips, a dozen hundred times, because carbine calls them that often...

  • #325

    After the patch the error pops up again after clicking an item link:

    ui\ChatLog\ChatLog.lua:1250: attempt to index local 'wndLink' (a nil value)
    stack trace:
    ui\ChatLog\ChatLog.lua:1250: in function 'fChatLog_OnNodeClick'
    ...aming\NCSOFT\WildStar\Addons\ChatLinks\ChatLinks.lua:516: in function <...aming\NCSOFT\WildStar\Addons\ChatLinks\ChatLinks.lua:514>

  • #324

    I just got the timeout issue in the CX from having too many items listed and that makes it delay extremely on every update of the marketlisting, if I leave that closed it's very quick though so I guess the same tooltip issue as with the Tradeskill bag applies to the marketlisting : (

    Lua event handler has exceeded 2516 ms.
    stack trace:
        ...SOFT\WildStar\Addons\CommodityStats\Transactions.lua:95: in function 'trim'
        ...NCSOFT\WildStar\Addons\CommodityStats\Statistics.lua:36: in function 'GetLatestStatForItemid'
        ...FT\WildStar\Addons\CommodityStats\CommodityStats.lua:362: in function 'GetItemTooltipForm'
        ui\MarketplaceListings\MarketplaceListings.lua:429: in function 'orig'
        ...ns\CommodityStats\libs\GeminiHook\GeminiHook-1.0.lua:108: in function 'BuildCommodityOrder'
        ui\MarketplaceListings\MarketplaceListings.lua:244: in function <ui\MarketplaceListings\MarketplaceListings.lua:229>
        (tail call): ?
        ui\MarketplaceListings\MarketplaceListings.lua:185: in function 'RedrawData'
        ui\MarketplaceListings\MarketplaceListings.lua:566: in function 'OnCommodityAuctionUpdated'
        ui\MarketplaceListings\MarketplaceListings.lua:581: in function <ui\MarketplaceListings\MarketplaceListings.lua:572>

    Lua event handler has exceeded 2501 ms.
    stack trace:
        ui\MarketplaceListings\MarketplaceListings.lua:322: in function 'SharedDrawMain'
        ui\MarketplaceListings\MarketplaceListings.lua:249: in function <ui\MarketplaceListings\MarketplaceListings.lua:229>
        (tail call): ?
        ui\MarketplaceListings\MarketplaceListings.lua:185: in function 'RedrawData'
        ui\MarketplaceListings\MarketplaceListings.lua:547: in function <ui\MarketplaceListings\MarketplaceListings.lua:533>

    Last edited by BloodyRain2k on 10/20/2015 11:30:38 PM
  • #329

    I've temp fixed this issue for myself by modifying it to exclude the listings from tooltip generation.

    Works so far and I can even use outbid again without waiting 2sec for the dialog.

  • #323

    ui\ChatLog\ChatLog.lua:1250: attempt to index local 'wndLink' (a nil value)
    stack trace:
     ui\ChatLog\ChatLog.lua:1250: in function 'orig'
     ...ns\CommodityStats\libs\GeminiHook\GeminiHook-1.0.lua:108: in function <...ns\CommodityStats\libs\GeminiHook\GeminiHook-1.0.lua:107>

  • #322

    Yeah, last update fu**ed it up quite a bit :D

    Just download the older version people!

    Last edited by Arcimon on 10/20/2015 2:38:07 AM
  • #321

    I get this error everytime I open the CX


    ...OFT\WildStar\Addons\CommodityStats\PluginManager.lua:114: attempt to call global 'count' (a number value)
    stack trace:
    ...OFT\WildStar\Addons\CommodityStats\PluginManager.lua:114: in function 'GetPluginCount'
    ...FT\WildStar\Addons\CommodityStats\CommodityStats.lua:198: in function '?'
    ...Addons\MailHelper\libs/GeminiHook/GeminiHook-1.0.lua:111: in function <...Addons\MailHelper\libs/GeminiHook/GeminiHook-1.0.lua:107>

    Last edited by torack155 on 10/20/2015 1:43:05 AM
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Alienware X51 (R3) Giveaway