<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4534" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: Weird Score Output</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4534</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>Weird Score Output</title>
   <link>https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21534#p21534</link>
   <description>It must be one of those weird fluke things. I didn&#039;t even think about the %ld. I switched both over to %d. I think I just got so frustrated that the code was the exact same that I missed that. At one point, I made score actually call do_level and it was still messing things up. But when called alone it worked. Meh, I don&#039;t know. Not something I understand but its working now. Thanks.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21534#p21534</guid>
   <pubDate>Mon, 9 May 2011 05:58:15 CDT</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Keirath)</author>
  </item>
  <item>
   <title>Weird Score Output</title>
   <link>https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21533#p21533</link>
   <description>Actually both functions should be using %d instead of %ld because the exp_level() function in SWR FUSS returns an integer, not a long. So do_score AND do_level are both wrong, and it&#039;s probably just one of those bizarre flukes that it hasn&#039;t been caught before.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21533#p21533</guid>
   <pubDate>Mon, 9 May 2011 02:00:43 CDT</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>Weird Score Output</title>
   <link>https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21532#p21532</link>
   <description>Like I said, something could be initializing improperly in score, that is initializing properly in level, have you double checked that everything is identical, or run it through valgrind?</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21532#p21532</guid>
   <pubDate>Sun, 8 May 2011 22:51:33 CDT</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (InfiniteAxis)</author>
  </item>
  <item>
   <title>Weird Score Output</title>
   <link>https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21531#p21531</link>
   <description>Why would level work and not score? When its the exact same code?</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21531#p21531</guid>
   <pubDate>Sun, 8 May 2011 18:49:03 CDT</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Keirath)</author>
  </item>
  <item>
   <title>Weird Score Output</title>
   <link>https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21530#p21530</link>
   <description>Something may be uninitialized, or initialized wrong. Or it could be attempting to put the wrong type of data in and overflowing.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21530#p21530</guid>
   <pubDate>Sun, 8 May 2011 17:27:30 CDT</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (InfiniteAxis)</author>
  </item>
  <item>
   <title>Weird Score Output</title>
   <link>https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21526#p21526</link>
   <description>Ok even more bizarre. This was the code for outputing levels: [code]         ch_printf( ch, &amp;quot;%-15s   Level: %-3d   Max: %-3d   Exp: %-10ld   Next: %-10ld\r\n&amp;quot;, [/code] If you change Next this: [code] ch_printf( ch, &amp;quot;%-15s   Level: %-3d   Max: %-3d   Exp: %-10ld   Next: %d\r\n&amp;quot;, [/code] It outputs correctly. So why would level work with the 10ld format and not score?  I am vastly confused here.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21526#p21526</guid>
   <pubDate>Sat, 7 May 2011 23:53:49 CDT</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Keirath)</author>
  </item>
  <item>
   <title>Weird Score Output</title>
   <link>https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21525#p21525</link>
   <description>I recently altered the classes on my MUD. After doing so, I began to receive strange output from score. I was receiving this: [code] combat            Level: 10    Max: 200   Exp: 40500        Next: 140733193438032 piloting             Level: 1     Max: 200   Exp: 0            Next: 140733193388532 engineering       Level: 1     Max: 200   Exp: 0            Next: 140733193388532 [/code] Which, I knew this wasn&#039;t correct because level was still outputting the correct values. To do some de</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/weird-score-output-4534/&amp;p=21525#p21525</guid>
   <pubDate>Sat, 7 May 2011 23:48:14 CDT</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Keirath)</author>
  </item>
 </channel>
</rss>
