<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: ReagentCost 1800.3</title>
	<atom:link href="http://fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/</link>
	<description>Superior Gadget &#038; Doodad Emporium</description>
	<pubDate>Tue, 06 Jan 2009 14:17:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Gazmik Fizzwidget</title>
		<link>http://fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-425</link>
		<dc:creator>Gazmik Fizzwidget</dc:creator>
		<pubDate>Thu, 17 Nov 2005 15:54:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-425</guid>
		<description>&lt;p&gt;Actually, you can already do this -- the &lt;code&gt;/rc minprofit&lt;/code&gt; command controls the cutoff for how profitable an item needs to be to get included in the report, and how the report is sorted. Typing &lt;code&gt;/rc minprofit 10000&lt;/code&gt; will list only items whose profit is at least1 gold (1 gold = 10000 copper) and sort the report by profit amount. Typing &lt;code&gt;/rc minprofit 25%&lt;/code&gt; will list only items whose profit is at least 25% of materials cost and sort the report by profit margin.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Actually, you can already do this &#8212; the <code>/rc minprofit</code> command controls the cutoff for how profitable an item needs to be to get included in the report, and how the report is sorted. Typing <code>/rc minprofit 10000</code> will list only items whose profit is at least1 gold (1 gold = 10000 copper) and sort the report by profit amount. Typing <code>/rc minprofit 25%</code> will list only items whose profit is at least 25% of materials cost and sort the report by profit margin.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Fredrick Stone</title>
		<link>http://fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-422</link>
		<dc:creator>Fredrick Stone</dc:creator>
		<pubDate>Thu, 17 Nov 2005 09:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-422</guid>
		<description>&lt;p&gt;I use reagentcost regularly - however, I have a suggestion on how to improve  the report it creates.&lt;/p&gt;

&lt;p&gt;As it is, I can list items with a certain expected profit.   However, that is not nearly as useful as being able to know the expected profit margin.&lt;/p&gt;

&lt;p&gt;An example.&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;&lt;code&gt;I can make item A for 1G and sell for 1.15Gs on the average.&lt;/p&gt;

&lt;p&gt;I can make item B for 10s and sell for 25s on the average.
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;In both cases the absolute profit per item is the same, 15s.  However - item B is a vastly superior choice - I can make 10x B for the same cost as a single A but the total profit will be 1G50s, as opposed to just 15s.&lt;/p&gt;

&lt;p&gt;Another example- "/reagentcost report" listed an item with material cost of  47G and expected sale value of 48G, with an expected profit of 1G.  Sounds fine, but as the profit margin is only 2%, it would be a waste of time and money to make this item...fluctuations in AH prices and the commission would mean a loss for me.&lt;/p&gt;

&lt;p&gt;What I would like to suggest is a new command, where I could get a list of  items I can make with an expected profit percentage, with a reasonable default being maybe 25%.&lt;/p&gt;

&lt;p&gt;By looking at the profit margin (as a percentage of the material cost) as opposed to the absolute profit, the addon will be MUCH more useful for people trying to make items for profit.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I use reagentcost regularly - however, I have a suggestion on how to improve  the report it creates.</p>

<p>As it is, I can list items with a certain expected profit.   However, that is not nearly as useful as being able to know the expected profit margin.</p>

<p>An example.</p>

<p><pre><code>I can make item A for 1G and sell for 1.15Gs on the average.</code></pre></p>

<p>I can make item B for 10s and sell for 25s on the average.
</p>

<p>In both cases the absolute profit per item is the same, 15s.  However - item B is a vastly superior choice - I can make 10x B for the same cost as a single A but the total profit will be 1G50s, as opposed to just 15s.</p>

<p>Another example- &#8220;/reagentcost report&#8221; listed an item with material cost of  47G and expected sale value of 48G, with an expected profit of 1G.  Sounds fine, but as the profit margin is only 2%, it would be a waste of time and money to make this item&#8230;fluctuations in AH prices and the commission would mean a loss for me.</p>

<p>What I would like to suggest is a new command, where I could get a list of  items I can make with an expected profit percentage, with a reasonable default being maybe 25%.</p>

