Ignorance
08-12-2011, 02:28 AM
Here is the error text I get when the server is run.
[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...
$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...
quest::setglobal( "FightClubFreeportController", 1, 7, "F" );
Any thoughts are welcome.
I can drop the related scripts if requested.
[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...
$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...
quest::setglobal( "FightClubFreeportController", 1, 7, "F" );
Any thoughts are welcome.
I can drop the related scripts if requested.