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 12-21-2013, 04:33 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default Cannot run my server.

Upon attempting to run my server I get the following error: http://prntscr.com/2cxlby

There are no logs of this event; therefore, I cannot diagnose the error or post a log to help anyone else diagnose it, any ideas?

Here's my batch file:
Code:
@echo off
RMDIR /S /Q shared
mkdir shared
start shared_memory.exe
echo The shared memory must finish for the world to start.
ping -n 30 127.0.0.1 > nul
start world.exe
echo The world must finish for the zone to start.
ping -n 10 127.0.0.1 > nul
start queryserv.exe
start ucs.exe
start eqlaunch.exe zone	
exit
Reply With Quote
  #2  
Old 12-21-2013, 05:01 PM
werebat's Avatar
werebat
Hill Giant
 
Join Date: Oct 2010
Posts: 143
Default

I don't know if it matters but you do not need to remove and recreate your shared directory. So remove lines 2 and 3 from your batch file and see if it works.
Reply With Quote
  #3  
Old 12-21-2013, 05:20 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

I just did that and it still cannot find shared_memory.exe.
http://prntscr.com/2cy10t
Reply With Quote
  #4  
Old 12-21-2013, 05:21 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Sounds like you have a process open that has the file locked. Reboot and try again.
Reply With Quote
  #5  
Old 12-21-2013, 05:48 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

Quote:
Originally Posted by lerxst2112 View Post
Sounds like you have a process open that has the file locked. Reboot and try again.
That did nothing either.

EDIT: My default command prompt directory is C:\Windows\System32, it was C:\ earlier, but I changed it back because I thought it may be interfering. Could this batch be looking in C:\Windows\System32 for the executables rather than in the correct folder?
Reply With Quote
  #6  
Old 12-21-2013, 06:21 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

You have to cd to the directory you want to run everything to ensure the 100% functionality when windows does stupid stuff.
Reply With Quote
  #7  
Old 12-21-2013, 08:07 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

As Sorvani said, I've gotten burned by something so simple, cd to the server directory before trying to launch. Run the batch from cd while in the directory and try that
Reply With Quote
  #8  
Old 12-22-2013, 12:21 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

That worked, thanks Sorvani and Akkadius. Is there anyway to make that simple on myself rather than opening a command prompt and manually doing that every time?
Reply With Quote
  #9  
Old 12-22-2013, 12:26 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Add a line in the batch file to cd to the correct directory?
Reply With Quote
  #10  
Old 12-22-2013, 12:58 AM
Athai
Fire Beetle
 
Join Date: Feb 2009
Location: Doha, Qatar
Posts: 1
Default

Could just add the path in the environmental variables under profile. That should allow windows to see the path as native and no cd required.
Reply With Quote
  #11  
Old 12-22-2013, 02:16 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Use a shortcut and set the working directory to where your server files are.
Reply With Quote
  #12  
Old 12-22-2013, 03:29 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

I just did what Natedog said, added cd "C:\EQ\EQEmuServer" to my .bat file, thanks everyone for the help!
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 08:59 PM.


 

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