<p>By looking at the profit margin (as a percentage of the material cost) as opposed to the absolute profit, the addon will be MUCH more useful for people trying to make items for profit.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Enchanter</title>
		<link>http://fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-376</link>
		<dc:creator>Enchanter</dc:creator>
		<pubDate>Fri, 28 Oct 2005 23:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-376</guid>
		<description>&lt;p&gt;I keep getting an error message (v 1800.3) saying "Reagent cost is installed but non-functional; can't find Auctioneer, KC_Items (with auction module) or AuctionMatrix.&lt;/p&gt;

&lt;p&gt;However, Auctioneer v 3.1.0.0526 is installed and turned on. &lt;/p&gt;

&lt;p&gt;Any ideas?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I keep getting an error message (v 1800.3) saying &#8220;Reagent cost is installed but non-functional; can&#8217;t find Auctioneer, KC_Items (with auction module) or AuctionMatrix.</p>

<p>However, Auctioneer v 3.1.0.0526 is installed and turned on. </p>

<p>Any ideas?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous dude</title>
		<link>http://fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-374</link>
		<dc:creator>Anonymous dude</dc:creator>
		<pubDate>Fri, 28 Oct 2005 11:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-374</guid>
		<description>&lt;p&gt;The way reagent cost calculates total cost by using other recipes creates a loop with alchemic transmutes (fire-&#62;earth-&#62;water-&#62;air-&#62;fire) making auctioneer put out a overflow error&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The way reagent cost calculates total cost by using other recipes creates a loop with alchemic transmutes (fire-&gt;earth-&gt;water-&gt;air-&gt;fire) making auctioneer put out a overflow error</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Roy</title>
		<link>http://fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-370</link>
		<dc:creator>Jonathan Roy</dc:creator>
		<pubDate>Wed, 26 Oct 2005 20:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-370</guid>
		<description>&lt;p&gt;The code got a bit messed up via html formatting, I forgot to use "pre" blocks or similar, sorry. :) But hopefully it's of use for you in version 1800.4!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The code got a bit messed up via html formatting, I forgot to use &#8220;pre&#8221; blocks or similar, sorry. <img src='http://fizzwidget.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> But hopefully it&#8217;s of use for you in version 1800.4!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Roy</title>
		<link>http://fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-369</link>
		<dc:creator>Jonathan Roy</dc:creator>
		<pubDate>Wed, 26 Oct 2005 20:11:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-369</guid>
		<description>&lt;p&gt;I went ahead and added support myself. :) It seems to work great. Manually adding up the prices of each item in my smithing window, the expected cost was the same as the addon's estimate cost in the trade window. Forgive lack of a true ./patch file please, don't have those tools at home on my Windows box...&lt;/p&gt;

&lt;p&gt;Add WOWEcon_PriceMod into the .toc.&lt;/p&gt;

&lt;p&gt;For detection of the addon in FRC_OnLoad():&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;&lt;code&gt;    elseif (WOWEcon_Enabled ~= nil) then
            FRC_PriceSource = "WOWEcon_PriceMod";
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Down in FRC_TypicalItemPrice:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;&lt;code&gt;    elseif (FRC_PriceSource == "WOWEcon_PriceMod") then
            return FRC_WOWEcon_PriceModItemPrice(itemLink);
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;And finally the big function:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;&lt;code&gt;function FRC_WOWEcon_PriceModItemPrice(itemLink)
    local medianPrice, medianCount, serverData = WOWEcon_GetAuctionPrice_ByLink(itemLink);
    if (medianCount == nil) then medianCount = 0 end&lt;/p&gt;

&lt;p&gt;local _, _, itemID  = string.find(itemLink, ".Hitem:(%d+):%d+:%d+:%d+.h%[[^]]+%].h");
itemID = tonumber(itemID) or 0;&lt;/p&gt;

&lt;p&gt;local buyFromVendorPrice = 0;
local sellToVendorPrice = 0;
if (FRC_VendorPrices[itemID]) then
    buyFromVendorPrice = FRC_VendorPrices[itemID].b;
    sellToVendorPrice = FRC_VendorPrices[itemID].s;
