<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=4746" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: trying something different</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4746</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>trying something different</title>
   <link>https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23292#p23292</link>
   <description>The first problem is, you&#039;re passing in a string called &amp;quot;token&amp;quot;, but then you&#039;re throwing it away and trying to allocate a new one on top of it, which hides the value you were passed in... why pass in a value that you never use? I&#039;m not sure exactly what your code is supposed to do, but here&#039;s a before-coffee attempt at writing it differently.  It is untested, of course.  But the main thing is... why bother passing in token if you don&#039;t use it? It seems to me like you could just use a syst</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23292#p23292</guid>
   <pubDate>Fri, 4 Oct 2013 12:24:22 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Quixadhal)</author>
  </item>
  <item>
   <title>trying something different</title>
   <link>https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23291#p23291</link>
   <description>This is part of the character generator code best I can figure from looking at the code  it&#039;s in birth.c in case you wanted to look at it, is that it has to deal with eyes, hair, skin, etc and I understand token is being passed as a constant then trying to be modified, but I don&#039;t understand how to fix it </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23291#p23291</guid>
   <pubDate>Fri, 4 Oct 2013 11:52:59 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (mystickdreamer)</author>
  </item>
  <item>
   <title>trying something different</title>
   <link>https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23283#p23283</link>
   <description>You are trying to modify a variable which was passed in as &amp;quot;const&amp;quot;, namely token. </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23283#p23283</guid>
   <pubDate>Thu, 3 Oct 2013 10:21:04 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Quixadhal)</author>
  </item>
  <item>
   <title>trying something different</title>
   <link>https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23281#p23281</link>
   <description>whoops wrong thread my bad </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23281#p23281</guid>
   <pubDate>Thu, 3 Oct 2013 09:30:18 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (dbna2)</author>
  </item>
  <item>
   <title>trying something different</title>
   <link>https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23280#p23280</link>
   <description>and yeah I know that would be the simplest way to do things, but if I could figure out whats causing it, because it didn&#039;t used too then my life would be alot easier and wouldn&#039;t have to deal with players complaining. </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23280#p23280</guid>
   <pubDate>Thu, 3 Oct 2013 01:34:40 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (dbna2)</author>
  </item>
  <item>
   <title>trying something different</title>
   <link>https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23275#p23275</link>
   <description>hmm and what is the reason for this code right off? I would say the problem is the const char *token is what it is complaining about. You shouldn&#039;t STRALLOC on a string like that either.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23275#p23275</guid>
   <pubDate>Wed, 2 Oct 2013 20:08:18 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>trying something different</title>
   <link>https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23273#p23273</link>
   <description>OK so I&#039;m stuck again. I&#039;m getting these errors [code] Compiling o/birth.o.... birth.c: In function &amp;Atilde;&amp;cent;const char* find_token(const char*, const char*, int)&amp;Atilde;&amp;cent;: birth.c:69: error: assignment of read-only location &amp;Atilde;&amp;cent;*(token + ((long unsigned int)((long unsigned int)n)))&amp;Atilde;&amp;cent; birth.c:73: error: assignment of read-only location &amp;Atilde;&amp;cent;*(token + ((long unsigned int)((long unsigned int)n)))&amp;Atilde;&amp;cent; make[1]: *** [o/birth.o] Error 1 make: *** [all] Error 2 [/code] Here is the code [code]</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23273#p23273</guid>
   <pubDate>Wed, 2 Oct 2013 19:49:35 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (mystickdreamer)</author>
  </item>
  <item>
   <title>trying something different</title>
   <link>https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23228#p23228</link>
   <description>lol thanks ya&#039;ll  the reason I asked is because I&#039;m porting everything over into smaugfuss1.9 and I was having problems adding mana to the weather system, since it&#039;s vastly different (imo)  just not sure how to do that in the meantime I&#039;m porting everything else over, boy it&#039;s a lot more than I thought lol </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23228#p23228</guid>
   <pubDate>Thu, 26 Sep 2013 09:39:44 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (mystickdreamer)</author>
  </item>
  <item>
   <title>trying something different</title>
   <link>https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23224#p23224</link>
   <description>[code] Remcon,  I may not be up to the level you are but I can at least try to follow the path. I was only able to find 2.0, but alas I was at work and our webfilter catches a lot of sites. Kinda amazed they haven&#039;t hit smaugmuds yet!  I&#039;m willing to bet that they didn&#039;t change all that much from 2.0 to 3.0 however. Just look at how things are done in swr to swfote :)  Geeze, since I&#039;ve been showing up here I have this inkling to try to get my game up and running....  *walks off into </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23224#p23224</guid>
   <pubDate>Wed, 25 Sep 2013 22:14:21 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>trying something different</title>
   <link>https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23223#p23223</link>
   <description>in mud.h under the struct weather_data you can find [code] int mana;   /* base amount of mana in the zone */ int mana_vector; int climate_mana; [/code] Thats the main things that will be needed. Just do a grep in the cm3/src folder for those looking for things that have to do with them and the weather system. this is for example what I got from doing a grep mana * [code] $ grep \&amp;gt;mana * act_comm.c:               ch_printf( ch, &amp;quot;%5d/%-5d &amp;quot;, gch-&amp;gt;mana, gch-&amp;gt;max_mana ); act_inf</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/trying-something-different-4746/&amp;p=23223#p23223</guid>
   <pubDate>Wed, 25 Sep 2013 22:10:55 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
 </channel>
</rss>
