Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2016, 04:28 PM
jpyou127's Avatar
jpyou127
Discordant
 
Join Date: Nov 2005
Posts: 270
Default 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.
56105 refers to the NPC Cargo Clockwork.

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) {
    $npc->WipeHateList();

Any ideas?


Celestial
Reply With Quote
  #2  
Old 02-17-2016, 06:13 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

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) {
    $npc->WipeHateList();
}
Reply With Quote
  #3  
Old 02-18-2016, 12:44 PM
jpyou127's Avatar
jpyou127
Discordant
 
Join Date: Nov 2005
Posts: 270
Default

Thank you sir! Will give this a go!

Celestial
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:51 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3