Downloads:
1) MySQL - used for database editing.
http://dev.mysql.com/get/Downloads/M...m/pick#mirrors
2) EQEmu 5.9 DR1 - Perl Enabled
http://home.comcast.net/~molimo140/59perl.zip
3) Active Perl - Used for writing quests.
Perl 5.8
http://downloads.activestate.com/Act...SWin32-x86.msi
AND
NMAKE.exe
http://www-124.ibm.com/developerwork...pplication/exe
4) Databases:
You said you wanted to create an old world server. The only current old world database is being worked on by the folks at peqserver. Currently the "Classic" database has been released (Nothing but standard EQ, no expansions). This can be downloaded at:
www.peqserver.com
Click on DB Releases, and download 5.8 Classic.
---------------------------------------------------------------
STEP ONE: Installing Stuff
1) Install MySQL, run the program I had you download.
2) Extract the contents of 59perl.zip to C:\eqemu
3) Install Perl 5.8
4) Copy NMAKE.exe (downloaded above) into C:\perl\bin
5) Install IO::Scalar
Open a Command Prompt (Start menu -> run -> type cmd -> hit enter)
type
Code:
perl -MCPAN -e shell
It will ask you if you want to configure Manually. Say no.
When that is done type
Once complete it will say Install OK (or something to that effect).
IF YOU GET AN ERROR MESSAGE saying it failed to install, It should say something at the bottom as an alternate method of installing IO::Scalar. Type what it says to. If that doesn't work.. I dont know, because by this point i had it installed successfully.
To make sure IO::Scalar is installed properly, type
Code:
perl -MIO::Scalar -e "print 'Installed'"
If it was installed properly, you should see the word "Intalled" on your command prompt.
6) Extract your database that you downloaded to C:\mysql\bin
-----------------------------------------------------
STEP TWO: Setting up your database
1) Go to C:\mysql\bin and run WinMySQLAdmin.exe
A window should pop up asking you for a username and a password. Pick both and write them down, you will need them later.
You can now close this.
2) In C:\mysql\bin, run mysql.exe
Type into the window:
Code:
GRANT ALL PRIVILEGES ON * TO Username@localhost IDENTIFIED BY 'Password' WITH GRANT OPTION;
Replace Username with the username you selected above, and Password with the password you selected above.
It should say something like:
Code:
Query OK, 1 Rows Affected, 0.0sec
Now type:
Code:
Create Database eq;
You can name your database whatever you want (Replace eq with whatever), however for simplicity I amusing eq.
Should say
Code:
Query OK, 1 Rows Affected, 0.0sec
Next type:
This sets what database is being currently used. All changes made will be made to the database that is being used.
Should say
Now type:
Code:
source PEQ_CLASSIC_058.sql;
Replace PEQ_CLASSIC_058.sql with whatever the database you downloaded happens to be called. If you downloaded the 5.8 classic database, this is the name of it.
Lots and lots of
Code:
Query OK, 1 Rows Affected, 0.0sec
Will fly by... Eventually it will stop. At this point you can type
And it will close.
------------------------------------------------------------------
STEP 3: Setting up your EQEmu folder
1) Go to c:\eqemu
Open up DB.ini
Should look like this:
Code:
# READ README.TXT!
[Database]
host=
user=
password=
database=
### --- 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 host=, enter localhost, full line will be host=localhost
where it says user= and password=, enter the username and password you selected when you ran winmysqladmin.exe
Where it says database=, enter the name of the database you created. If you followed this guide exactly, it should read database=eq.
Save and close.
Open up LoginServer.ini
Looks like this:
Code:
### --- 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=newlogin1.eqemulator.net
#loginserver2=eqemulator.net
loginport=5994
#loginport2=5996
worldname=
worldaddress=
locked=
account=
password=
[WorldServer]
Defaultstatus=0
Unavailzone=
[ChatChannelServer]
worldshortname=
chataddress=
chatport=
Where it says worldname=, enter the name of your server. Whatever is there is what will show up on server select. Do not put the word Server in your server name, it is automatically added.
Where it says worldaddress=, enter your EXTERNAL IP ADDRESS.
You can find this by going to
www.whatismyip.com
Where it says locked=, enter either true or false. This controls whether or not your server shows up as LOCKED on server select. In the locked state, only GM-Admins or higher can log in.
Leave everything else in this file alone.
Save and close.
Open up notepad. Enter the following.
Code:
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 . EXTERNALIP 7995 INTERNALIP
start zone . EXTERNALIP 7996 INTERNALIP
start zone . EXTERNALIP 7997 INTERNALIP
start zone . EXTERNALIP 7998 INTERNALIP
start zone . EXTERNALIP 7999 INTERNALIP
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------------------------
Replace EXTERNALIP with your external ip address (
www.whatismyip.com)
Replace INTERNALIP with your Internal IP address.
To find your internal ip address, open start menu, click on run, type cmd, hit return. When the command prompt comes up, type ipconfig, and hit enter. You will see several things:
IP Address.....................................192.16 8.x.x
Subnet Mask...................................255.255.255 .0
Default Gateway.............................192.169.0.1
Not necessarily in that order. Where it says IP Address, this is your internal ip address.
After you have made those changes, go to save as, select File type: All Files from the drop down menu, and enter the filename Boot5Zones.BAT & save it to C:\eqemu
Close.
-----------------------------------------------------------------------
STEP FOUR: Starting up your server.
1)Run World.exe in your C:\eqemu folder.
2)Run Boot5Zones.BAT.
3) Let them both run...log in and you're ready to connect.
(Make sure your eqhost.txt file is correct (in your Everquest directory. It should read:
Code:
[Loginserver]
host=newlogin1.eqemulator.net:5994
---------------------------------------------------------------
Final Notes
IF YOU ARE BEHIND A ROUTER, VIEW THIS THREAD:
http://www.eqemulator.net/forums/viewtopic.php?t=16747
To set yourself as a GM. Log into your server, at least once, dont have to create a character, then log out. Open up a command prompt (start -> run -> type cmd -> hit enter)
type
then
Code:
world.exe flag Username Status
Replace Username with your EQEmu server name (the one you use to log into server select with)
Replace Status with one of the following:
0 - Legit
10 - Semi-Legit
20 - Non-Legit
60 - Guide
80 - GM-Quest Troupe
100 - GM-Admin
150 - GM-Lead Admin
200 - GM-Mgmt <--- SERVER OP, the one you want for yourself.
And thats about it...I wrote this just now, so dont quite know how accurate it is, however it should be very. Good luck.