Thread: Quests
View Single Post
  #18  
Old 02-22-2008, 04:38 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by classiceq View Post
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.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote