Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 04-30-2013, 06:17 PM
PallbearerX
Fire Beetle
 
Join Date: Apr 2013
Posts: 4
Default

I just got my server installed successfully today. For similar reasons I also needed to run my server as a local login machine as opposed to using eqemulator.net. Here are the steps I followed to get the login server working.

These are additional steps as an addendum to the wonderful server walkthrough found here.

1. Section "Use CMake to build the required Visual Studio Solution and Project files"

Click the box next to EQEMU_BUILD_LOGIN and then click Configure.

2. Section "Build the executables using Visual Studio"

You should see the results as follows.
Code:
========== Build: 10 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Or if you're re-compiling you should see results similar to the following
Code:
========== Build: 3 succeeded, 0 failed, 7 up-to-date, 0 skipped ==========
3. Section "Copying the executables to your server directory"

Also copy the loginserver.exe (and loginserver.pdb optionally) from the \EQ\Source\Build\Bin\Debug directory into the \EQ\EQEmuServer directory.

4. Section "Downloading, installing and updating the PEQ database"

Also 'source in' the load_login.sql file.

5. Section "Editing your server confiugration - eqemu_config.xml"

Edit the login server section to point to the local server.
Code:
<loginserver>
  <host>127.0.0.1</host>
  <port>5998</port>
  <account></account>
  <password></password>
</loginserver>
6. Section "Creating a batch file to launch the server"

Add a line to the batch file to start the login server before the world.
Code:
@echo off
shared_memory.exe
start loginserver.exe
start world.exe
echo Waiting for the world to finish loading before starting zones...
ping -n 10 127.0.0.1 > nul
start queryserv.exe
start ucs.exe
start eqlaunch.exe zone
exit
Additional steps required:

1. Download the file "Windows_LoginServerCrypto_x86.zip" from github and extract its contents.

2. Copy the "EQEmuAuthCrypto.dll" file from the extracted archive (release folder) into the \EQ\EQEmuServer folder.

3. In the \EQ\Source\loginserver\login_util folder, edit the login.ini file and provide DB access information.
Code:
[database]
host = localhost
port = 3306
db = peq
user = root
password = <your_password>
subsystem = MySQL
4. Copy the following files from the \EQ\Source\loginserver\login_util folder to the \EQ\EQEmuServer folder.
Code:
login.ini
login_opcodes.conf
login_opcodes_sod.conf
After the above steps I was able to successfully log onto my server locally.

YMMV...

PbX

Last edited by Derision; 05-13-2013 at 04:18 PM.. Reason: Added some code blocks for formatting.
Reply With Quote
 


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:29 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