View Single Post
  #2  
Old 02-23-2004, 08:10 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Here's one: http://www.eqemulator.net/forums/vie...highlight=perl
And the one that I used (that you are probably talking about) is gone or the thread has changed, so it is a good thing I saved it as txt so I would remember how LOL. Here it is :
Code:
Right now by default perl is not enabled when you compile. You will need to define EMBPERL for perl quests, and/or EMBPERL_PLUGIN for perl plugins (remember plugins require IO::Scalers) 

To create another build configuration with perl support in VC++6 
open the server (or zone) project 
menu-- build,configurations 
select zone-win32-Release and press add 
set the configuration name to Relase with Perl 
set copy configuration from zone-win32-Release 
menu-- build,set active configuration 
select zone-win32-Relase with Perl 
menu-- Project, settings 
Select c/c++ tab 
with the category pulldown reading General add ,EMBPERL,EMBPERL_PLUGIN to the end of the Preprocessor defines 
Change category to Preprocessor and put c:\perl\lib\core in the Additional include Directories 
select the link tab 
change the category to input and put c:\perl\lib\core in the Additional library path 
Close window 
menu-- project, add to project, files 
select zone\embparser.cpp make sure it has insert into: zone selected 
do the same for embperl.cpp embparser.h and embperl.h 

Now you can build a zone.exe with or without perl support. It will put the zone.exe with perl in a sub directory of the zone source. This is how I set it up so that it worked. If there is a "proper" way please let me know. 

If compiled with perl quest, all quests must be in perl format. the *.qst files will not be read!
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote