Legend Of Mir II 2.3
How Things Are Done
Follow through this guide step by step, and you
will have a working set of 2.3 files in no time!
How Things Are Done
Follow through this guide step by step, and you
will have a working set of 2.3 files in no time!
1. | Download the files & Client |
2. | Download WinRar & Extract files |
3. | Download Microsft SQL & Follow Guide "Thanks to mStation" |
4. | Setting up your files |
5. | Putting your server up (Offline use) |
6. | Forwarding your ports (For online use) |
7. | Changing your IP's (For online use) |
8. | Mir Tools |
9. | Ingame Setups "Thanks to "mSation" |
10. | Adding Items & Explanations |
1. Downloading The Server Files & Client
Server Files Download Link
Server Files Mirror Download
Server Files Mirror 2 Download
Server Files Mirror 3 Download
Client Download Link
Client Mirror Download (12/11/2017) Thanks Martyn
<<< Please make sure that you extract these server files into your C:/ >>>
The download is through 4shared which is not the best website.
It would be more suitable if somebody knew a more long-term, easier downloading, and suitable
uploading websites to permanently keep these files on.
-----------------------------------------------------------------------------------------------------------------------------------------
2. Unzipping The Server Files
Before you can begin work on your server files, you must have the something called "WinRar".
Winrar is an extracting & data compressing utility, which is excellent for smaller & shorter downloads.
Before you download Winrar, make sure that you select your desired language provided on the website.
Download Winrar Here
-----------------------------------------------------------------------------------------------------------------------------------------
3. Downloading & Installing Microsoft SQL 2005
Read through this guide provided by "mStation".
It is very useful, and good to refer back to if you get stuck at any point.
This guide gives you everything from download links, to tutorials, pictures, and step-by-step guide to installing
Microsoft SQL 2005.
"mStations idiot proof guide"
-----------------------------------------------------------------------------------------------------------------------------------------
4. Setting up your server files
Please make sure that you have followed "mStations Idiot Proof Guide" before you begin on this section.
If you have no successfully installed Microsoft SQL 2005, and linked up your database you will not be able to log into your server.
Make sure stage 3 is completed before moving onto stage 4.
Go to: C:/, MirServer, DBServer and open the dbsrc.txt.
[SQL]
SQLType=mssql
SQLHost=127.0.0.1
SQLPort=3306
SQLDatabase=mir2
SQLUsername=sa
SQLPassword=sa
The line highlighted in red must become:
SQLHost="ServerName"
SQLHost=OWNER-V6LMDWNGJ\SQLEXPRESS
----------------------------------------------------------------------------------------------
You can find your "Server Name" by going to your Start menu, Programs, Microsoft SQL 2005.
Open "SQL Server Management Studio Express".
The "Server Name" will be what you need to put in "SQLHost" in the ini file.
It should look like this:
------------------------------------------------------------------------------------------------------------------
Open the M2Server folder, and locate the !setup.txt
The same thing must be done again with the "SQLHost".
[SQL]
UseSQL=TRUE
SQLHost=OWNER-V6LMDWNGJ\SQLEXPRESS
SQLUsername=sa
SQLPassword=sa
SQLDatabase=mir2
SQLType=mssql
SQLPORT=3306
SQLCharDatabase=mir2
Your mir server files should now be ready to use if you have followed this guide thoroughly.
-----------------------------------------------------------------------------------------------------------------------------------------
5. Putting your server up (Offline Use)
You can do all of this automatically using the "Server Starter" folder, and "ServerLauncher" utility.
Personally, I believe it is more stable to open the gates manually like this:
Open "DBServer" folder, double click the "DBServer" exe.
Open "GameGate" folder, double click the "RunGate" exe.
Open "LoginGate" folder, double click the "LoginGate" exe.
Open "LoginSrv" folder, double click the "LoginSrv" exe.
Open "SelGate" folder, double click the "SelGate" exe.
Open "M2Server" folder, double click the "M2Server" exe.
THE "M2 SERVER" MUST BE OPENED LAST TO ALLOW THE OTHER GATES TO LOAD ONTO IT.
All of your gates should load up fine with no errors.
If there are no errors, most of your gates should say "Server Started", or "Service Started".
If you have any errors please post below, and I will try to help you resolve your problem.
Once you have opened all the gates, you should now successfully be able to log into your server.
Use the "client" that you downloaded on step 1, and make sure all your "ini" IP addresses are set to 127.0.0.1
-----------------------------------------------------------------------------------------------------------------------------------------
6. Fowarding your ports (Online use)
This guide must be followed if you are wanting your server "Online" for other people to log in.
YouTube Video Guide
http://www.youtube.com/watch?v=Kp-R-eHiQco
(IF YOU FOLLOW THIS YOUTUBE GUIDE, PLEASE MAKE SURE YOU FORWARD PORTS 7000,7100,7200)
---------------------------------------------------------------------------------------------------------------------
Or you can do it through a step-by-step guide.
Firstly, you need to get your IP address.
Start > Run > type in "cmd" and type "ipconfig"
This will display your connections.
----------------------
IPAddress
Subnet Mask
Default Gateway <----- This is the IP address you need (Usually 192.168.0.1)
----------------------
Type the IP address into your InternetExplorer or FireFox search-bar (What-ever you use), and type in your
routers required Username & Password. (They can be found on the back of your Router).
Default Virgin Media Username: admin
Default Virgin Media Password: changeme
Default Sky Username: admin
Default Sky Password: sky
Once you have logged into your router, you can proceed to forward your ports.
Next step:
Select "Advanced" settings (I'm working by a Virgin Media Router, sky and other networks may have different setup.)
Select "PortForwarding".
Now we need to create something.
Copy what I have entered below.
Name: MirServer
Start Port: 7000
EndPort: 7300
Protocol: TCP&UDP
IP Address: (Enter the "IP ADRESS" from "cmd". This is NOT the Default Gateway. It is the "IP Address").
Press OK/Apply/Add Rule/Accept or whatever it says.
Your ports will now be successfuly forwarded.
-----------------------------------------------------------------------------------------------------------------------------------------
7. Changing your IP's (For online use)
Please follow this stage very carefully, or it can cause you alot of problems.
Make sure you follow it step-by-step.
Firstly, locate your IP Address.
Start > Run > type in "cmd" and in the cmd, type "ipconfig".
The "IP Address" will be used for your server files.
DBServer Folder
---------------------------------------------------------
!addrtable.txt
Change:
127.0.0.1
127.0.0.1
To:
"Your IP Address"
"Your IP Address"
---------------------------------------------------------
!serverinfo.txt
Change:
127.0.0.1 127.0.0.1 7200
To:
"Your IP Address" "Your IP Address" 7200
---------------------------------------------------------
!dbsrc.txt
Change:
ServerAddr=127.0.0.1
GateAddr=127.0.0.1
IDSAddr=127.0.0.1
To:
ServerAddr="Your IP Address"
GateAddr="Your IP Address"
IDSADDR="Your IP Address"
GameGate Folder
---------------------------------------------------------
config.txt
Change:
ServerAddr=127.0.0.1
GateAddr=127.0.0.1
To:
ServerAddr="Your IP Address"
GateAddr="Your IP Address"
LoginGate Folder
---------------------------------------------------------
config.txt
Change:
ServerAddr=127.0.0.1
GateAddr=127.0.0.1
To:
ServerAddr="Your IP Address"
GateAddr="Your IP Address"
LoginSrv Folder
---------------------------------------------------------
!addrtable.txt
Change:
Diamond Diamond 127.0.0.1 127.0.0.1 127.0.0.1:7100
To:
Diamond Diamond "Your IP Address" "Your IP Address" 127.0.0.1:7100
---------------------------------------------------------
!serveraddr.txt
Change:
127.0.0.1
To:
"Your IP Address"
---------------------------------------------------------
logsrv.txt
Change:
DBServer=127.0.0.1
GateAddr=127.0.0.1
ServerAddr=127.0.0.1
FeeServer=127.0.0.1
LogServer=127.0.0.1
To:
DBServer="Your IP Address"
GateAddr="Your IP Address"
ServerAddr="Your IP Address"
FeeServer="Your IP Address"
LogServer= "Your IP Address"
SelGate Folder
---------------------------------------------------------
config.ini
Change:
ServerAddr=127.0.0.1
GateAddr=127.0.0.1
To:
ServerAddr="Your IP Address"
GateAddr="Your IP Address"
M2Server Folder (VERY IMPORTANT READ CAREFULLY)
---------------------------------------------------------
!runaddr.txt
(Do not change anything in here)
!servertable.txt
(Do not change anything in here)
---------------------------------------------------------
!setup.txt
You will need to scroll 3/4 down the page to find where these IP address are.
Or you can press CTRL+F, and search for "GateAddr". That should
bring you to the correct area of where you need to be.
Change:
GateAddr=127.0.0.1
GatePort=5000
DBAddr=127.0.0.1
DBPort=6000
IDSAddr=127.0.0.1
IDSPort=5600
MsgSrvAddr=127.0.0.1
MsgSrvPort=4900
LogServerAddr=127.0.0.1
To:
GateAddr="Your IP Address"
GatePort=5000
DBAddr="Your IP Address"
DBPort=6000
IDSAddr="Your IP Address"
IDSPort=5600
MsgSrvAddr="Your IP Address"
MsgSrvPort=4900
LogServerAddr="Your IP Address"
---------------------------------------------------------
All of your IP's should now be correctly set up for online use.
Now if you want to connect to your server, run all of your gates in the MirServer folder, and make sure that no errors pop-up when they have loaded.
To get onto your server once you have put it up for online use, you need to locate your "external ip address" (PUBLIC).
You can find this by typing into google "What is my IP Address".
Once you have found your Public Address, change the IP's in your Client folder to the Public IP Address, and log in.
-----------------------------------------------------------------------------------------------------------------------------------------
8. Mir Tools
MirTools - Here is a download link to various tools you are going to need to create your server.
Contains: DataViewer, hh8 editor, illusionists/shortys map edit, SQL-MS Access Converter, TD NPC Cmds.
Click here to download the MirTools Folder
Explination:
DataViewer:
Dataviewer is the same as hh8, but a more up-to-date reliable version.
It will view any wil files you may need to look at.
This utility is often used for adding items, monsters, minimaps etc to mir, and is very useful to have.
hh8:
hh8 is a utility often used for adding items, monsters, minimaps etc to mir, and is very useful to have.
Illusionist's / Shorty's MapEdit:
This is used for creating, and/or editing maps.
TD's NPC Commands:
This is self explanatory.
Once opened, the link will refer you to a page containing all NPC commands for thedeath's 2.3 files.
Very useful to have, especially when your learning how to script.
SQL to Microsoft Access Converter:
Self explanatory - not used very often.
-----------------------------------------------------------------------------------------------------------------------------------------
9. Ingame Setups
mStation has kindly provided a guide on how to add some in-game set-ups, e.g.
-Experience Pots & Scrolls
-Making a ranking system
-Storage orbs
-Shout orbs
-Using the robot system
CLICK HERE TO VIEW THEM
-----------------------------------------------------------------------------------------------------------------------------------------
Last edited by a moderator: