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 08-20-2011, 04:07 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Find the two lines in the source code that look like this:

Code:
#pragma comment(lib, "perl510.lib")
Change the 510 to whatever version of perl you are using, like 512.

What are the errors you get with Strawberry perl? What version were you trying to use?
Reply With Quote
  #2  
Old 08-20-2011, 05:18 PM
Emmeric
Sarnak
 
Join Date: Aug 2011
Posts: 72
Default

Quote:
Originally Posted by lerxst2112 View Post
Find the two lines in the source code that look like this:

Code:
#pragma comment(lib, "perl510.lib")
Change the 510 to whatever version of perl you are using, like 512.

What are the errors you get with Strawberry perl? What version were you trying to use?
That "source code" - you mean look for that line in the peqdb files?

The Strawberry perl seems to be the only perl I can find to use that isn't too advanced, but perhaps it is. I am assuming the perl510.lib error is because of the Strawberryperl usage.
Reply With Quote
  #3  
Old 08-20-2011, 06:22 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

No, the C++ source code. ActiveState 5.12 will probably work, but you would need to modify those lines.

Without you posting the errors you get using Strawberry I can't even guess what the problem is.
Reply With Quote
  #4  
Old 08-21-2011, 01:59 PM
Emmeric
Sarnak
 
Join Date: Aug 2011
Posts: 72
Default

Quote:
Originally Posted by lerxst2112 View Post
No, the C++ source code. ActiveState 5.12 will probably work, but you would need to modify those lines.

Without you posting the errors you get using Strawberry I can't even guess what the problem is.
Hunted a bit through 2008 C# files and haven't seen anything that contains source code to alter. Tried a cmd insertion but that did nothing.

Where should I be looking?
Reply With Quote
  #5  
Old 08-21-2011, 05:06 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

It's C++, not C#.

When you have the solution open in Visual Studio click the find in files button in the top center of the toolbar. It has an icon that looks like a folder. When the dialog pops up, type perl510 in it and click find all. There should be two places it finds. Double click on each line to go to the file where the line is, and change it, then recompile.
Reply With Quote
  #6  
Old 08-21-2011, 07:39 PM
Emmeric
Sarnak
 
Join Date: Aug 2011
Posts: 72
Default

Quote:
Originally Posted by lerxst2112 View Post
It's C++, not C#.

When you have the solution open in Visual Studio click the find in files button in the top center of the toolbar. It has an icon that looks like a folder. When the dialog pops up, type perl510 in it and click find all. There should be two places it finds. Double click on each line to go to the file where the line is, and change it, then recompile.


Find all "perl510 ", Whole word, Subfolders, Find Results 1, "Entire Solution", "*.*"
Matching lines: 0 Matching files: 0 Total files searched: 534

Interesting.

Thank you so far, for your help. I'm not sure I drink enough for this. Don't understand why I got a failure error on trying to open a file the system wanted and then indicates isn't in the code anyway...
Reply With Quote
  #7  
Old 08-22-2011, 03:52 AM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 656
Default

Quote:
Originally Posted by Emmeric View Post
Find all "perl510 ", Whole word, Subfolders, Find Results 1, "Entire Solution", "*.*"
Matching lines: 0 Matching files: 0 Total files searched: 534

Interesting.

Thank you so far, for your help. I'm not sure I drink enough for this. Don't understand why I got a failure error on trying to open a file the system wanted and then indicates isn't in the code anyway...
Check zone/embperl.cpp and world/EQWParser.cpp I think those were the files that needed to be changed.
Reply With Quote
  #8  
Old 08-22-2011, 04:48 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Looking at what you posted, there's a space after perl510 that would possibly make it fail.

