<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;f=22" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Forum: AFKMud Bug Archive</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;f=22</link>
  <description>The largest Smaug community resource site. - Archived bug fixes for the 1.x development tree. This code tree is permanently frozen at version 1.8. All future development continues on the C++ tree.</description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>[Bug] Ask command has global scope</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-ask-command-has-global-scope-1282/&amp;p=4800#p4800</link>
   <description>Bug: Ask command has global scope Danger: Low - Target for the ask command can be chosen from anywhere in the game. Discovered in: AFKMud 1.77 Found by: Conner Fixed by: Samson --- [b]act_comm.c, do_ask[/b] Locate: [code] if( ( victim = get_char_world( ch, arg ) ) == NULL || ( IS_NPC( victim ) &amp;amp;&amp;amp; victim-&amp;gt;in_room != ch-&amp;gt;in_room ) ) { send_to_char( &amp;quot;They aren&#039;t here.\n\r&amp;quot;, ch ); return; } [/code] Change to: [code] if( ( victim = get_char_room( ch, a</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-ask-command-has-global-scope-1282/&amp;p=4800#p4800</guid>
   <pubDate>Sun, 3 Dec 2006 01:07:26 CST</pubDate>
   <category>AFKMud Bug Archive</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Old ibuild code chunks cause crashes when called from redit</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-old-ibuild-code-chunks-cause-crashes-when-called-from-redit-1281/&amp;p=4799#p4799</link>
   <description>Bug: Old ibuild code chunks cause crashes when called from redit Danger: High - Crash condition. Orphaned code which should have been deleted a long time ago. Discovered in: AFKMud 1.77 Found by: Samson Fixed by: Samson/Remcon --- [b]build.c, do_redit[/b] Find and remove: [code] if( !str_cmp( arg, &amp;quot;ex_flags&amp;quot; ) ) { argument = one_argument( argument, arg2 ); value = get_exflag( arg2 ); if( value &amp;lt; 0 ) { send_to_char( &amp;quot;Bad exit flag. \r\</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-old-ibuild-code-chunks-cause-crashes-when-called-from-redit-1281/&amp;p=4799#p4799</guid>
   <pubDate>Sat, 2 Dec 2006 22:31:37 CST</pubDate>
   <category>AFKMud Bug Archive</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Setting resets on rooms that have none yet will crash</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-setting-resets-on-rooms-that-have-none-yet-will-crash-1280/&amp;p=4795#p4795</link>
   <description>Bug: Setting resets on rooms that have none yet will crash Danger: High - Crash condition. Discovered in: AFKMud 1.77 Found by: pstone Fixed by: Remcon --- [b]reset.c, do_reset[/b] in the &amp;quot;random&amp;quot; part find [code] if( ch-&amp;gt;in_room-&amp;gt;first_reset-&amp;gt;prev ) ch-&amp;gt;in_room-&amp;gt;first_reset-&amp;gt;prev = pReset; [/code] change it to [code] if( ch-&amp;gt;in_room-&amp;gt;first_reset ) ch-&amp;gt;in_room-&amp;gt;first_reset-&amp;gt;prev = pReset; [/code] in the &amp;quot;trap&amp;quot; &amp;quot;obj&amp;quot; part find [code] </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-setting-resets-on-rooms-that-have-none-yet-will-crash-1280/&amp;p=4795#p4795</guid>
   <pubDate>Sat, 2 Dec 2006 19:27:16 CST</pubDate>
   <category>AFKMud Bug Archive</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Run command does not stop the player if combat begins</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-run-command-does-not-stop-the-player-if-combat-begins-1279/&amp;p=4794#p4794</link>
   <description>Bug: Run command does not stop the player if combat begins Danger: High - Game exploit condition. Could be used to circumvent required events. Discovered in: AFKMud 1.77 Found by: Zeno Fixed by: Samson --- [b]act_move.c, do_run[/b] Locate: [code] if( ( pexit = find_door( ch, arg, TRUE ) ) != NULL ) { if( ch-&amp;gt;move &amp;lt; 1 ) { send_to_char( &amp;quot;You are too exhausted to run anymore.\n\r&amp;quot;, ch ); ch-&amp;gt;move = 0; </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-run-command-does-not-stop-the-player-if-combat-begins-1279/&amp;p=4794#p4794</guid>
   <pubDate>Sat, 2 Dec 2006 19:14:18 CST</pubDate>
   <category>AFKMud Bug Archive</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Exit creation stumbles on flags in the argument</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-exit-creation-stumbles-on-flags-in-the-argument-1278/&amp;p=4792#p4792</link>
   <description>Bug: Exit creation stumbles on flags in the argument Danger: Low - Ending up with partly broken exits makes more work for people to fix. Discovered in: AFKMud 1.77 Found by: pstone Fixed by: Samson --- [b]build.c, do_redit[/b] Locate: [code] if( !str_cmp( arg, &amp;quot;exit&amp;quot; ) ) { bool addexit, numnotdir; argument = one_argument( argument, arg2 ); argument = one_argument( argument, arg3 ); if( !arg2 || arg2[0] == &#039;\0&#039; ) { send_to_char(</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-exit-creation-stumbles-on-flags-in-the-argument-1278/&amp;p=4792#p4792</guid>
   <pubDate>Sat, 2 Dec 2006 18:53:06 CST</pubDate>
   <category>AFKMud Bug Archive</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Auction item is not checked when object is extracted</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-auction-item-is-not-checked-when-object-is-extracted-1266/&amp;p=4691#p4691</link>
   <description>Bug: Auction item is not checked when object is extracted Danger: Medium - Crash under select conditions. Discovered in: AFKMud 1.77 Found by: Remcon Fixed by: Samson --- [b]handler.c[/b] Locate: [code] #include &amp;lt;string.h&amp;gt; #include &amp;quot;mud.h&amp;quot; [/code] Below that, add: [code] #include &amp;quot;auction.h&amp;quot; [/code] [b]handler.c, extract_obj[/b] Locate: [code] if( obj-&amp;gt;item_type == ITEM_PORTAL ) remove_portal( obj ); [/code] Below that, add: [code] if( auction-&amp;gt;i</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-auction-item-is-not-checked-when-object-is-extracted-1266/&amp;p=4691#p4691</guid>
   <pubDate>Sun, 12 Nov 2006 22:55:50 CST</pubDate>
   <category>AFKMud Bug Archive</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Pfile pruner has several problems</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-pfile-pruner-has-several-problems-1265/&amp;p=4690#p4690</link>
   <description>Bug: Pfile pruner has several problems Danger: Medium - Possible infinite loop on file read, bad string display for status messages Discovered in: AFKMud 1.77 Found by: Toadvile Fixed by: Toadvile/Samson --- [b]pfiles.c, fread_pfile[/b] Replace the function with this new one: [code] void fread_pfile( FILE * fp, time_t tdiff, char *fname, bool count ) { char *name = NULL; char *clan = NULL; char *deity = NULL; short level = 0; short file_ver = 0; EXT_BV pac</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-pfile-pruner-has-several-problems-1265/&amp;p=4690#p4690</guid>
   <pubDate>Sun, 12 Nov 2006 12:29:47 CST</pubDate>
   <category>AFKMud Bug Archive</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Switched PC&#039;s cause crash in color processing</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-switched-pcs-cause-crash-in-color-processing-1260/&amp;p=4650#p4650</link>
   <description>Bug: Switched PC&#039;s cause crash in color processing Danger: Low - Not an issue unless switched into an NPC. Discovered in: AFKMud 1.77 Found by: Samson Fixed by: Samson --- [b]color.c, colorcode[/b] Locate: [code] /* * Yes, this reset here is quite necessary to cancel out other things  */ mudstrlcpy( dst, ANSI_RESET, dstlen ); if( ch ) mudstrlcat( dst, color_str( ch</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-switched-pcs-cause-crash-in-color-processing-1260/&amp;p=4650#p4650</guid>
   <pubDate>Sun, 5 Nov 2006 16:41:20 CST</pubDate>
   <category>AFKMud Bug Archive</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Previous fix for deleted rooms is itself a crash vector</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-previous-fix-for-deleted-rooms-is-itself-a-crash-vector-1259/&amp;p=4639#p4639</link>
   <description>Bug: Previous fix for deleted rooms is itself a crash vector Danger: High - Legitimately missing vnums will now cause a crash instead Discovered in: AFKMud 1.77 Found by: Kigen Fixed by: Kigen --- [b]handler.c, char_to_room[/b] Locate: [code] if( !get_room_index( pRoomIndex-&amp;gt;vnum ) ) pRoomIndex = NULL; if( !pRoomIndex ) { bug( &amp;quot;Char_to_room: %s -&amp;gt; NULL room!  Putting char in limbo (%d)&amp;quot;, ch-&amp;gt;name, ROOM_VNUM_LIMBO ); /* * This used to just </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-previous-fix-for-deleted-rooms-is-itself-a-crash-vector-1259/&amp;p=4639#p4639</guid>
   <pubDate>Sun, 5 Nov 2006 14:39:35 CST</pubDate>
   <category>AFKMud Bug Archive</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Switched players always show [help start]</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-switched-players-always-show-help-start-1256/&amp;p=4635#p4635</link>
   <description>Bug: Switched players always show [help start] Danger: Trivial - Minor display glitch Discovered in: AFKMud 1.77 Found by: Kazro Fixed by: Toadvile --- [b]comm.c, display_prompt[/b] Locate: [code] if( !IS_PCFLAG( ch, PCFLAG_HELPSTART ) ) prompt = helpstart; [/code] Change to: [code] if( !IS_NPC(ch) &amp;amp;&amp;amp; !IS_PCFLAG( ch, PCFLAG_HELPSTART ) ) prompt = helpstart; [/code] This is a side affect of not paying attention to the logic of the IS_PCFLAG macro and f</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-switched-players-always-show-help-start-1256/&amp;p=4635#p4635</guid>
   <pubDate>Sun, 5 Nov 2006 13:42:25 CST</pubDate>
   <category>AFKMud Bug Archive</category>
   <author>nobody@example.com (Samson)</author>
  </item>
 </channel>
</rss>
