im not the writer of this guide
___________________
/ \
| The COMPLETE |
| Idiot's Guide To |
| Setting up an EI |
| Server |
\___________________/
| |
| Version 1.2 |
|_________________|
\\Written By Kaoii//
Whats New In V1.2 (hey i can rhyme again!):
-- Added extra help on setting up the SQL
-- Server.
Whats Coming in Later Versions:
-- Perhaps guide will be reformatted to PDF
so it is easier to read.
Minimum System Specs for an EI Server:
Windows 2000/XP/NT/2000/Server 2003
500+ MB of RAM
DSL+ Connection
Recommended System Specs for an EI Server:
Windows XP
800MB-1GB of RAM
Cable-T1 Connection
Setting up an EI server is pretty easy if you
know what your doing. A lot of people, however,
don't know what they are doing. Thats why
I wrote this guide!
A- Getting the Server Files
B- Setting Up The Server Files
C- Setting Up The SQL Server
D- Setting Up Your ODBC Database
E- Adding/Editing Items, Monsters, and Magic
F- Running The Server
G- iamdeath's Router Tutorial
H- The Fun Stuffs
I- Boring Stuffs
////////////////////////////////////
A: Getting the Server Files
////////////////////////////////////
The MSRF 2.9b EI server files can be found on my
site here:
(If you are from ********* dont even think about downloading
from that link)
This link will _ALWAYS_ work and is _NEVER_
down.
Extract your server files into a directory
called C:\mir3server\
////////////////////////////////////
B: Setting Up The Server Files
////////////////////////////////////
The first step in setting up your server files
is that once they are extracted, we have to
make sure all the text documents and ini files
and pointing to where we want them to point.
Go to C:\mir3server\mud3\LogDataSrv\ ;
------------------------------------------------
Once your in that folder find your LogData.ini
file.
Make it look like this:
[setup]
basedir=C:\mir3server\Mud3\LogDataS rv\Logbase\
------------------------------------------------
Now go to C:\mir3server\mud3\Logsrv\
------------------------------------------------
Once your in that folder find your Logsrv.ini
file.
Make it look like this:
[server]
DBServer=127.0.0.1
DBSPort=16300
FeePort=16301
LogPort=16302
ReadyServers=0
EnableMakingID=TRUE
EnableTrial=FALSE
CountLogDir=C:\mir3server\mud3\Logs rv\CountLog
WebLogDir=C:\mir3server\mud3\Share& #092;GameWFolder\
FeedIDList=C:\mir3server\mud3\Share \Feed\FeedIDList.txt
FeedIPList=C:\mir3server\mud3\Share \Feed\FeedIPList.txt
[DB]
IdDir='.\IDDB\'
--------------------------------------------------
Now go to C:\mir3server\mud3\Mir300\
--------------------------------------------------
Once your in that folder find your !setup.txt
file.
Make it look like this:
[Server]
ServerIndex=0
ServerName=ktest
ServerNumber=0
VentureServer=FALSE
TestServer=TRUE
TestLevel=0
TestGold=0
TestServerUserLimit=500
ServiceMode=FALSE
NonPKServer=FALSE
DBAddr=127.0.0.1
DBPort=6000
IDSAddr=127.0.0.1
IDSPort=5600
MsgSrvAddr=127.0.0.1
MsgSrvPort=4900
HumLimit=30
MonLimit=30
ZenLimit=30
NpcLimit=5
SocLimit=30
DecLimit=10
UserFull=500
ZenFastStep=300
SendBlock=1000
CheckBlock=8000
AvailableBlock=250
GateLoad=0
LogServerAddr=127.0.0.1
LogServerPort=10000
ViewHackMessage=FALSE
ViewAdmissionFailure=FALSE
CommonDBLoc=
CommonDBID=sa
CommonDBPassword=sapass
CommonDBDSN=mir3db
[Share]
BaseDir=C:\mir3server\mud3\Mir300&# 092;Share\
GuildDir=C:\mir3server\mud3\Mir300& #092;GuildBase\Guilds\
GuildFile=C:\mir3server\mud3\Mir300 \GuildBase\Guildlist.txt
VentureDir=C:\mir3server\mud3\Mir30 0\ShareV\
ConLogDir=C:\mir3server\mud3\Share& #092;ConLog\
CastleDir=C:\mir3server\mud3\Mir300 \Envir\Castle\
EnvirDir=C:\mir3server\mud3\Mir300& #092;Envir\
MapDir=C:\Directory where your maps are\
[Setup]
ItemNumber=12460214
ClientFile1=Mir4.dat
ClientFile2=
ClientFile3=
HomeMap0=01
HomeX0=459
HomeY0=261
HomeMap1=02
HomeX1=265
HomeY1=207
HomeMap2=1
HomeX2=400
HomeY2=121
EmergencyMap=0
EmergencyX=200
EmergencyY=200
[Names]
ClothsMan='BaseDress(M)'
ClothsWoman='BaseDress(F)'
WoodenSword='WoodenSword'
Candle='Candle'
BasicDrug='(HP)DrugSmall'
GoldStone='GoldOre'
SilverStone='SilverOre'
SteelStone='IronOre'
CopperStone='CopperOre'
BlackStone='BlackIronOre'
Zuma1='ZumaGaurdian'
Zuma2='ZumaStatue'
Zuma3='ZumaArcher'
Zuma4='WedgeMoth'
Bee='BugBat'
Spider='Larva'
WomaHorn='WoomaHorn'
ZumaPiece='ZumaRelic'
;Replace the Mapdir with the directory where your
;maps are.
/////////////////////////////////////////////////
C: Setting Up The SQL Server
/////////////////////////////////////////////////
Firstly, if you havn't already, you need to
download the Microsoft SQL Server Trial Edition.
If you have the real version, hey thats cool.
I dunno if this link still works but it did for
me:
If it doesnt work you can find it on Microsoft.com
To set up the SQL Server, first extract the exe file
to some directory. Go into that directory and run
setup.bat
This batch file opens the Microsoft SQL Server 2000
InstallShield program.
Window One:
Select Local Computer
<Click Next>
Window Two:
Name: Bob (or whatever your name is)
Company: ServerName (or whatever)
<Click Next>
Window Three:
Terms of agreement that no one really cares about..
<Click Yes>
Window Four:
( ) Client Tools
(*) Server and Client Tools (bubbled in)
( ) Connectivity Only
<Click Next>
Some users might get another window.. it might be
just me though because im going through a reinstall
procedure.
Window Five:
I recommend a typical install because thats what ill
be going through.
<Click Next>
Window Six:
(*) Use the same account for each service (bubbled in)
( ) Customize the settings for each service
_Service Settings_
(*) Use the Local System account (bubbled in)
( ) Use a Domain User account
<Click Next>
Window Seven:
( ) Windows Authentication Mode
(*) Mixed Mode (Windows Authentication and SQL Server Authentication) [bubbled in]
Add Password for the sa login:
Enter password: <sapassword>
Confirm password: <sapassword>
<Click Next>
Window Eight:
Click Next
/////////////////////////////////////////////////
D: Setting Up The ODBC Database
/////////////////////////////////////////////////
Go to your control panel first. Next, click
Administrative Tools. Now click on
Data Sources (ODBC).
Now click Add. Now scroll down and click on
SQL Server. Then click finish.
Now enter this:
Name: mir3db
Description: whatever goes here
Server: (local)
Now on the next page, click the second bubble
on the top. Now enter:
Login ID: sa
Password: ur password
Now at the top of the next page, put a checkmark
by "Change the default database to:" and put it
on mir3db
On the next page leave everything as it is and
click Finish. Then click OK.
/////////////////////////////////////////////////
E: Adding/Editing Items, Monsters, and Magic
/////////////////////////////////////////////////
I won't go into extreme detail on this because
I dont really support it (except for the servers
I work on)
Go into your Enterprise Manager, then into your
Databases, then into mir3db, then into Tables.
You should now see the database for your server,
and it is from here which you can edit anything
that doesnt have to do with NPCs.
/////////////////////////////////////////////////
F: Running the Server
/////////////////////////////////////////////////
To run the server, simply use the ServerControl
program (if your not on a router), make sure
all of the directories are right, and click
start.
Once your server is running open the DBServer.exe
window and click the Blue run button.
Be sure everything on your DB configuration is
right too if you already havnt.
/////////////////////////////////////////////////
G: iamdeath's Router Tutorial
/////////////////////////////////////////////////
I did not write this. All credit goes to iamdeath.
*********Router Setup for MIR 2 and MIR 3***********
this how to setup a router
first setup DMZ in ur router 192.168.1.50
then setup a fixed ip on the computer that is running the server
and make the ip 192.168.1.50 same as the DMZ in the router
now put the DMZ ip 192.168.1.50 in all files
now you change only these 4 files for ur net ip
in the folder dbser200
!adddrtable.txt
192.168.1.50 213.13.222.43<<<put your internet ip there
!serverinfo.txt
192.168.1.50 213.13.222.43 7200 <<put your internet IP there
in the logsrv folder
!addrtable.txt
ktest line1-7 192.168.1.50 192.168.1.50 213.13.222.43:7100<<put your internet ip there
!serveraddr.txt
213.13.222.43 << put your internet ip there
192.168.1.50
192.168.1.50
192.168.1.50
******DO NOT RUN THE SERVER WITH THE CONTROL PROG******
If you put a new server name in mud2\logsrv\!addrtable.txt and mir200\!setup.txt in mud2\DBSrv200\dbsrc.ini you now have your own server name and not ktest
to play you put ur net ip in the game folder on the computer you play the game and ur friends put ur net ip in there game ip thats it now u'v got the server setup you play 1 computer the server is 1 of its own no lagg this is how i run mir2 lizardserver and mir3 lizardserver
**************Static IP ******************
and for static ip this so the router dont change the server's ip and to let the ports open to the game server
To use DMZ Hosting, IP Forwarding, or IP Filtering, you must set a static IP address for that PC under the TCP/IP Settings tab.
You can use DHCP and a static IP address at the same time, which ensures that your PC will automatically have an IP address pulled, whether or not you manually assign a static IP address.
The Router uses IP addresses that start with 192.168.1.( ). If the IP address is static, the last number is between 2 and 99. If the IP address is dynamic, the last number is 100 or greater.
For example, 192.168.1.43 is a static IP address. 192.168.1.127 is a dynamic IP address.
To set a static IP address, make sure to enter all four pieces of data below under the Setup Tab of the Setup Window:
IP Address 192.168.1.2 through 99
Subnet Mask 255.255.255.0
Default Gateway 192.168.1.1
DNS Server data From your ISP.*
*DNS server data can be found under the Status tab of the Router or by calling your ISP. You may have two or three sets of DNS data - enter in all the DNS Server data you have
Bring up the TCP/IP configuration window to confirm all the data is entered correctly
- Right-click on Network Neighborhood and sselect Properties.
- Select TCP/IP for your network adapter.
- Click on the Properties button.
- Click on the following tabs:
Under the IP Address, set to "Specify an IP address 192.168.1.2-99."
Under the Gateway tab, enter in a default gateway of 192.168.1.1.
Under the DNS tab, enable DNS Configuration
Note! Make sure you choose your Ethernet network adapter, not your PPP Adapter.
On both of these settings, you should have the data you entered in the TCP/IP settings for your network adapter:
IP Address 192.168.1.2-99
Subnet Mask 255.255.255.0
Default Gateway 192.168.1.1
DNS Server Data * from your ISP
/////////////////////////////////////////////////
H: The Fun Stuffs
/////////////////////////////////////////////////
- In your Mir300/Envir folder there is
AdminList.txt where you can change all the GMs
on your server.
- TheApprentice's tool works on EI Market NPCs
Dont ask me for a link, please.
/////////////////////////////////////////////////
I: Boring Stuffs
/////////////////////////////////////////////////
Guide written by Kaoii from ********, the one and only!
Contact:
E-Mail =
Credits:
- Me, Kaoii, for writing this faq
- iamdeath for the router tutorial
- some other misc peeps who helped me get this
good at this stuff.