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-27-2012, 12:09 AM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default Portable doesn't work after uninstalling MYSQL and Perl

I'm trying to get a portable server to work. I have it all set up and working within a folder that I can move from PC to PC and it runs the server fine. But when I actually uninstall mysql and perl from the PC so they are only left as folders in the portable directory, i start to see a problem. The NPCs no longer respond to me when I try to hail them. I'm not sure why. Reinstalling MySQL and Perl and running a non-standalone server worked fine. But I tried to uninstall them and set up a new standalone and I run into the same problems all over again.

It seems like there is something the emulator/database is using from the windows installations of mysql/perl that is not carrying over to the portable folder. Has anyone run into this? How can I fix it?

I'm guessing I should be able to run a portable server without installing separate programs like MySQL or Perl. The point is to be able to transfer it to any other computer and have it run, because all the necessary resources are in the file.
Reply With Quote
  #2  
Old 02-27-2012, 01:05 AM
Taurinus2
Sarnak
 
Join Date: Nov 2009
Posts: 45
Default

Take some time to learn Windows.

http://lmgtfy.com/?q=windows+library+path

Yes, I know that sounds harsh but this is a forum for server administration and yet you do not know how to configure your OS (or even research with Google)?

Read through that link and thank me later.
Reply With Quote
  #3  
Old 02-27-2012, 01:43 AM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default

Not sure I understand, even after reading.

I have no level of expertise with this stuff. I read the FAQs and have read this forum well enough to be able to get a server up and running.

I wouldn't have known to search for dll path issues because I had no way of knowing it was a missing dll issue (I still don't know if that's what it is, although you seem fairly convinced and knowledgable).

Bottom line is, reading the various links you pulled up from Google didn't really clear anything up for me at all. To be clear, I'm not getting any missing dll errors, so I don't actually know which ones aren't in the path.

And I am using a .bat file which sets the path to my eqemu\mysql and perl directories.

Is it just a matter of figuring out which .dlls are missing and adding them to my mysql and perl portable folders? If that's it, how do I figure out which .dlls I need and where exactly do I add them?
Reply With Quote
  #4  
Old 02-27-2012, 01:41 PM
Taurinus2
Sarnak
 
Join Date: Nov 2009
Posts: 45
Default

Paste the contents of your batch file.
Reply With Quote
  #5  
Old 02-27-2012, 01:47 PM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default

Thanks. Will do so when I get home from work tonight.
Reply With Quote
  #6  
Old 02-27-2012, 03:40 PM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default

If it helps for now, I can tell you that the .bat pathing instruction is as follows:


Path = %Path%;c:\Games\Everquest\mysql\bin;c:\Games\Everq uest\perl\bin


"Everquest" is my "Standalone" dir. That path instruction appears right at the beginning of the .bat file. I'll post the whole thing once I have access to it.
Reply With Quote
  #7  
Old 02-27-2012, 06:56 PM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default

The above line has a typo but I'm not sure why.

Path = %Path%;c:\Games\Everquest\mysql\bin;c:\Games\Everq uest\perl\bin

"Ever quest" should be "Everquest."

It is correctly entered in the .bat.
Reply With Quote
  #8  
Old 02-27-2012, 09:12 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

Change it to:

Code:
Path = c:\Games\Everquest\mysql\bin;c:\Games\Everquest\perl\bin;%Path%
To make sure the dlls in those directories are found first.
Reply With Quote
  #9  
Old 02-28-2012, 01:10 AM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default

Changing the path code didn't work.

My .bat is as follows:

@echo off
Path = c:\Games\Everquest\mysql\bin;c:\Games\Everquest\pe rl\bin;%Path%

xampp_start.exe

cd .\eqemu

start EQEmuLoginServer.exe
echo
echo
start world.exe
cls
echo Wait for World to finish loading... Press Enter when done.
sleep 10
start eqlaunch.exe zone
exit

Runs mysql and the various server progs just fine and I can connect to my world, set up a toon and run around. I just can't get the NPCs to talk to me.
Reply With Quote
  #10  
Old 02-28-2012, 01:48 AM
Taurinus2
Sarnak
 
Join Date: Nov 2009
Posts: 45
Default

Try this:

Quote:
set PATH=xxx
Where xxx = your actual path.
Reply With Quote
  #11  
Old 02-28-2012, 01:58 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

What he has already should be setting the path properly. Environment variables aren't case sensitive.

Open a command prompt, cd c:\, run that path command, and then type perl -v

What happens? If Perl actually runs, is it the version you have installed with xampp or another version? Assuming you have Vista or Windows 7 you can also type `where perl` and see what it finds. If it is not the right directory then that's your problem.
Reply With Quote
  #12  
Old 02-28-2012, 02:14 AM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default

The plot thickens. Thanks for the suggestion, I think it cleared some things up, but I'm still stuck.

Typing in that path and then perl -v does run Perl and pulls up v. no. 5.10.1. Looking in the Perl dir in my standalone, one of the exe's is ver 5.10.1.1008, so no problems there.

Typing where perl pulls up my standalone perl folder and standalone mysql folders. Again, seems like no problem there.

Sounds like it should be running fine right? Still not working.
Reply With Quote
  #13  
Old 02-28-2012, 02:32 AM
Noport
Opcode Ninja
 
Join Date: Mar 2009
Location: San francisco
Posts: 426
Default

no path for eqemu\plugins
Reply With Quote
  #14  
Old 02-28-2012, 02:39 AM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default

Noport, what does that mean? How do I set one?
Reply With Quote
  #15  
Old 02-28-2012, 03:17 AM
Taurinus2
Sarnak
 
Join Date: Nov 2009
Posts: 45
Default

Quote:
Originally Posted by lerxst2112 View Post
What he has already should be setting the path properly. Environment variables aren't case sensitive.
Yes, but SET is what I was meaning to point out.
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 01:04 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3