EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=617)
-   -   Panic while starting Zone servers with Perl quests (https://www.eqemulator.org/forums/showthread.php?t=10779)

Liem 12-13-2003 06:58 PM

This happens with the linux version too, but they got it to work.
http://www.everquestserver.com/forum...ic.php?t=11457

mollymillions 12-14-2003 08:45 PM

Quote:

Originally Posted by SaguratuS
as far as I know, perl isn't *quite* working just yet with windows - if you have it working, let us all know here: http://www.everquestserver.com/forum...ic.php?t=11720

I have been using the Perl mods with EQEmu 5.1.2 and 5.2 on WinXP with ActivePerl 5.8.1.807, compiled with VS6 C++.

SaguratuS 12-14-2003 08:50 PM

Mind telling us what you did exactly?

mollymillions 12-14-2003 09:42 PM

-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).

SaguratuS 12-14-2003 09:58 PM

Hmm, what compiler are you using?

Eglin 12-15-2003 09:49 AM

Molly said vs6 in the post...

SaguratuS 12-15-2003 09:52 AM

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.

brinks 12-15-2003 07:45 PM

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.

Liem 12-15-2003 07:50 PM

Anyone have any ideas, anything... EQ is not EQ without quests

SaguratuS 12-15-2003 08:18 PM

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

Liem 12-15-2003 08:50 PM

can't I just copy the libs to where the app is looking for 'em??
do u know where that is?

SaguratuS 12-15-2003 09:34 PM

Yeah, i could, but then it'd be messy, I'd rather see what is wrong specifically and fix it, doing more debugging now

Liem 12-15-2003 09:47 PM

I just want to set it up without recompiling. But if u do fix it I guess I'll just have to compile :wink:

SaguratuS 12-15-2003 09:55 PM

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.

Liem 12-15-2003 10:24 PM

Ah, I re-read your post, sorry, I misunderstood. Please let me know what u find out.


All times are GMT -4. The time now is 12:55 AM.

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