<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=4755" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: SWR Nocorpse Crash</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4755</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>SWR Nocorpse Crash</title>
   <link>https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23311#p23311</link>
   <description>so only change you did was to add the = NULL? well looks like it should be fine to me, you should test it out some though.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23311#p23311</guid>
   <pubDate>Sun, 6 Oct 2013 18:45:35 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>SWR Nocorpse Crash</title>
   <link>https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23310#p23310</link>
   <description>[code]OBJ_DATA *raw_kill( CHAR_DATA * ch, CHAR_DATA * victim ) { CHAR_DATA *victmp; CLAN_DATA *clan; OBJ_DATA *corpse_to_return = NULL; OBJ_DATA *obj, *obj_next; SHIP_DATA *ship; PLANET_DATA *planet; char buf[MAX_STRING_LENGTH]; char buf2[MAX_STRING_LENGTH]; char arg[MAX_STRING_LENGTH]; if( !victim ) { bug( &amp;quot;%s: null victim!&amp;quot;, __FUNCTION__ ); return NULL; } strcpy( arg, victim-&amp;gt;name ); stop_fighting( victim, TRUE ); </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23310#p23310</guid>
   <pubDate>Sun, 6 Oct 2013 18:32:19 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Amras)</author>
  </item>
  <item>
   <title>SWR Nocorpse Crash</title>
   <link>https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23309#p23309</link>
   <description>well can you post the whole raw_kill function?</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23309#p23309</guid>
   <pubDate>Sun, 6 Oct 2013 18:07:43 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>SWR Nocorpse Crash</title>
   <link>https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23308#p23308</link>
   <description>It was suggested to be by Sharmair that a more simple fix (and possibly better fix?) is in the raw_kill function, to change this line: [code]   OBJ_DATA *corpse_to_return;[/code] to [code]   OBJ_DATA *corpse_to_return = NULL;[/code] </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23308#p23308</guid>
   <pubDate>Sun, 6 Oct 2013 17:20:24 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Amras)</author>
  </item>
  <item>
   <title>SWR Nocorpse Crash</title>
   <link>https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23300#p23300</link>
   <description>yea i figured it was getting bad data for the new_corpse. I would still advise fixing raw_kill so it sends the correct data for new_corpse etc... </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23300#p23300</guid>
   <pubDate>Sat, 5 Oct 2013 10:19:00 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>SWR Nocorpse Crash</title>
   <link>https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23299#p23299</link>
   <description>I managed to fix my own issue. I am guessing the problem was trying to look into a corpse that didn&#039;t exist. I looked at the SWFotE code and it had a new integer being used called nocorpse. [code]   OBJ_DATA *damobj; ch_ret retcode; sh_int dampmod; int nocorpse = 0;[/code] [code]      if( IS_SET( victim-&amp;gt;act, ACT_NOCORPSE ) ) nocorpse = 1; set_cur_char( victim ); new_corpse = raw_kill( ch, victim ); victim = NULL; if( ch-&amp;gt;tempnum != INT</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23299#p23299</guid>
   <pubDate>Sat, 5 Oct 2013 07:52:21 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Amras)</author>
  </item>
  <item>
   <title>SWR Nocorpse Crash</title>
   <link>https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23297#p23297</link>
   <description>[code](gdb) print *new_corpse Cannot access memory at address 0xfdc[/code] [code](gdb) print new_corpse $3 = (OBJ_DATA *) 0xfdc[/code]</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23297#p23297</guid>
   <pubDate>Sat, 5 Oct 2013 06:21:38 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Amras)</author>
  </item>
  <item>
   <title>SWR Nocorpse Crash</title>
   <link>https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23296#p23296</link>
   <description>in frame 0 any chance you can do print *new_corpse and post what it says?</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23296#p23296</guid>
   <pubDate>Fri, 4 Oct 2013 23:14:56 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>SWR Nocorpse Crash</title>
   <link>https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23295#p23295</link>
   <description>I have an SWR based MUD that I started with using SWRFUSS 1.0. I have applied all of the bug fixes from the SmaugMuds.org SWR forum list so hopefully I am up-to-date and didn&#039;t miss any. However, I am having a weird issue I can&#039;t seem to figure out or track down exactly why it&#039;s causing a crash. I have not done anything to the way corpses are created. I&#039;ve also compared my code to SWRFUSS 1.2 and 1.3 code and it all looks the same.  Here is the situation:  Mob has nocorpse flag.  Kill mob</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/swr-nocorpse-crash-4755/&amp;p=23295#p23295</guid>
   <pubDate>Fri, 4 Oct 2013 22:51:55 CDT</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Amras)</author>
  </item>
 </channel>
</rss>
