Repeated Zone log error.
I am getting this zone error (steamfont):
Code:
[02-17-2016 :: 15:22:52] [Quests] Use of uninitialized value $qst_npc_56105::targetname in pattern match (m//) at quests/steamfont/Cargo_Clockwork.pl line 50. I have a memory leak and I think it maybe coming from this zone in conjunction with this error. Line 50-51 of the perl script is: Code:
if ($targetname=~/highway_bandit/i) { Any ideas? Celestial |
That quest error is just because the timer is triggering and the npc doesn't have a target. So $targetname is uninitialized.. and comparing it to another value is a warning.
Change to... if you don't want to see the error a bunch of times :) Code:
if ($npc->GetTarget() && $targetname=~/highway_bandit/i) { |
Thank you sir! Will give this a go!
Celestial |
All times are GMT -4. The time now is 09:35 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.