<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
 <channel>
  <title>SmaugMuds.org - Topic: Problems with changing Character Creation</title>
  <link>http://www.smaugmuds.org/index.php?a=rssfeed&amp;t=4092</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds.org</generator>
  <ttl>60</ttl>
  <item>
 <title>Problems with changing Character Creation</title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18173#p18173</link>
 <description>One thing I do to make sure I'm actually running the code I'm currently writing is spam it as full of debug messages (usually using bug() because I'm lazy) as I can and watching the bug channel.  If I don't see 30 messages when something happens, I can tell something's wrong.&lt;br /&gt;
&lt;br /&gt;
Like&lt;br /&gt;
&lt;br /&gt;
void blah( int x ) {&lt;br /&gt;
   bug( &quot;debug: blah() {&quot; );&lt;br /&gt;
   bug( &quot;debug: if( x )&quot; );&lt;br /&gt;
   if( x ) {&lt;br /&gt;
      bug( &quot;debug: do_crap( x );&quot;&lt;br /&gt;
      do_crap( x );&lt;br /&gt;
   }&lt;br /&gt;
   bug( &quot;return;&quot; );&lt;br /&gt;
   return;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
It's really spam</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18173#p18173</guid>
 <pubDate>Tue, 30 Jun 2009 13:05:10 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (Tonitrus)</author>
</item>
<item>
 <title>Problems with changing Character Creation</title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18172#p18172</link>
 <description>so, much to my dismay, I've made a big fuss over nothing lol ...&lt;br /&gt;
&lt;br /&gt;
somehow, even tho i manually editted it and checked it twice .. the startup file decided to stay the same (which had been modified to point to a real directory not a relative path due to my hosting not liking the ../area stuff) ... and so it was spawning a much older version ..&lt;br /&gt;
&lt;br /&gt;
good part, is that I cleaned up that part of the code so well you could eat off it now :P&lt;br /&gt;
&lt;br /&gt;
thanks for the comments guys, I'll try to not be so quick</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18172#p18172</guid>
 <pubDate>Tue, 30 Jun 2009 08:17:18 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (paradox24)</author>
</item>
<item>
 <title>Problems with changing Character Creation</title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18165#p18165</link>
 <description>Not seeing anything in the code either.&lt;br /&gt;
&lt;br /&gt;
Try a make clean, make, and then hotboot/reboot the mud and see if that changes anything. Short of that, I'm not really sure what could cause this kind of issue.</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18165#p18165</guid>
 <pubDate>Mon, 29 Jun 2009 12:37:37 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (Kayle)</author>
</item>
<item>
 <title>Problems with changing Character Creation</title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18163#p18163</link>
 <description>I don't see anything in the code that would cause it to do that.&lt;br /&gt;
&lt;br /&gt;
Note: I'm not terribly perceptive as a rule.&lt;br /&gt;
&lt;br /&gt;
I occasionally get weird problems like this where new changes I make are ignored, and I just make clean, recompile.  Usually fixes them.  I have no idea what causes them to begin with.  If that doesn't work, you might have to step it through gdb.  I don't know what else to tell you off-hand.</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18163#p18163</guid>
 <pubDate>Mon, 29 Jun 2009 12:18:45 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (Tonitrus)</author>
</item>
<item>
 <title>Problems with changing Character Creation</title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18160#p18160</link>
 <description>yeah I did that .. that's the part where it takes the CON_STATE and tells it which function to call I believe .. here it is anyways in case this is the issue&lt;br /&gt;
&lt;br /&gt;
[code]&lt;br /&gt;
void nanny( DESCRIPTOR_DATA * d, char *argument )&lt;br /&gt;
{&lt;br /&gt;
   while( isspace( *argument ) )&lt;br /&gt;
      argument++;&lt;br /&gt;
&lt;br /&gt;
   switch ( d-&gt;connected )&lt;br /&gt;
   {&lt;br /&gt;
      default:&lt;br /&gt;
         bug( &quot;%s: bad d-&gt;connected %d.&quot;, __FUNCTION__, d-&gt;connected );&lt;br /&gt;
         close_socket( d, TRUE );&lt;br /&gt;
         return;&lt;br /&gt;
&lt;br /&gt;
      case CON_GET_NAME:&lt;br /&gt;
         nanny_get</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18160#p18160</guid>
 <pubDate>Mon, 29 Jun 2009 11:33:45 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (paradox24)</author>
</item>
<item>
 <title>Problems with changing Character Creation</title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18159#p18159</link>
 <description>Did you alter nanny() appropriately?&lt;br /&gt;
&lt;br /&gt;
I.e., add new cases to switch( d-&gt;connected )?&lt;br /&gt;
&lt;br /&gt;
Even if you have, you should probably include that code too.</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18159#p18159</guid>
 <pubDate>Mon, 29 Jun 2009 10:58:41 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (Tonitrus)</author>
</item>
<item>
 <title>Problems with changing Character Creation</title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18158#p18158</link>
 <description>OK, here's the code .. I've included the nanny_get_new_race() and the one it SHOULD call below it being nanny_get_eye_colour() ... just to reiterate .. after picking a valid race , it does what it USED to do and reads the terms and conditions which is now like 6 steps beyond it .. I have no idea why my changes aren't taking effect .. any help appreciated :P&lt;br /&gt;
[code]&lt;br /&gt;
void nanny_get_new_race( DESCRIPTOR_DATA * d, const char *argument )&lt;br /&gt;
{&lt;br /&gt;
   CHAR_DATA *ch;&lt;br /&gt;
   char arg[MAX_STRING_LENGTH];&lt;br /&gt;
   int</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18158#p18158</guid>
 <pubDate>Mon, 29 Jun 2009 10:35:08 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (paradox24)</author>
</item>
<item>
 <title>Problems with changing Character Creation</title>
 <link>http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18153#p18153</link>
 <description>Hey all,&lt;br /&gt;
&lt;br /&gt;
  I'm at work now, but in a few minutes I'll edit this post to include part of the actual source code I've been working with, but for now let me explain the problem until the email arrives with it so I can copy/paste :P&lt;br /&gt;
&lt;br /&gt;
  I have previously modified the character creation to include a Terms and Conditions and a pet selection .. so it goes like this (I dont have classes any longer, so it was removed btw)&lt;br /&gt;
&lt;br /&gt;
Name -&gt; Confirm Name -&gt; Password -&gt; Confirm Password -&gt; Pet Selection -&gt; Rac</description>
 <guid isPermaLink="true">http://www.smaugmuds.org/index.php?a=topic&amp;t=4092&amp;p=18153#p18153</guid>
 <pubDate>Mon, 29 Jun 2009 08:18:25 PDT</pubDate>
 <category>SmaugFUSS</category>
 <author>nobody@example.com (paradox24)</author>
</item>

 </channel>
</rss>
