<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=2378" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: char_to_room does not handle null room correctly.</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=2378</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>char_to_room does not handle null room correctly.</title>
   <link>https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=9044#p9044</link>
   <description>This seems to be related to virtual rooms ([url=http://smaugmuds.afkmods.com/index.php?a=topic&amp;amp;t=2434&amp;amp;p=9043#9043]see here[/url]). It seems get_room_index() doesn&#039;t check the virtual room hash table (vroom_hash[]). That is why the mobiles in the coruscant_streets area file are affected, as that&#039;s where virtual rooms are used in the SWR distro. Since this glitch haven&#039;t been spotted earlier I think we can safely assume very few ever used virtual rooms. I&#039;d love to post the fix, but I&#039;m not ver</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=9044#p9044</guid>
   <pubDate>Thu, 4 Jan 2007 05:12:56 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Caius)</author>
  </item>
  <item>
   <title>char_to_room does not handle null room correctly.</title>
   <link>https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8801#p8801</link>
   <description>Removing vnums from the game would probably do that if you removed any of the ones required by hardcoded references. That&#039;s outside the scope of the fix. Can&#039;t code against reckless deletion :)</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8801#p8801</guid>
   <pubDate>Sat, 18 Nov 2006 18:58:55 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>char_to_room does not handle null room correctly.</title>
   <link>https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8797#p8797</link>
   <description>Naw, I&#039;m starting to think it has something to do with the new check (vnum) that you added.  Though I&#039;m not sure how SWR handles its rooms so I&#039;m no expert.  Because I noticed that when I started the mud up I got those errors, but the mud didn&#039;t crash, meaning there was a valid pointer, it just didn&#039;t have the proper &amp;quot;vnum.&amp;quot;</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8797#p8797</guid>
   <pubDate>Sat, 18 Nov 2006 10:47:17 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Kigen)</author>
  </item>
  <item>
   <title>char_to_room does not handle null room correctly.</title>
   <link>https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8772#p8772</link>
   <description>check your resets and make sure there are no nasty errors. (aassign area, reset list)</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8772#p8772</guid>
   <pubDate>Mon, 13 Nov 2006 17:05:02 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (kiasyn)</author>
  </item>
  <item>
   <title>char_to_room does not handle null room correctly.</title>
   <link>https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8771#p8771</link>
   <description>I&#039;m having the same problem BUT I am planing on keeping the areas. I&#039;ve done nothing to the code or areas.  Simply compiled, started the mud and logged in and I get spammed with tons of: Log: [*****] BUG: char_to_room: businessman man human -&amp;gt; NULL room!  Putting char in limbo (2) Messages.  Different mobs, but 20 or so at a time.  When I check limbo it seems like darn near every mob is in there. -Moridian </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8771#p8771</guid>
   <pubDate>Mon, 13 Nov 2006 05:46:51 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Moridian)</author>
  </item>
  <item>
   <title>char_to_room does not handle null room correctly.</title>
   <link>https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8710#p8710</link>
   <description>Well, I was starting to wonder because I saw nothing that would block that statement.  My knowledge in C/C++ comes from my seemingly unnatural logic and comprehension skills. I figured that its much more logical to do that if statement since you just use NULLing the pRoomIndex data to get the same affect, only thing is that you MUST check to see if the variable passed is not NULL before checking for a structure member, becuase you didn&#039;t check if the structure was NULL before checking if the </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8710#p8710</guid>
   <pubDate>Sat, 4 Nov 2006 14:12:16 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Kigen)</author>
  </item>
  <item>
   <title>char_to_room does not handle null room correctly.</title>
   <link>https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8709#p8709</link>
   <description>Oh, right. It&#039;s late. Your logic does indeed work. For some reason I must have been thinking you were doing a &amp;amp;&amp;amp; instead of ||. Guess I should think about getting some sleep :P</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8709#p8709</guid>
   <pubDate>Fri, 3 Nov 2006 23:56:47 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>char_to_room does not handle null room correctly.</title>
   <link>https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8708#p8708</link>
   <description>I just tested my fix on SMAUG FUSS, it works perfectly fine.  I was transported to Limbo, and the mud didn&#039;t crash. if( !pRoomIndex || !get_room_index( pRoomIndex-&amp;gt;vnum ) )</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8708#p8708</guid>
   <pubDate>Fri, 3 Nov 2006 23:48:24 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Kigen)</author>
  </item>
  <item>
   <title>char_to_room does not handle null room correctly.</title>
   <link>https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8707#p8707</link>
   <description>Doesn&#039;t the OR statement fix the problem, it does the same freaking check.  It might be true that it doesn&#039;t have a NULL pointer, but it does the vnum check afterward.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8707#p8707</guid>
   <pubDate>Fri, 3 Nov 2006 23:42:27 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Kigen)</author>
  </item>
  <item>
   <title>char_to_room does not handle null room correctly.</title>
   <link>https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8706#p8706</link>
   <description>Yes. It was the product of a recent hackish fix to prevent problems with edge cases caused by using rdelete on a room you&#039;re standing in. http://smaugmuds.afkmods.com/index.php?a=topic&amp;amp;t=2307 Your fix to it is actually not going to solve the problem we&#039;re trying to solve because the pRoomIndex pointer is still &amp;quot;valid&amp;quot; under the conditions that cause the crash we were trying to fix. Since your fix checks first for pRoomIndex being NULL, and the pointer isn&#039;t null, the vnum check is never goin</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/chartoroom-does-not-handle-null-room-correctly-2378/&amp;p=8706#p8706</guid>
   <pubDate>Fri, 3 Nov 2006 23:39:42 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Samson)</author>
  </item>
 </channel>
</rss>
