EQ2EMu/README.md

106 lines
5 KiB
Markdown
Raw Normal View History

# EQ2Emulator Project - **ZEKLABS ALPHA BUILD**
2020-02-24 21:20:00 -07:00
2020-02-28 07:17:24 -07:00
Based on https://www.eq2emulator.net/ visit https://www.eqpvp.com/ or https://www.zeklabs.com/ for more details
## Getting Started (Client)
1. Install Game: Install AoM client available on Steam: https://store.steampowered.com/app/201230/EverQuest_II/
2. Update Login Server: Navigate to EverQuest install directory, eg. C:\Steam\steamapps\common\EverQuest 2
2020-02-28 07:42:44 -07:00
2020-02-28 07:17:24 -07:00
a. Open eq2_default.ini with your Notepad or other flavor editor
2020-02-28 07:44:18 -07:00
2020-02-28 07:17:24 -07:00
b. Replace first line with 'cl_ls_address a.b.c.d' - where a.b.c.d is one or many IPv4 addresses
eg. cl_ls_address 192.168.0.2
2020-02-28 07:44:18 -07:00
2020-02-28 07:17:24 -07:00
c. Save Changes
2020-02-28 07:44:18 -07:00
2020-02-28 07:17:24 -07:00
d. Always Open EverQuest2.exe to start the game, **DO NOT USE EQ2.EXE**
2020-02-28 07:44:18 -07:00
e. Splash login account / name set your desired credentials (user/password). If account exists with different password the login will be rejected.
2020-02-28 07:17:24 -07:00
## Getting Started (Server)
Note: These instructions for now will be primarily based in Windows, but any Linux savvy individual should be able to translate the steps
1. Software Requirement: MariaDB (MySQL DB, etc.) to allow EQ2Emulator LoginServer / WorldServer to interface
2020-02-28 07:44:18 -07:00
2020-02-28 07:47:01 -07:00
Obtain Latest Install (be sure to select OS on the right hand side as default will be a linux distro): https://mariadb.com/downloads/
2020-02-28 07:44:18 -07:00
2020-02-28 07:47:01 -07:00
Installation Instructions for MariaDB can be found here: https://mariadb.com/kb/en/installing-mariadb-msi-packages-on-windows/
2020-02-28 07:44:18 -07:00
2020-02-28 07:47:01 -07:00
Note: Be sure to remember the user and password defined in the installation!! Used in later steps.
2020-02-28 07:17:24 -07:00
2. Open MySQL Client: Login using the password (assigned to root or other default user) setup in the MariaDB installation.
3. Source in Databases: Issue the following commands to setup EQ2Emulator's databases for login (eq2ls) and world (eq2emu).
2020-02-28 07:44:18 -07:00
2020-02-28 08:14:58 -07:00
- You must first go into source C:\\[YOUREQ2EMUGITSRC]\DB\ and extract world_db.zip 'Here' into the same \DB\ directory.
2020-02-28 07:44:18 -07:00
2020-02-28 08:10:25 -07:00
- Run the following commands in the MySQL Client prompt:
2020-02-28 07:47:41 -07:00
create database eq2ls;
create database eq2emu;
\u eq2ls
2020-02-28 08:14:58 -07:00
source C:\\[YOUREQ2EMUGITSRC]\DB\ls_db.sql
2020-02-28 07:47:41 -07:00
\u eq2emu
2020-02-28 08:14:58 -07:00
source C:\\[YOUREQ2EMUGITSRC]\DB\world_db.sql
2020-02-28 07:17:24 -07:00
2020-03-28 20:44:47 -06:00
4. Add World Account (in Login Server database, eq2ls):
2020-03-18 21:55:23 -06:00
2020-03-28 20:44:47 -06:00
\u eq2ls
insert into login_worldservers set name='TestLabs',account='testlabs',description='TestLabs',password=sha2('testpass',512),note='',login_version='0.7.3-dev';
2020-02-28 07:17:24 -07:00
2020-03-28 20:44:47 -06:00
The account and password will be used in Step 5 for the 'account' and 'password' parameters.
2020-02-28 08:14:58 -07:00
5. Open the C:\\[YOUREQ2EMUGITSRC]\server\LoginServer.ini file (Notepad or other flavor editor)
2020-02-28 07:17:24 -07:00
2020-02-28 08:12:00 -07:00
Note: Steps to find your LAN IP (command prompt, ipconfig, IPv4 address): https://www.lifewire.com/ip-config-818377
2020-02-28 07:44:18 -07:00
2020-02-28 08:12:00 -07:00
Find your WAN (Internet) IP: https://www.google.com/search?q=what+is+my+ip
2020-02-28 07:44:18 -07:00
2020-02-28 08:11:27 -07:00
- Modify the [LoginServer] section:
2020-02-28 08:15:44 -07:00
2020-02-28 08:17:32 -07:00
- loginserver: LAN/WAN IP of your login server to use the login_worldservers account against
- worldname: World Name that matches the 'name' column defined in login_worldservers (eg. TestLabs)
- worldaddress: LAN/WAN IP of your world server
- internalworldaddress: LAN IP of your world server
- account: Column 'account' defined in login_worldservers (eg. testlabs)
- password: Column 'password' in login_worldservers (eg. testpass)
2020-02-28 08:11:27 -07:00
- Save Changes
2020-02-28 07:17:24 -07:00
2020-02-28 08:14:58 -07:00
6. Open the C:\\[YOUREQ2EMUGITSRC]\server\login_db.ini file (Notepad or other flavor editor)
2020-02-28 08:10:25 -07:00
- Modify the [Database] section:
2020-02-28 08:17:32 -07:00
- host: Should remain localhost unless you have your MariaDB server reside on another host IP
- user: When installing MariaDB the user defined (default is 'root') should be set here
- password: When installing MariaDB use the password defined along with the default user.
- database: This field should remain eq2ls unless changed by the user to use a custom database name.
2020-02-28 07:17:24 -07:00
2020-02-28 08:14:58 -07:00
7. Open the C:\\[YOUREQ2EMUGITSRC]\server\world_db.ini file (Notepad or other flavor editor)
2020-02-28 08:10:25 -07:00
- Modify the [Database] section:
2020-02-28 08:17:32 -07:00
- host: Should remain localhost or 127.0.0.1 unless you have your MariaDB server reside on another host IP
- user: When installing MariaDB the user defined (default is 'root') should be set here
- password: When installing MariaDB use the password defined along with the default user.
- database: This field should remain eq2emu unless changed by the user to use a custom database name.
2020-02-28 07:17:24 -07:00
2020-04-06 10:53:46 -06:00
8. Start the Login Server: C:\\[YOUREQ2EMUGITSRC]\server\EQ2Login__Debug64.exe
2020-02-28 07:40:56 -07:00
2020-04-06 10:53:46 -06:00
9. Start the World Server: C:\\[YOUREQ2EMUGITSRC]\server\EQ2World__Debug_x64.exe
2020-02-28 07:40:56 -07:00
2020-03-28 20:44:47 -06:00
10. Startup EverQuest2.exe (DO NOT USE EQ2.EXE AS IT WILL PATCH!) and login using credentials of your choice. After login the account will be automatically created.
11. Optional: After creating a character and logging in give yourself all admin privileges to use commands/GM access
\u eq2emu
update characters set admin_status=255 where name='charname';
2020-02-28 07:17:24 -07:00
### Building/Compiling
TBD
## Authors
Authors reside at https://www.zeklabs.com/ and https://www.eqpvp.com/
## License
This project is licensed under the GNU General Public License - see the [LICENSE.md](LICENSE.md) file for details