Find all "perl510", Subfolders, Find Results 1, "Entire Solution", "*.c;*.cpp;*.cxx;*.cc;*.tli;*.tlh;*.h;*.hpp;*.hxx; *.hh;*.inl;*.rc;*.resx;*.idl;*.asm;*.inc"
C:\EQEmu\ServerCode\trunk\EQEmuServer\world\EQWPar ser.cpp(35):#pragma comment(lib, "perl510.lib")
C:\EQEmu\ServerCode\trunk\EQEmuServer\zone\embperl .cpp(26):#pragma comment(lib, "perl510.lib")
Matching lines: 2 Matching files: 2 Total files searched: 534
Reply With Quote
  #9  
Old 08-22-2011, 06:46 AM
BrandeX
Sarnak
 
Join Date: Aug 2009
Location: China
Posts: 33
Default

I just did this with installed version 5.12. Just rename you perl512.lib to perl510.lib it's a lot easier.
Reply With Quote
  #10  
Old 08-22-2011, 01:10 PM
Melandril
Sarnak
 
Join Date: Jun 2003
Posts: 75
Default

for what it's worth, I affirm the above statements. As soon as I replaced the perl510 with perl512 (and made sure my MySQL was the 32 bit version....), everything in this guide worked. (Still had to figure out the login piece but eventually figured that out too.)
(The other "gotcha" I missed before getting it working was the section on setting up environment variables...)
Reply With Quote
  #11  
Old 08-23-2011, 06:00 PM
Emmeric
Sarnak
 
Join Date: Aug 2011
Posts: 72
Default

Thank you for the responses. With the accurate directions, I changed the target to 512 and received 5 successes.

In Step 10, there are instructions to copy files. Before I go any further, I noted that both the WORLD and ZONE folders have red exclamation points. Inside world, EQWparser is exclamation. Everything else green. Inside zone, embperl is exclamation, everything else green. These two folders cause all the parent files to show exclamation points (C:\EQEmuSVNFiles\EQEmu\trunk\EQEmuServer\)

Should I be concerned about this? I do not want to advance the process only to find these things mattered and have to start over.

If they do matter, could someone indicate precise steps that I can follow to correct this?

Thanks!
Reply With Quote
  #12  
Old 08-23-2011, 07:03 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

The exclamation point means that a file is changed, or a folder contains one or more files that are changed. It's nothing to worry about.
Reply With Quote
  #13  
Old 08-23-2011, 11:27 PM
Emmeric
Sarnak
 
Join Date: Aug 2011
Posts: 72
Default

Quote:
Originally Posted by lerxst2112 View Post
The exclamation point means that a file is changed, or a folder contains one or more files that are changed. It's nothing to worry about.
Good, thanks.

The attempt to use the peqdb is not working. When downloading the DB using this link in Tortoise SVN (http://projecteqdb.googlecode.com/sv...k/peqdatabase), we get a zipped database_incremental. When that is unzipped, a folder named database incremental is formed with a db_dump text file inside. There are no .sql files.

Commands to use either the incremental folder or the dump text do not source the DB as the guide directs.

What should I be doing here? I read through this thread but didn't see a definite or clear answer to this issue.

Thanks for your help so far! Things are proceeding smoothly as long as I stop at every hitch and ask...
Reply With Quote
  #14  
Old 08-23-2011, 11:59 PM
BrandeX
Sarnak
 
Join Date: Aug 2009
Location: China
Posts: 33
Default

Try again. I just d/l and unzipped database_incremental.zip and got db_dump.sql

Do you have "hide file extensions enabled in windows explorer?
Reply With Quote
  #15  
Old 08-24-2011, 02:22 PM
Emmeric
Sarnak
 
Join Date: Aug 2011
Posts: 72
Default

Quote:
Originally Posted by BrandeX View Post
Try again. I just d/l and unzipped database_incremental.zip and got db_dump.sql

Do you have "hide file extensions enabled in windows explorer?


That was exactly it, thank you.

Received a ton of duplicate errors when running load_player.sql. Nothing I should worry about, I imagine?

Also, should I be running any updates to the incremental file? Most look like optional pre-made modifications if I chose to use them?
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 06:56 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3