Not signed in (Sign In)
  1.  
    Hi,

    I've modified my copy of Auctioneer to add a new feature to the item search field in the search tab. Under Bid, Buyout and Item modes, there's a field where you can add a text string filter. That string already accepts the "|" operator to allow you to look for multiple items at once in the vanilla Auctioneer load.
    The code below, if inserted into the "if (iName and iName ~= "") then" conditional in the filter fuctions below, adds a ">" operator. This operator lets you search for disenchant items. So ">radiant" will filter the results for all items that disenchant into Small or Large Radiant Shards. Of course, Enchantrix needs to be loaded first. And, no, I didn't add code to verify that, yet...

    Code is free for use and modification. I've tested it with the 1.9 load of WoW.

    Eigen (Durotan)

    File: AucFilter.lua
    Functions: planeFilter, percentLessFilter, bidBrokerFilter
    Location: in the itemName conditional


                if (iName and iName ~= "") then
                    local s,e = string.find(iName, ">");
                    if (s) then
                        local reagent = string.lower(string.sub(iName,e+1));
                        local disenchantsTo = Enchantrix_GetItemDisenchants(signature, name, true);
                        local totals = disenchantsTo.totals;
                        local dSig, counts;
                        disenchantsTo.totals = nil;
                        for dSig, counts in disenchantsTo do
                            local itemID;
                            if (dSig) then
                                itemID = tonumber(dSig);
                                if (counts and counts.pct and counts.pct > 1) then
                                    local found,e = string.find(string.lower(counts.name),reagent);
                                    if (found) then
                                        match = true;
                                    end
                                end
                            end
                        end
                        
                    else
                        local i,j = string.find(oName, string.lower(iName))
                        if (i) then match = true end
                    end
                end
  2.  
    Nifty. Going to try this out at once.
  3.  
    I'm trying to edit this to be able to filter by disenchant value using enchantrix broker function. Any idea of being able to do something like :

    local disenchantsTo = Enchantrix_GetItemDisenchants(a.signature, name, true);
    local hsp = disenchantsTo.totals.hspValue;

    will this set the hsp value to be calculated off of its disenchant value?
  4.  
    Posted by: Adie on Jun 9 2006, 07:46 PM
    I'm trying to edit this to be able to filter by disenchant value using enchantrix broker function. Any idea of being able to do something like :

    local disenchantsTo = Enchantrix_GetItemDisenchants(a.signature, name, true);
    local hsp = disenchantsTo.totals.hspValue;

    will this set the hsp value to be calculated off of its disenchant value?


    Yes, but don't expect to make a profit off of the hsp of the DEs. The reason here is twofold:

    1) HSP stands for High Sell Price, so while the enchantment market is cutthroat, and the prices are always changing, you're only going to be looking at the 1 piece of Strange Dust some gold farmer stuck up there for 20g.

    2) The totals numbers are based off of the average HSP of all of the items to which the weapon or armor might disenchant. A really expensive item affecting that list is ameliorated by the percentage by which it shows up (for example, an expensive shard might show up 1.5% of the time, so it's overall contribution to the total is 1.5% of its HSP value). However, even then, the totals value is therefore a guide, and not a strict amount of money you can get out of it in one disenchant and resell.
  5.  
    Thats good to know with respect to the HSP. I'll keep that in mind.
    However, when this code is implemented it get a nil value for Enchantrix_GetItemDisenchants(a.signature, name, true).
    Any idea why? I'm passing it the sig and the name from auctioneer and saving it to the disenchantsTo var. The only thing that I can think of is that GetItmeDisenchants cannot read the a.signature value.

    Thanks,
    Adie
World of Warcraft™ and Blizzard Entertainment™ are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries.