EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Quests (https://www.eqemulator.org/forums/showthread.php?t=23721)

Congdar 02-22-2008 10:30 AM

I've seen a few of those errors. In some cases there was a line like this:

quest:exp(400);

The problem was only a single : when it should be ::

Specifically in freportw the two dueling monks should be $timer not $timername

classiceq 02-22-2008 02:05 PM

Specifically, I have two problems. The first is player.pl. What is it and where can I get a copy (if I even need)? It keeps showing up in my logs.

And second, when I try to initate a quest I get a ton of errors.

Example: Therin Poxbourne

When I hail him (preflag exists) I get not one but maybe 50 of these errors:

use of uninitialized value in numeric eq (==) at /quest/ponightmare/#Therin_poxbourne.pl line 26.

This just started not to long ago and exists in many of the scripts lately. I am using the scripts I downloaded from CVS. I have no idea what to do at this point and cant find anything in the forums that address this.

AndMetal 02-22-2008 04:38 PM

Quote:

Originally Posted by classiceq (Post 143556)
And second, when I try to initate a quest I get a ton of errors.

Example: Therin Poxbourne

When I hail him (preflag exists) I get not one but maybe 50 of these errors:

use of uninitialized value in numeric eq (==) at /quest/ponightmare/#Therin_poxbourne.pl line 26.

Looking at the quest, this is what line 26 says:
Code:

  26      if($text=~/Hail/i && ($entry == 1 || $entry == 2 || $entry == 3 || $entry == 4 || $entry == 5 || $entry == 6 || $entry == 7 || $entry == 8 || $entry == 9 || $entry == 10 || $entry == 11|| $entry == 12 || $entry == 13 || $entry == 14 || $entry == 15 || $entry == 16 || $entry == 17 || $entry == 18) && $pop_pon_hedge_jezith == 1)
So, one of those variables (probably $entry) isn't defined, which is causing the error. I think there's a way to disable the error messages in the logs (pretty sure I remember a thread about it), but I can't remember what it is off the top of my head.

cavedude 02-23-2008 01:21 AM

AndMetal is 100% correct. A lot of variables aren't getting defined causing this spam in our logs. The quests still work (or seem to anyway) but I am slowly trying to clean it all up. As I see them in TGC's log, I'll correct the perl scripts. Hang tight I have a lot to get through (PEQ's quest log is nearly 800MB!)

player.pl is optional and is used in the new player script system. I don't know why it was coded to write to the log if it isn't found, as that just seems silly to me since not every zone is going to need it or use it. To get it to shutup, though just place a blank player.pl file in each of the zone's folders in your quest directory. Be sure not to overwrite ones that already exist ;)

classiceq 02-23-2008 06:29 AM

Thanks Guys. I appreciate the info.


All times are GMT -4. The time now is 01:13 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.