Panic while starting Zone servers with Perl quests
I was trying to use perl quest as the 5.2 server crashes with .qst files, and i've installed ActivePERL and tried installing IO::Scalar, but still I get a panic while I try to start the Zone server... anyone have any idea how to fix this?
|
Liem, i've been having the same problems with a custom build - I'll let you know if I can figure a way around this.
-- Copy and paste this into a new test.pl file, and do: "perl test.pl" from the command line to verify that you have Scalar working correctly |
copy and paste what?
|
sorry, had to post it from the comp which had it on it.
Code:
### use 5.005; |
Hmm, looks like even the prebuilt exe returns the panic, odd
|
should "install IO:Scalar" work??
I couldn't run the test you posted, and now I'm trying to reinstall ActivePerl as I fu*ked alot around with \lib to try to get scalar to work |
install IO::Scalar must work correctly and return "install_finished", if not, you probably haven't set your nmake directory - do so by configuring perl correctly with "o config"
|
Ok, i got scalar to work.... but I still get the panic :(
Thanks for your help on getting scalar to work, any luck with getting the zone server up? |
Quote:
Code:
perl -MIO::Scalar -e "print 'AOK'" |
haha, you have to type that in though, mine you just have to double click =)
besides, all i did was copy/paste a demo script into a file from the build's readme. |
Quote:
Also, you guys need to be a whole lot more specific about these errors if you want to get good help. You got a panic? Which panic? Which perl version are you using? How did you verify your IO::Scalar installation? At what point are you getting errors? What OS? What is your path set to? etc... |
This is the output if I try to start a zone server:
Code:
[Status] CURRENT_ZONE_VERSION: EQEMu 0.5.2 Path=C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C :\WINDOWS\System32\Wbem;C:\php4\php;C:\Program Files\cvsnt EDIT: I just cleaned up my PATH |
using perl 5.8 on xp and windows server 2003, scalar is installed and verified via script I posted earlier.
zone.exe dies regardless if EMBPERL_PLUGIN is defined with panic: top_env Just tried it with 0.5.3DR1, same result. Edit: Perl 5.8-latest was installed using all defaults, same with the installation of scalar via install IO::Scalar (except for the location of nmake.exe). the panic: top_env was reproduced on both the 2003 and xp box, and so far I've done the following while compiling: added the embparser h/c++ and embperl h/c++ added \perl\lib\core to include dir added perl58.lib to compilation standard preprocessor define of EMBPERL compiled using the release configuration. |
You get the same error when you compile without #def EMBPERL_PLUGIN ?
Based on the fact that the last thing you see prior to the error is the 'loading embperl' msg, I think that we can say pretty safely that you are dying inside of Embperl::Embperl(). This should be pretty easy to debug, if you're up to the task. Embperl isn't dependent upon eqemu, so you can include it in a standalone program, if you need. Either way, you should be able to determine where it is dying pretty easily. I can't really do it for you, since I can't reproduce your problem. I've got to say, though, that I have a sneaking suspicion that your IO::Scalar isn't installed properly. This error is too weird for it to have a plethera of causes. |
I'm working on debugging it now, meanwhile scalar checks out correctly, and the install is done exactly how I said before:
install perl 5.8, all defaults hit enter on all config defaults except for location of nmake.exe perl -MCPAN -e shell install IO::Scalar Install finishes successfully run zone.exe, same panic error copy compiled scalar modules to perl/site and perl/lib directories same zone.exe panic error |
This happens with the linux version too, but they got it to work.
http://www.everquestserver.com/forum...ic.php?t=11457 |
Quote:
|
Mind telling us what you did exactly?
|
-Added embperl.cpp/h and embparser.cpp/h.
-Defined EMBPERL,EMBPERL_PLUGIN for the Zone project (Win32 Release build). -Added the pearl\lib\CORE directory to the Include and Library directories. -Optional: Modify embparser.cpp perl->eval(std::string("$").append(pkgprefix).append(": :").append(varname).append("=qq(").append(value).a ppend(");").c_str()); to: perl->eval(std::string("$").append(pkgprefix).append(": :").append(varname).append("=q(").append(value).ap pend(");").c_str()); You should be able to define EMBPERL only, if there is a problem with your IO::Scalar install (quests should work without the plugging support). |
Hmm, what compiler are you using?
|
Molly said vs6 in the post...
|
Just got VS6, I'll test it tonight and let everyone know of the outcome. I also did some thorough debugging of the perl module in VS .net, but the problem ends up on perl's side, not the emu's.
|
getting same error, custon build or binaries, with or without EMBPERL_PLUGIN defined.
winxp sp1, perl 5.8, path is set correctly added the path to lib files for perl in vc6 with perl->eval(std::string("$").append(pkgprefix).append(": :").append(varname).append("=q(").append(value).ap pend(");").c_str()); E:\EQEMU\5C9DC~1.2PE>perl -MIO::Scalar -e "print 'AOK'" AOK with EMBPERL_PLUGIN [Status] 150 commands loaded [Status] Loading embedded perl panic: top_env without EMBPERL_PLUGIN [Status] 148 commands loaded [Status] Loading embedded perl panic: top_env sigh, dont know what to do now. |
Anyone have any ideas, anything... EQ is not EQ without quests
|
I finally figured it out, it has to do with some very unusual occurences. The app is actually looking for the perl lib's in the wrong place when launched - working on a fix now
|
can't I just copy the libs to where the app is looking for 'em??
do u know where that is? |
Yeah, i could, but then it'd be messy, I'd rather see what is wrong specifically and fix it, doing more debugging now
|
I just want to set it up without recompiling. But if u do fix it I guess I'll just have to compile :wink:
|
This isn't a compiling issue, but rather it's directly related with the perl install. I'm trying to find what is causing perl to look elsewhere for it's libraries.
|
Ah, I re-read your post, sorry, I misunderstood. Please let me know what u find out.
|
Any progress? If not, please tell me where PERL looks for its libs so I can copy 'em there.
|
Liem - long since fixed, look a few threads below named perl fix found!
heh |
All times are GMT -4. The time now is 06:23 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.