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