end&lt;/p&gt;

&lt;p&gt;if (sellToVendorPrice == 0) then
    sellToVendorPrice = WOWEcon_GetVendorPrice_ByLink(itemLink);
end&lt;/p&gt;

&lt;p&gt;if (sellToVendorPrice == nil) then sellToVendorPrice = 0 end&lt;/p&gt;

&lt;p&gt;if (buyFromVendorPrice &#62; 0) then
    return buyFromVendorPrice, -1; -- FRC_VendorPrices lists only the primarily-vendor-bought tradeskill items
elseif (medianCount == 0 or medianPrice == nil) then
    return sellToVendorPrice * 3, 0; -- generally a good guess for auction price if we don't have real auction data
else
    return medianPrice, math.floor((math.min(medianCount, MIN_SCANS) / MIN_SCANS) * 1000) / 10; 
end
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;end&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I went ahead and added support myself. <img src='http://fizzwidget.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> It seems to work great. Manually adding up the prices of each item in my smithing window, the expected cost was the same as the addon&#8217;s estimate cost in the trade window. Forgive lack of a true ./patch file please, don&#8217;t have those tools at home on my Windows box&#8230;</p>

<p>Add WOWEcon_PriceMod into the .toc.</p>

<p>For detection of the addon in FRC_OnLoad():</p>

<p><pre><code>    elseif (WOWEcon_Enabled ~= nil) then
            FRC_PriceSource = "WOWEcon_PriceMod";
</code></pre></p>

<p>Down in FRC_TypicalItemPrice:</p>

<p><pre><code>    elseif (FRC_PriceSource == "WOWEcon_PriceMod") then
            return FRC_WOWEcon_PriceModItemPrice(itemLink);
</code></pre></p>

<p>And finally the big function:</p>

<p><pre><code>function FRC_WOWEcon_PriceModItemPrice(itemLink)
    local medianPrice, medianCount, serverData = WOWEcon_GetAuctionPrice_ByLink(itemLink);
    if (medianCount == nil) then medianCount = 0 end</code></pre></p>

<p>local _, _, itemID  = string.find(itemLink, &#8220;.Hitem:(%d+):%d+:%d+:%d+.h%[[^]]+%].h&#8221;);
itemID = tonumber(itemID) or 0;</p>

<p>local buyFromVendorPrice = 0;
local sellToVendorPrice = 0;
if (FRC_VendorPrices[itemID]) then
    buyFromVendorPrice = FRC_VendorPrices[itemID].b;
    sellToVendorPrice = FRC_VendorPrices[itemID].s;
end</p>

<p>if (sellToVendorPrice == 0) then
    sellToVendorPrice = WOWEcon_GetVendorPrice_ByLink(itemLink);
end</p>

<p>if (sellToVendorPrice == nil) then sellToVendorPrice = 0 end</p>

<p>if (buyFromVendorPrice &gt; 0) then
    return buyFromVendorPrice, -1; &#8212; FRC_VendorPrices lists only the primarily-vendor-bought tradeskill items
elseif (medianCount == 0 or medianPrice == nil) then
    return sellToVendorPrice * 3, 0; &#8212; generally a good guess for auction price if we don&#8217;t have real auction data
else
    return medianPrice, math.floor((math.min(medianCount, MIN_SCANS) / MIN_SCANS) * 1000) / 10; 
end
</p>

<p>end</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Roy</title>
		<link>http://fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-368</link>
		<dc:creator>Jonathan Roy</dc:creator>
		<pubDate>Wed, 26 Oct 2005 19:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.fizzwidget.com/2005/10/19/gfw-reagentcost-1800-3/#comment-368</guid>
		<description>&lt;p&gt;I'd like to request compatibility with wowecon.com as an alternative to the others. I recently just stopped using Auctioneer and Enchantrix in favor of theirs instead.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to request compatibility with wowecon.com as an alternative to the others. I recently just stopped using Auctioneer and Enchantrix in favor of theirs instead.</p>]]></content:encoded>
	</item>
</channel>
</rss>
