EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Quest / Perl Error (https://www.eqemulator.org/forums/showthread.php?t=24413)

kedra 02-16-2008 05:28 PM

Quest / Perl Error
 
Hey guys:

This is an error that I've encountered in the past, but the fix that I used does not quite solve the problem this time around. Here's the situation:

Fresh Server 2003 installation with textbook installs for Mysql5.0, Perl5.8.8, and the most recent binaries (0.7.0-1091).

Everything runs smoothly except for the quests.

Code:


---------------------------------------------
[02.16. - 23:02:24] Starting Log: logs/eqemu_quest_zone_0496.log
[02.16. - 23:02:24] Tying perl output to eqemu logs
[02.16. - 23:02:24] Creating EQEmuIO=HASH(0x3adf0e8)
[02.16. - 23:02:24] Creating EQEmuIO=HASH(0x3adf430)
[02.16. - 23:02:24] Loading perlemb plugins.
[02.16. - 23:02:24] Loading perl commands...
[02.16. - 23:02:26] WARNING: error compiling quest file quests/lakerathe/Guide_Fiffigun.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:02:33] Terminating on signal SIGHUP(1)

I've gone over this several times, but I'm not quite sure what is causing it. I've reinstalled Perl several times, verified that my perl58.dll file is available, and done just about everything else I can think of.

I've set up numerous servers in the past, and the only thing that is different here is Mysql5.0 as opposed to 4.1, and the newer binaries. I 'ressurected' an old, preserved eqemu server directory and tried running world and zone from there, but encountered the same problem, so I'm thinking that this is a problem with my Perl installation, but I may be wrong.

Any ideas?

AndMetal 02-16-2008 09:29 PM

Quote:

Originally Posted by kedra (Post 143328)
[02.16. - 23:02:26] WARNING: error compiling quest file quests/lakerathe/Guide_Fiffigun.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
(reverting to default questfile)

Since this isn't a quest file from PEQ, I assume it's a custom script. Can you paste the content of the script?

kedra 02-17-2008 04:20 AM

It happens with any quest, even all of the default peq ones. I've deleted every single quest and started with the basics:

Code:

sub EVENT_SAY {
  if ($text=~/hail/i) {
    quest::say("Hello");
  }
}


Knightly 02-17-2008 05:58 AM

If I recall correctly, I had a problem on server 2003 when using notepad to edit quests. Using Notepad++ I set the format to UTF-8 and the line endings to Unix and didn't have a problem.

shaznito 02-17-2008 06:09 AM

Actually I'm having the same problem, I just re-installed everthing on a newer pc for eqemu and this is the error I get.
Code:

[02.16. - 23:36:16] Starting Log: logs/eqemu_quest_zone_2660.log
[02.16. - 23:36:16] Tying perl output to eqemu logs
[02.16. - 23:36:16] Creating EQEmuIO=HASH(0x3e1eaac)
[02.16. - 23:36:16] Creating EQEmuIO=HASH(0x3e1edf4)
[02.16. - 23:36:16] Loading perlemb plugins.
[02.16. - 23:36:16] Loading perl commands...
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/#Riley_Shplots.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/1173.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/templates/Arias2.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Faren.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Anehan_Treol.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Guard_Jerith.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Lanhern_Firepride.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Miltiades_Tal-Azroth.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Exterminator_Rasmon.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Yakem_Oreslinger.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/an_investigator.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Soulbinder_Novalu.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Jalorin_Tar-Visgur.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Trumpy_Irontoe.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Wolten_Grafe.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Chesgard_Sydwen.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
 (reverting to default questfile)
[02.16. - 23:36:17] WARNING: error compiling quest file quests/qeynos/Kasine_Paegra.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
(reverting to default questfile)


kedra 02-17-2008 07:25 AM

I've tried this using MySQL4.1 and build 1002. As far as I can tell, this is the exact configuration of a server I had running not long ago but I'm still seeing this problem. Strange.

shaznito 02-18-2008 08:53 PM

I finally figured out my problem and fixed it :)
Come to find out windows had some serious problem with my user logins, I signed in as "User" but for some reason all files were copied to "Administrator".

So I fdisk the computer since it wouldn't recognize any changes or new user and all works great even better than before.

kedra 02-19-2008 06:44 AM

Oh my freaking god, Shaz.

That's not my problem, but I think you just clued me in to what's wrong. It's most likely because my server directory is actually on a network drive. Oops.

I'm going to move everything back to a local drive and give that a shot. I'm sure that's the problem (Famous last words?).

Thanks for your follow up post! I'll post my findings... I hope this is it :D It's been driving me craaaazy.... then that stupid computer crashed. Ugh.

kedra 02-19-2008 11:27 AM

Yaaarg......crap. Don't think that was it. Same issue when running from the local drive. Hrm, I was sure... :\

The administrator account is the only one on this machine, so I don't think it is being caused by the same thing that you had going on.

Guess I'll keep looking. :-?

shaznito 02-19-2008 12:39 PM

Just a thought but, When setting up mysql did you uncheck "strict mode" ?
for whatever reason that one little feature disabled talking to npc's and plugins for quests to function etc....

kedra 02-19-2008 02:27 PM

Hrm. Tried messing with that - no luck.

LostZaphod 02-20-2008 02:51 AM

Did you run the perl program "ppm.exe" ?
and then issue these commands?

Install DBI
Install DBD-mysql
Install IO-stringy

kedra 02-20-2008 03:32 PM

Yea, I've done that, for what it's worth. I've set up plenty of servers in the past. I think maybe one component was updated and is causing some sort of incompatibility? I've restored my archived server which I know for a fact functioned just fine. I know that db + copy of zone/world are all compatible. I'm thinking the problem is with perl, but who knows...

Xavius 02-20-2008 10:28 PM

Not sure if this helps any or not, but I recently switched my server to a new machine, downloaded the latest source and compiled without any modifications, when I logged in none of my NPC's responeded to any hail's at all... switched back out and installed with a clean 'pre-compiled' version (think it was v1077) and everything worked fine with hails and all quests... retried with a compile of the latest source and no hails worked... at this point I ran out of available time for checking into this more thoroughly. If i find anything further I'll post back.

Rage
Elysium Server Owner

kedra 02-21-2008 05:36 AM

Thanks for the info. I'll give 1077 a shot and see if there is any improvement.


All times are GMT -4. The time now is 09:06 AM.

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