<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=4981" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: mapout crashes</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4981</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>mapout crashes</title>
   <link>https://smaugmuds.afkmods.com/topic/mapout-crashes-4981/&amp;p=24281#p24281</link>
   <description>The code is also missing support for SECT_ICE, which was added at some point during development. In mapout.c, find: [code]         else if( code == &#039;L&#039; ) location-&amp;gt;sector_type = SECT_LAVA; else if( code == &#039;W&#039; ) location-&amp;gt;sector_type = SECT_SWAMP;[/code] Below that, add: [code]         else if( code == &#039;i&#039; ) location-&amp;gt;sector_type = SECT_ICE;[/code] Lowercase &amp;quot;i&amp;quot; should work well enough here since uppercase &amp;quot;I&amp;quot; is already taken.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mapout-crashes-4981/&amp;p=24281#p24281</guid>
   <pubDate>Sat, 4 Jan 2025 15:02:14 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>mapout crashes</title>
   <link>https://smaugmuds.afkmods.com/topic/mapout-crashes-4981/&amp;p=24277#p24277</link>
   <description>in mapout.c around line 499 find [code] switch ( c ) { case &#039;\n&#039;: break; case &#039;\r&#039;: col = 0; row++; break; } [/code] change it to [code] switch ( c ) { case &#039;\n&#039;: row++; col = 0; break; case &#039;\r&#039;: col = 0; row++; break; } [/code] This will allow it to create and link the rooms </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mapout-crashes-4981/&amp;p=24277#p24277</guid>
   <pubDate>Sat, 4 Jan 2025 13:43:31 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>mapout crashes</title>
   <link>https://smaugmuds.afkmods.com/topic/mapout-crashes-4981/&amp;p=24274#p24274</link>
   <description>[code] &amp;lt;49hp 145m 110mv&amp;gt; &amp;lt;#200&amp;gt; mapout create Couldn&#039;t give you a map object.  Need Great Eastern Desert [/code] Might want to toss in a map object for it too.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mapout-crashes-4981/&amp;p=24274#p24274</guid>
   <pubDate>Sat, 4 Jan 2025 12:43:12 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>mapout crashes</title>
   <link>https://smaugmuds.afkmods.com/topic/mapout-crashes-4981/&amp;p=24273#p24273</link>
   <description>[code] Program received signal SIGSEGV, Segmentation fault. num_rooms_avail (ch=0x5180000d8080) at mapout.c:412 412        for( i = ch-&amp;gt;pcdata-&amp;gt;area-&amp;gt;low_r_vnum; i &amp;lt;= ch-&amp;gt;pcdata-&amp;gt;area-&amp;gt;hi_r_vnum; i++ ) (gdb) print ch $1 = (CHAR_DATA *) 0x5180000d8080 (gdb) print ch-&amp;gt;pcdata $2 = (PC_DATA *) 0x51b00000ee80 (gdb) print ch-&amp;gt;pcdata-&amp;gt;area $3 = (AREA_DATA *) 0x0 [/code] Naturally not a big deal comes from not having an area assigned and using mapout write and then mapout stat.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mapout-crashes-4981/&amp;p=24273#p24273</guid>
   <pubDate>Sat, 4 Jan 2025 12:39:10 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
 </channel>
</rss>
