Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2008, 05:28 PM
kedra
Sarnak
 
Join Date: May 2007
Posts: 71
Default 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?
Reply With Quote
  #2  
Old 02-16-2008, 09:29 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by kedra View Post
[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?
__________________
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
  #3  
Old 02-17-2008, 04:20 AM
kedra
Sarnak
 
Join Date: May 2007
Posts: 71
Default

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");
  }
}
Reply With Quote
  #4  
Old 02-17-2008, 05:58 AM
Knightly
Accomplished Programmer
 
Join Date: Nov 2006
Location: Honolulu, HI
Posts: 91
Default

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.
Reply With Quote
  #5  
Old 02-17-2008, 06:09 AM
shaznito
Sarnak
 
Join Date: Apr 2007
Posts: 35
Default

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)
Reply With Quote
  #6  
Old 02-17-2008, 07:25 AM
kedra
Sarnak
 
Join Date: May 2007
Posts: 71
Default

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.
Reply With Quote
  #7  
Old 02-18-2008, 08:53 PM
shaznito
Sarnak
 
Join Date: Apr 2007
Posts: 35
Default

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.
Reply With Quote
  #8  
Old 02-19-2008, 06:44 AM
kedra
Sarnak
 
Join Date: May 2007
Posts: 71
Default

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 It's been driving me craaaazy.... then that stupid computer crashed. Ugh.
Reply With Quote
  #9  
Old 02-19-2008, 11:27 AM
kedra
Sarnak
 
Join Date: May 2007
Posts: 71
Default

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.
Reply With Quote
  #10  
Old 02-19-2008, 12:39 PM
shaznito
Sarnak
 
Join Date: Apr 2007
Posts: 35
Default

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....
Reply With Quote
  #11  
Old 02-19-2008, 02:27 PM
kedra
Sarnak
 
Join Date: May 2007
Posts: 71
Default

Hrm. Tried messing with that - no luck.
Reply With Quote
  #12  
Old 02-20-2008, 02:51 AM
LostZaphod
Sarnak
 
Join Date: May 2006
Posts: 43
Default

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

Install DBI
Install DBD-mysql
Install IO-stringy
Reply With Quote
  #13  
Old 02-20-2008, 03:32 PM
kedra
Sarnak
 
Join Date: May 2007
Posts: 71
Default

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...
Reply With Quote
  #14  
Old 02-20-2008, 10:28 PM
Xavius
Fire Beetle
 
Join Date: Aug 2006
Posts: 15
Default

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
Reply With Quote
  #15  
Old 02-21-2008, 05:36 AM
kedra
Sarnak
 
Join Date: May 2007
Posts: 71
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:09 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3