View Single Post
  #49  
Old 11-30-2012, 06:14 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

i think you're missing a key point...

Quote:
Originally Posted by c0ncrete View Post
if you are NOT running EQEmuLoginServer (or if it's closing due to an error), that's the problem. world is trying to connect to a login server that isn't running.
if your world server isn't connecting to eqemulator.net to validate accounts, you will need to run your own login server (EQEmuLoginServer.exe). if the batch file you use to boot the emulator doesn't start the login server, that's where your problem is.

here's my startup.bat as an example:
Code:
@Echo Off

:start
CLS

Echo   EQ Emulator Option Menu
Echo ============================
Echo =   1. Localnet  Server    =
Echo =   2. Localhost Server    =
Echo =   3. Public    Server    =
Echo ============================
Echo  Default to Localnet in 10s

Set /p ErrorLevel="Which configuration? "
If not '%ErrorLevel%' == '' set choice=%choice:~0,1%
If %ErrorLevel% == 1 Goto localnet
If %ErrorLevel% == 2 Goto localhost
If %ErrorLevel% == 3 Goto public
GoTo Start

:localnet
Copy eqemu_config-localnet.xml eqemu_config.xml
Goto runprivateemu

:localhost
Copy eqemu_config-localhost.xml eqemu_config.xml
Goto runprivateemu

:public
Copy eqemu_config-public.xml eqemu_config.xml
Goto runpublicemu

:runprivateemu
start EQEmuLoginServer.exe
ping localhost -n 10 >nul
start World.exe
ping localhost -n 20 >nul
start EQLaunch.exe zone
ping localhost -n 10 >nul
start ChatServer.exe
Goto end

:runpublicemu
start World.exe
ping localhost -n 10 >nul
start EQLaunch.exe zone
ping localhost -n 10 >nul
Goto end

:end
Reply With Quote