When I set up my server I used like 3 or 4 guides and sort of tweaked things here and there. So this is everything I did to get a working server.
**Note** this will set up a 0.6.1 DR1 server. If you are patched to live, you will not be able to play on it. Do not ask me how to patch to 0.6.1 because I will not tell you. Do some searching and you might find a way...
In theory this guide will work with any version you want, just select a different version or EQEmu and choose a matching database. Dont ask me though if you have problems, i am focusing on 0.6.1 DR1.
I am writing this guide in simple terms so that most can understand it. Its a pretty easy process, even to me, and i have no experience with some of this stuff. This guide is for setting up lan and online play so others can access your server. I had absolutly no problems following these steps and I think most people can figure it out.
If you do have problems I wil ltry to help, but it might be a better idea to ask in general support for some issues. I am not the smartest guy when it comes to this I am simply showing you what I did to make it work.
First download and install these.
http://dev.mysql.com/get/Downloads/M...m/pick#mirrors
I suggest installing MySql to C:\mysql
http://downloads.activestate.com/Act...x86-148120.msi
It doesnt matter where this is installed so go wild. I dont seem to use this so I honestly dont know what it is for. I just installed it because a couple guides said so. So go for it.
Now, once they are installed, go to Start\Programs\Perl\Perl Package Manager
This will bering up a command promt window, type the following:
Install BDI
Hit Enter and wait for it to finish.
Now type:
Install BDB-Mysql
Press enter and again wait for it to finish
Last, type:
Install IO-stringy
Again press enter and wait for it to finish. These steps took about 30 seconds or less on my system so its pretty quick.
Now that were donw with the Perl stuff lets move on to Mysql. this is pretty easy.
Open up the directory where you installed Mysql (I chose C:\Mysql) and open it up. Once inside there look for a folder named "Bin" Open this up and look for "winmysqladmin.exe" Double click this and it will load.
The very first thing that pops up is a box asking for your username and password. ***DO NOT FORGET THESE***
Type in your desired username and password and click ok. **Note** sometimes the OK is hidden just make the window bigger.
Ok so now we need a database. I chose to use a 0.6.1 DR2 database, and had no problems with it. so download this:
http://eqemu.sesmar.net/eqemu_6_1dr2/eqdr2_package.zip
Once you have this, unzip it to your C:\Mysql\Data folder. Dont worry about creating a new folder for it, it will do that itself and should be named eqdr2. If it is not names then rename the folder to eqdr2.
Now, open up a command promt, there are two ways to do this.
1: Go to Run and type CMD
2: Go to start\Program files\Accessories\Command Promt
Once the promt is open type the following:
CD C:\mysql\bin
Next type:
mysql -u root mysql
Once this is done type the following:
use eqdr2;
This will let mysql know what database to use. If all went well, it will say "Database Changed"
Now type this:
GRANT ALL PRIVILEGES ON eqdr2.* TO [username]@localhost IDENTIFIED BY '[password]' WITH GRANT OPTION;
Replace[username] with your mysql username and replace [password] with your mysql password
You can now exit out of the command promt by typing "Exit" or just hitting X. either way.
Now download this:
http://www.steelpsychos.com/eqemu/eqemu_0.6.1_DR1.rar
I suggest makign a backup of this file just to be safe. I had to redo it a few times and kept re-downloading it and it became a hassle so just giving yo ua heads up.
Just if you need it, that is the site hosing the 0.6.1 DR1 Eqemu file. I keep it for reference only.
http://www.steelpsychos.com/index.php?link=eqemu.php
Now, Extract this to C:\Eqemu
OK now go into the C:\Eqemu folder you just extracted to and loate the following file:
DB.ini
Open it up and lets edit it.
It currently looks like this:
# READ README.TXT!
[Database]
host=localhost
user=MySQLUsername
password=MySQLPassword
database=databasename
### --- This file tells world.exe what computer mySQL is on. Host should
### --- be left "localhost" unless mysql is on a differant computer than world.exe.
Where it says user, replace MySqlUsername with the username you picked on Mysql.
Where it says Password, Replace MySqlPassword with the password you chose.
I told you not to forget those so I hope you didnt.
Now, hit X and close this file. When it asks to save changes, hit yes.
Now, look for Loginserver.ini
It looks like this:
### --- This file tells world.exe what loginserver to connect to.
### --- Leave the account and password field BLANK.
### --- Public Login is un-supported as is LAN playing. We reccomend using the EQEmu.net Loginserver ALWAYS.
### --- NOTE: Starting 6-1-2002, you can no longer use the word "Server" in worldname.
### --- NOTE2: the word "Server" is added to each server automaticly.
# READ README.TXT
[LoginServer]
loginserver=eqemulator.net
loginport=5998
worldname=ServerName
worldaddress=EXTERNAL_IP_ADDRESS
locked=false
account=
password=
[WorldServer]
Defaultstatus=0
Unavailzone=
[ChatChannelServer]
worldshortname=
chataddress=
chatport=
Ok, first, make sure the loginport is 5998. THis is a big mistake many people make.
Next where it says Worldname, replace Servername with what you want your servername to be. Do not put the word server in the name.
Now, on worldaddress, replace EXTERNAL_IP_ADDRESS with your external IP address. You can get this at
www.whatismyip.com
Make sure locked says false and then hit X. Save the changes when it asks you and your done with this file.
THe next step is to find the Boot5Zones.bat. Right click on this file and choose edit.
It looks like this:
REM: ****Read this first!!!****
REM: This file requires your real IP in the place of "YourIP" when you are connecting
REM: To the EQEmu Loginserver.
REM: When you are using minilogin, Replace all IP Addresses to say 127.0.0.1
REM: If you still get errors try using localhost instead of 127.0.0.1
REM:--------------Start-----------------------
@echo off
if NOT exist spells_us.txt goto NOSPELL
start zone . EXTERNAL_IP_ADDRESS 7995 INTERNAL_IP_ADDRESS
start zone . EXTERNAL_IP_ADDRESS 7996 INTERNAL_IP_ADDRESS
start zone . EXTERNAL_IP_ADDRESS 7997 INTERNAL_IP_ADDRESS
start zone . EXTERNAL_IP_ADDRESS 7998 INTERNAL_IP_ADDRESS
start zone . EXTERNAL_IP_ADDRESS 7999 INTERNAL_IP_ADDRESS
exit
cls
:NOSPELL
echo You did not copy the spells_us.txt from your everquest directory to this one. Please do so or zones will crash on startup.
PAUSE
REM:---------------END------------------------
Now, the only thing you need to change here is where it says EXTERNAL_IP_ADDRESS and INTERNAL_IP_ADDRESS.
Go back to whatismyip.com and get your external IP again. Replace all the EXTERNAL_IP_ADDRESS with your external IP. DO the same with the INTERNAL_IP_ADDRESS.
Again, close by hitting X and saving changes.
Now, Download this file:
http://sourceforge.net/project/shown...ease_id=275456
This file is pretty big and might take a while so get a snack. If your on dialup, well, hosting a server online is just impossible.
Before you extract it, go into your C:\Eqemu folder and delete the Maps folder.
Now, extract the folder you just downloaded into C:\eqemu. It should extract into a new Maps folder. If for some reason it creates a folder not named Maps, just rename it.
Now, go into your EQ directory and copy your spells_us.txt file and replace the existing file in C:\eqemu.
Now, start World.exe, wait for it to load, and then start your boot5zones.bat, this may take a minute to load depending on your processor. mine loads in about 30 seconds. Once the 5 zones boot up, your world.exe window should recognize the zones.
Now log in!
once you have created a character and logged in, you can flag yourself as a GM.
Log out and open up a command promt.
Type the following:
cd c:\eqemu
Once this is up, type the following:
world.exe flag Username Status
Replace username with the username of the GM you want to make. Replace status with whatever status you want to give them.
0 - Legit
10 - Semi-Legit
20 - Non-Legit
60 - Guide
80 - GM-Quest Troupe
100 - GM-Admin
150 - GM-Lead Admin
200 - Serverop
It should then do a real quick process and just type exit and close it down. Now log back in and you are a GM!
Also note that on a rare occasion you will get a 1017 after first booting up, just log in again to fix this. Ive had this happen twice now.
Another note, if you have a router you will need to forward your ports. I suggest forwardeing port 7000-9000 just to be on the safe side. If this is not done you will get a 1017. Some peopel suggest using DMZ, I would rather not because it opens all ports on your router and that can be bad.
http://www.eqemulator.net/forums/sho...ort+forwarding
This is a good guide for port forwarding.