Quest help...
Why does this crash my zone? Only does it when the PC does NOT have the item.
Code:
sub EVENT_SAY { |
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(); Code:
#Check corpses --- Edit --- Another way would be to use plugin::check_hasitem_inv() |
Could it be because it's constantly checking for the item and not stopping so it spawns infinite NPCs and crashes the zone? You could do this, maybe? Just threw it together really fast.
Code:
sub EVENT_SAY |
He's using if blocks so hasitem is checked once per hail. There is no loop.
|
Quote:
|
Hate to necro an old thread, but I just ran into this issue. Tobasco's suggestion of commenting out the corpse checking (for servers where corpses serve no purpose or simply do not exist) from checkhasitem.pl seems to address the issue.
|
All times are GMT -4. The time now is 06:37 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.