<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
 <channel>
  <title>SmaugMuds.org - Topic: need help with auction addition. </title>
  <link>http://www.smaugmuds.org/index.php?a=rssfeed&amp;t=4071</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds.org</generator>
  <ttl>60</ttl>
  <item>
 <title>need help with auction addition. </title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4071&amp;p=18155#p18155</link>
 <description>[code]&lt;br /&gt;
pay2 = 0;&lt;br /&gt;
if ( auction-&gt;seller-&gt;pcdata-&gt;stats[LOAN] &gt; 0 )     &lt;--- so what you're saying is if he HAS a loan out&lt;br /&gt;
{&lt;br /&gt;
 &lt;br /&gt;
 if( auction-&gt;seller-&gt;pcdata-&gt;stats[LOAN] &lt; 0 )       &lt;--- this part is in the wrong spot, we already know its &gt; 0&lt;br /&gt;
{ &lt;br /&gt;
 pay2 = (int) auction-&gt;seller-&gt;pcdata-&gt;stats[LOAN] * 2;&lt;br /&gt;
 pay2 = (int) pay2 / 2;                                               &lt;----^---------------  you're multiplying by 2, then dividing by 2.. just assign it&lt;br /&gt;
 auction-&gt;seller-&gt;pcdata-&gt;stats[LOAN] =</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4071&amp;p=18155#p18155</guid>
 <pubDate>Mon, 29 Jun 2009 09:25:37 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (paradox24)</author>
</item>
<item>
 <title>need help with auction addition. </title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4071&amp;p=18154#p18154</link>
 <description>GAH .. gimme a second made a mistake :P</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4071&amp;p=18154#p18154</guid>
 <pubDate>Mon, 29 Jun 2009 09:17:17 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (paradox24)</author>
</item>
<item>
 <title>need help with auction addition. </title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4071&amp;p=17966#p17966</link>
 <description>Fixed this, seen the problem when I wasn't so tired. thanks for the help anyways.</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4071&amp;p=17966#p17966</guid>
 <pubDate>Tue, 16 Jun 2009 02:52:41 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (dbna2)</author>
</item>
<item>
 <title>need help with auction addition. </title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4071&amp;p=17961#p17961</link>
 <description>If you need more information let me know.</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4071&amp;p=17961#p17961</guid>
 <pubDate>Mon, 15 Jun 2009 19:46:20 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (dbna2)</author>
</item>
<item>
 <title>need help with auction addition. </title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4071&amp;p=17960#p17960</link>
 <description>Hi I have been working on a loan system for my mud, it's an add on to the smaug banking system that is out there. basically I have it when you take out a loan u don't gain any money instead it is directly paided to the bank. The only problem is I am having trouble with the auction part of it. I want the auctioneer to take money out and pay off the bill, and if it has extra to give the extra to the person selling the item instead. This is what I have so far.&lt;br /&gt;
&lt;br /&gt;
[code]&lt;br /&gt;
pay2 = 0;&lt;br /&gt;
if ( auction-&gt;se</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4071&amp;p=17960#p17960</guid>
 <pubDate>Sun, 14 Jun 2009 21:59:21 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (dbna2)</author>
</item>

 </channel>
</rss>
