Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-12-2011, 02:28 AM
Ignorance
Fire Beetle
 
Join Date: Jun 2006
Location: baconland
Posts: 14
Default Problem encountered when several mobs are polling a global...

Here is the error text I get when the server is run.

Quote:
[Quest] Use of uninitialized value $qst999175::qglobals{"FightClubFreeportController" } in int at quests/freporte/LocalController.pl line 46.
Three NPCs from three different zones are polling qglobals{"FightClubFreeportController"} every 5 seconds.
One NPC reads the value fine; the other two don't.

They all run the same script, and here is line 46...
Code:
$controller = int($qglobals{FightClubFreeportController});
From what I can gather, whichever NPC spawns first somehow takes control of $qglobals{FightClubFreeportController}.

$qglobals{FightClubFreeportController} is defined, well before any of the accessing NPCs spawn, as...
Code:
quest::setglobal( "FightClubFreeportController", 1, 7, "F" );
Any thoughts are welcome.
I can drop the related scripts if requested.
Reply With Quote
 


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 03:46 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3