Quote:
Originally Posted by classiceq
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.