Basic Server Install - Windows

Compatibility:

  • Windows 7 - x64

  • Windows 8 - x64

  • Windows 10 - x64

  • Windows Server 2012 - x64

Requirements

  • This installer assumes you have a clean install of Windows

  • Internet Connection

Runtime

  • 2-10 minute install depending on your connection

What's in the Installer

  • Perl 5.12.3

    • Perl DBI (Database Integration)

  • MariaDB x64 10.0.0 - Optimized MySQL configuration

    • Heidi SQL (Comes with MariaDB)

  • Latest PEQ Database and automatically updated with the installer

  • Latest PEQ Quests

  • Latest Plugins repository

  • Visual Studio runtimes

  • Automatically added firewall rules

  • V2 Server Side Maps

  • Path Files

  • LUA

  • Optimized and latest server binaries (Stable)

  • Loginserver:

    • The server is configured to use the EQEmu Public Loginserver

    • You can also install a local loginserver for LAN play

Server Installation

  1. First you will need to download the starter files that will kick off the installation process

image

2. Once you have the files downloaded, you need to make a folder somewhere that you would like your server to reside, the place I chose is C:\EQEmuServer

3. Extract the files inside eqemu_installer_files.zip to this folder

4. Once extracted, right click eqemu_install.bat and "Run as Administrator", from this point on the entire install will be automated and run on its own, this is assuming you have an internet connection so the installer can pull down all of the necessary server assets

image

Installation Details

  • MariaDB installed

    • User: root (Doesn't allow remote connections)

    • Password: eqemu

  • Folders created:

    • logs

    • updates_staged

    • shared

  • Map files (maps/)

  • Opcode files (patch_*.conf)

  • Plugins (plugins/)

  • Quests (quests/)

  • LUA Modules (lua_modules/)

  • Pre-requisite .dll files (lua511.dll, zlib1.dll, libmysql.dll)

  • Server Scripts

    • t_database_backup.bat

    • t_server_crash_report.pl

    • t_start_server.bat

    • t_start_server_with_login_server.bat

    • t_stop_server.bat

  • PEQ Database Downloaded and automatically updated, database created as name: "peq"

  • Windows Firewall rules added

    • Ports 9000, 7000-7500

image

When the installation process is done running, you will see "press any key to continue" once the final step of adding firewall rules has been complete that's when everything should be installed and ready to go.

Change your server name in eqemu_config.json, shortname/longname is currently set to:

  • Akka's Server Installer (Change Name)

At this point you can use:

  • t_start_server.bat to start the server

  • t_stop_server.bat to stop the server

You are good to go!

Loginserver Installation

  • The windows installer already pulls down pre-compiled Loginserver binaries, but if you need to download them again for any reason, you can issue the following command:

perl eqemu_server.pl setup_loginserver
[Install] Fetching Loginserver...
[Copy] folder doesn't exist, creating 'updates_staged/'
[Download] Saved: (updates_staged/login_server.zip) from https://raw.githubusercontent.com/Akkadius/EQEmuInstall/master/login_server.zip
[Install] Extracting...
[Unzip] Extracting...
[Install] Installing :: EQEmuAuthCrypto.dll
[Install] Installing :: login.ini
[Install] Installing :: loginserver.exe
[Install] Installing :: loginserver.ilk
[Install] Installing :: loginserver.pdb
[Install] Installing :: login_opcodes.conf
[Install] Installing :: login_opcodes_sod.conf
[Install] Done...
[Install] Pulling down Loginserver database tables...
[Download] Saved: (db_update/login_server_tables.sql) from https://raw.githubusercontent.com/Akkadius/EQEmuInstall/master/login_server_tables.sql
[Install] Installing Loginserver tables...
[Install] Done...
[Install] Found existing rule :: EQEmu Loginserver (SOD+) (5999) UDP
[Install] Found existing rule :: EQEmu Loginserver (SOD+) (5999) TCP
[Install] Found existing rule :: EQEmu Loginserver (Titanium) (5998) UDP
[Install] Found existing rule :: EQEmu Loginserver (Titanium) (5998) TCP
If firewall rules don't add you must run this script (eqemu_server.pl) as administrator
[Install] Instructions
[Install] In order to connect your server to the loginserver you must point your eqemu_config.json to your local server similar to the following:
"loginserver1" : {
"account" : "",
"host" : "login.eqemulator.net",
"password" : "",
"port" : "5998",
"legacy": "1"
},
"loginserver2" : {
"account" : "",
"host" : "192.168.197.129",
"password" : "",
"port" : "5998"
},
"localaddress" : "192.168.197.129",
[Install] When done, make sure your EverQuest client points to your loginserver's IP (In this case it would be 192.168.197.129) in the eqhosts.txt file
[Install] Press any key to continue...

Loginserver Settings

  • Keep in mind, that the loginserver is setup for convenient LAN purposes, so that you can use your EverQuest client to login to the Loginserver, if you don't have a Loginserver account created, it will use the username and password you typed in trying to login and automatically create an account which you can use from then on out via the login.ini option "auto_create_accounts"

auto_create_accounts = TRUE

  • The installer is configured to connect to the EQEmu Public loginserver and the local loginserver that you may or may not use, so you can use both methods of logging into your server that way as you choose. How you use your server is up to you and your desires

Setting up the Loginserver for Local LAN

  • Now, assuming you've had all of the above done, you may need to do a little manual work to configure some of your network settings to get your server to properly show up.

  • First you will need to get your local LAN IP

    • Open up 'cmd' by going to Start and typing in 'cmd'

    • Type the command:

      • ipconfig

image
  • You will need to use this address in all of the following files

EQEmuServer: (login.ini)

image

Note: Leave off the last number..but, keep the dot (period)

EQEmuServer: (eqemu_config.json)

"loginserver2" : {
"account" : "",
"host" : "192.168.197.129",
"password" : "",
"port" : "5998"
},
"localaddress" : "192.168.197.129",

Note: The "localaddress" tag may not be present and will need to be added

All EverQuest Clients on the local network will need this entry: (eqhost.txt)

image

Note: Port 5998 is required when using the supported "Titanium" and "Secrets of Faydwer" clients

Restart your server using t_start_server_with_login_server and you should be good to go!

Connect using your game client and you should see:

image