Thread: Quest help...
View Single Post
  #5  
Old 05-24-2013, 01:39 AM
Dunge0nMastr
Hill Giant
 
Join Date: Oct 2002
Location: Rockville, MD
Posts: 124
Default

Quote:
Originally Posted by Tabasco View Post
Quite a while back I had an issue with it crashing when it tried to scan corpses. There might be a fix in the latest quest repository, but I just commented out the corpse check in plugins/check_hasitem.pl.

At the top of the function there's this line:
Code:
my $body_count = $client->GetCorpseCount();
Then the very last check starts with
Code:
#Check corpses
if ($body_count > 0) {

I just commented that all out until the function returned.

--- Edit ---

Another way would be to use plugin::check_hasitem_inv()
We had the same issue on NL with doors with keys causing crashes. Did this fix and we haven't had the same issue since.
__________________
Bront -Server Admin/Owner and Lead Quest Dev for Kildrukaun's Prophecy
http://kpemu.com/
Reply With Quote