2.3 Server Guide - Idiot Proof 4 VISTA

Play Now

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
235
♫♪♫ ♦♥♠♣ ♀♂♀
This Guide Is For Windows Vista Users

Please read the ATTENTION! note i wrote for the xp server guide

STEP 1
----------------------------------------------------------------------​
Download the Legend Of Mir 2.3 Client from this website: GamersHell

When you have downloaded the file extract it anywhere and double click on the Mir20Client.exe

The installation will start.. this will take a few minutes depending on your system.. in order to install it correctly follow this easy steps..

Starting from the first window after it has read the installation files press:
- Next
- Yes
- Insert Username and Company (i have put . and .) & press Next
- Don't Change Destination Folder & press Next
- Next
Now wait for installation to complete.. after it has installed press
- Finish!

STEP 2
----------------------------------------------------------------------​
Download the SQL Server 2005 and its essential parts from here:

[this part presumes that you dont have sql 2005 installed.. if you do then uninstall it and follow this guide completly]

OPEN THIS LINK:
MSSQL 2005 Express Edition

Press "Download files below" and choose the 53.5 MB file..
Download it and open it..

If the program says

then choose Run Program

Now Follow My Clicks for having a correct installation:
- tick the accept licence terms and hit next
- next
- Run program
- Next
- You should have all Success.. with 0 errors and 0 warning.. else if you have some errors then stop and ask here.. if everything is okay then hit next
- Next
- Next
- Select Mixed Mode and input "sa" in enter password and "sa" in confirm psw
- Next
- Install
- Wait
- Wait more
- When completed press next and finish

OPEN THIS LINK:
Microsoft SQL Server 2005 Service Pack 2

Press "Download files below" and choose the 282.4 MB file (if you have not the vista 64bit version).. else if you have the 64bit download the 300+mb file
Download it and open it..

I installed this only because it's said to be a required bit for running sql correctly..

Follow my clicks also here:
- Next
- Select "I accept" and press next
- Next
- Next
- In this window if everything is correct you should get a message saying "Locked files not found" so press next
- Install
- Then next next and finish

OPEN THIS LINK:
SQL Server Management Studio Express

Press "Download files below" and choose the 38.5 MB file (if you have not the vista 64bit version).. else if you have the 64bit download the 39mb file
Download it and open it..

Just install the Studio Management without changing nothing.. keep everything to default..

STEP 3
----------------------------------------------------------------------​
Download the edited mirserver files from here: MegaUpload

if anyone feels to host i will be happy..

This server files are already setted and have a few fixes in them.. the fixes are the mapquest error and the server ips all setted to 127.0.0.1.. and some smaller things

Put the Mirserver.exe in C:\ and double click it.. in the window make sure it will extract itself in C:\ and press Install..

Now go in C:\Mirserver and double click on "1-Set Up Maps.bat"
This will copy for you all the maps in your client folder into your server files..

Now double click on "2-Set Up My Client files.bat"
This will fix your client files so that you can connect correctly to them
This will also create a Diamond Shortcut on your desktop.. if the shortcut doesnt appear on the desktop try clicking in an empty place of the desktop and then hit F5 on the keyboard and see if the shortcut pops up..
use this to play the game from now on

Now double click on "3-Set Up Server Starter.bat"
This will fix your serverstarter and set it to work directly
This will also create a Serverstarter shorcut on your desktop, use this to start the server from now on

STEP 4
----------------------------------------------------------------------​
This is the last part of the Guide.. maybe also the most important part tbh..

open START > ALL PROGRAMS > Microsoft SQL Server 2005 > SQL Server Management Studio Express..

when the window pops up you should have something like this:


it's very important to write down the server name because we will need to set this in our files.. in my case my server name is "Lux666-PC\SQLEXPRESS"

Select SQL Server Authentication and for login put "sa" and password "sa" and hit Connect

If you have entered the things i said you should now see some folders called:
Databases
Security
Server Objects etc etc

Right click on the folder called Databases and select "New Database"

In the window that pops up right the following this:
Where it says "Database Name" write "mir2"
Then press OK

Now double click on Databases
Right click on mir2 and choose Tasks > Restore > Database...

In the window that pops up select From Device and press the button with 3 dots which is at the right of From Device [...]

Then press Add
Then change the Files of Type to All files(*) and browse in C:\Mirserver\DBserver\ and select the database called "mir2(restorethis)"
Then press OK
Then press OK again and we are back at the window where we choose From device before..

Now here make sure you put the tick like in the image:


Uploaded with ImageShack.us

Now on the left top part press Options and choose "Overwrite the existing database"

Now press OK and everything should be restored correctly!

STEP 5
----------------------------------------------------------------------​
Now you still have to set a few things.. open the mirserver folder which is in C:\.. open the DBserver and open the dbsrc.txt

make sure that you change the red line to what i am going to tell you:
[SQL]
SQLType=mssql
SQLHost=127.0.0.1
SQLPort=3306
SQLDatabase=mir2
SQLUsername=sa
SQLPassword=sa

must become
SQLHost="ServerName" like i said before.. in my case, has i said.. this line will be
SQLHost=Lux666-PC\SQLEXPRESS

the same thing must be done in the !setup.txt which is in the M2server folder
which should look like this but with your personal servername.. (NOT MINE!)

[SQL]
UseSQL=TRUE
SQLHost=Lux666-PC\SQLEXPRESS
SQLUsername=sa
SQLPassword=sa
SQLDatabase=mir2
SQLType=mssql
SQLPort=3306
SQLCharDatabase=mir2

Now we can start the server using the serverstarter link on your desktop..
wait it to load completly.. if you have done all the things i did u also will get this message at the end of the M2server.exe

[07/12/2008 11.01.21] LoginServer Connected(127.0.0.1:5600)
[07/12/2008 11.01.21] Gate[0](127.0.0.1:2135) Opened...
[07/12/2008 11.01.24] DBServer Connected(127.0.0.1:6000)

which means that the server is running correctly..

Now use the diamond link to open mir and create a new char..

FAQ
1) Fixing the mongen!
Exporting the file we need:
Method 1) First way is Exporting the Tbl_Mongen using SQL 2000 following this steps:

Right click on the table TBL_Mongen and click on export and export
as text file.
Click OK on the next screen
Click the Delimited option at the top and then click next
On the choose the delimiter that separates fields option at the top, click on the 'Tab' button and in the Text Qualifier dropdown box on the right, click on {none}
Click on Next
Click on Finish

Else Method 2) Second way is using the TBL_Mongen.xls that mirrealms shared ages ago..
do to this download the file from here then open it with Excel.. press File > Save File As.. then choose in the File Type drop menu the voice saying Text (MS-Dos) *.txt and press Save.. in the window that pops up choose yes..

Importing the File to Sql 2005:
To be able to import you need to do 3 things explained in the following link.. (this step must be done once and will work forever..)
the 3 things

Now press start > run > cmd and make your command changing the red parts

in my case i used:
bcp mir2.dbo.tbl_mongen in C:\tbl_mongen_exported.txt -T -c -S Lux666-PC\SQLEXPRESS

the first one is the txt file you have exported
the second is the server name
 
Last edited:

boothy

LOMCN Veteran
Veteran
Mar 23, 2007
458
12
45
As Gezza said add the maps to your map folder in M2Server then do this:

Go into !Setup.txt in M2server folder, find:
MapDir=C:\Program Files\Hell 2.3 client\Map\

and change it to:

MapDir=.\Map\

so it reads maps from your M2server folder.
 
Upvote 0

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
235
♫♪♫ ♦♥♠♣ ♀♂♀
sorry for being rude but

[12-03-2010 11:00:00] Error: C:\Program Files\Hell 2.3 client\Map\B114.map failed to load

try reading the error.. it says that map B114 didn't load.. it is looking for the map in C:\Program Files\Hell 2.3 client\Map\ folder..

now do you have any maps in that folder? no.. so you can solve the problems in 2 ways..

1st way is adding maps to that folder where it is looking for them
2nd way is adding maps into the map folder contained into the m2server folder and inside the !setup.txt change the map folder from MapDir=C:\Program Files\Hell 2.3 client\Map\ to MapDir=C:\mirserver\m2server\map or where you prefer having maps.. also you can use relative dir positions with the .\ as boothy wrote..

an example is if you have the mirserver in C:\mirserver so the map folder can be saved as
C:\mirserver\m2server\map or .\map inside the !setup.txt because writing .\ means read from the same folder where the !setup.txt is and so it looks for map inside the same folder which is m2server in this case..

usually if you are running a server on a pc which also has a client installed, ppl use to put the map folder of the client to save up about 200-300mb of maps from your hdd.. instead of having them doubled into the client and into the m2server..

g/l
 
Last edited:
Upvote 0

lemonfish

When life gives you Lemons ?
Dedicated Member
Oct 11, 2009
82
31
50
Ocean
As Gezza said add the maps to your map folder in M2Server then do this:

Go into !Setup.txt in M2server folder, find:
MapDir=C:\Program Files\Hell 2.3 client\Map\

and change it to:

MapDir=.\Map\

so it reads maps from your M2server folder.


yaye it helped changing the MapDir=C:\Program Files\Hell 2.3 client\Map\ to mapdir=.\Map\ :D

im a bit confused tho cos i had maps in the folder so it should work ? but anyways :D thx alot.

got a new problem tho xD

when i try to load the m2server this comes up

Loading MapQuest.txt...
MapQuest.txt : Failure was occurred while reading this file.Code= -14

can almost feel the server now :D

______________________________________________________________

No noob is left behind :crying:
there are not stupid questions only stupid answers ^^

Thx to Gazza boothy & mstation for replying :D
 
Last edited:
Upvote 0

lemonfish

When life gives you Lemons ?
Dedicated Member
Oct 11, 2009
82
31
50
Ocean
Thx boothy your l33t thumps up

every thing is up n running now thx alot

please dont laugh when i ask you guys this question .. but ive tryed use every client while dbserver n m2server is up and running still says server is offline HELP PLEASE :D

n again please dont laugh :001_wub:
 
Upvote 0

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
235
♫♪♫ ♦♥♠♣ ♀♂♀
to boot up the server you need to launch the dbserver.exe, loginserver.exe, rungate.exe, logdataserver.exe, logingate.exe and selgate.exe and then the m2server.exe.. you should have the gates connecting to the m2server and also the dbserver should be connecting.. if everything is connected correctly then you need to go to the client folder and edit the mir2.ini and put inside the local ip.. which could be 127.0.0.1 if you are running the server and client on the same machine or the network local ip if the server is running on another computer connected in your network..
 
Upvote 0

lemonfish

When life gives you Lemons ?
Dedicated Member
Oct 11, 2009
82
31
50
Ocean
then google comes up ? http://www.legendofmir.net/account/account.htm

wrong client maybe ?? but its the only one there works lol

i use this distanation C:\Mir2server\Mirserver\M2Server in that folder there is 3 clients

hell23
mir2
mir

its the mir one there works

in this distanation C:\Mir2server\Mirserver is ther 1 client named

mir

doesnt work tho /: ?

BTW if this have something to do with it, the Logdataserver shows this

status waiting:
9/40


_______________________________________________________________________

no noob is left behind );
 
Last edited:
Upvote 0

Chris22

LOMCN Veteran
Veteran
Jun 10, 2009
372
1
45
i use this distanation C:\Mir2server\Mirserver\M2Server

I dont understand this bit, all server files i have used have the paths set straight from the hard drive, like this...

C:\Mirserver\M2Server

Check all your setup files and see how the paths are set, this doesnt look right to me :001_unsure:
 
Upvote 0

lemonfish

When life gives you Lemons ?
Dedicated Member
Oct 11, 2009
82
31
50
Ocean
Okay.. look at this n tell me what did i type wrong, i didnt type all the text some places i just took what i think would be most important

C:\Mirserver\db convertor\dbconvertor
[SQL]
SQLPort=3306
UseSQL=True
SQLHost=127.0.0.1
SQLUsername=mir2
SQLPassword=mir2
SQLDatabase=lom2_Chardb
SQLType=mssql
[DB]
FDBDir=C:\mirserver\DBServer\FDB2\dbsrc

_____________________________________________________

C:\Mirserver\DBServer
Reg]
Key=0123456789
ServerAddr=127.0.0.1
ServerPort=7200
[SQL]
SQLType=mssql
SQLHost=PATRICK-PC\SQLEXPRESS
SQLPort=3306
SQLDatabase=mir 2
SQLUsername=sa
SQLPassword=crc4c2xd
[Setup]
ServerName=Diamond
ServerAddr=127.0.0.1
ServerPor=6000
MapFile=C:\mirserver\Mir200\Envir\MapInfo.txt
ViewHackMsg=1
GateAddr=127.0.0.1
GatePort=5100
DynamicIPMode=0
BackupClearData=0
ShowItemName=1
DBName=HeroDB
[Server]
IDSAddr=127.0.0.1
IDSPort=5600
________________________________________________
C:\Mirserver\GameGate\config

[RunGate]
Title=Diamond
ServerAddr=127.0.0.1
ServerPort=7200
GateAddr=127.0.0.1
GatePort=7200
ShowLogLevel=10
ShowBite=0
ServerCheckTimeOut=180000
ClientSendBlockSize=500
MaxConnOfIPaddr=50
BlockMethod=0
MaxClientPacketSize=6420
NomClientPacketSize=190
MaxClientMsgCount=100
kickOverPacket=1
ClientTimeOutTime=5000
[GameGate]
MaxConnOfIPaddr=50
BlockMethod=0
MaxClientPacketSize=7000
NomClientPacketSize=150
MaxClientMsgCount=15
kickOverPacket=1
ClientTimeOutTime=5000
Title=Diamond
ServerAddr=127.0.0.1
ServerPort=5000
GateAddr=0.0.0.0
GatePort=7200
ShowLogLevel=6
ShowBite=1
ServerCheckTimeOut=180000
ClientSendBlockSize=1000
________________________________________________________
C:\Mirserver\LoginGate\config

[LoginGate]
KeepConnectTimeOut=60000
MaxConnOfIPaddr=10
BlockMethod=0
Title=Diamond
ServerAddr=127.0.0.1
ServerPort=7200
GateAddr=127.0.0.1
GatePort=7200
ShowLogLevel=3
_______________________________________________________
C:\Mirserver\LoginSrv\Loginsrv

[server]
DBServer=127.0.0.1
DBSPort=16303
FeePort=16301
LogPort=16305
ReadyServers=0
EnableMakingID=1
EnableTrial=FALSE

CountLogDir=C:\mirserver\LoginSrv\CountLog\
WebLogDir=C:\mirserver\LoginSrv\GameWFolder\
GateAddr=127.0.0.1
GatePort=7200
ServerAddr=127.0.0.1
ServerPort=7200
MonAddr=0.0.0.0
MonPort=3000
TestServer=1
DynamicIPMode=0
FeeServer=127.0.0.1
LogServer=127.0.0.1
EnableGetbackPassword=0
AutoClear=0
AutoClearTime=3000
AdminName=
DisableNumber=0

[DB]
IdDir=c:\Mirserver\LoginSrv\IDDB\
FeedIDList=c:\Mirserver\LoginSrv\FeedIDList.txt
FeedIPList=c:\Mirserver\LoginSrv\FeedIPList.txt
CountLogDir=c:\Mirserver\LoginSrv\CountLog\
WebLogDir=c:\Mirserver\LoginSrv\GameWFolder\
[Setup]
Positions=.\Positions.ini
_______________________________________________

C:\Mirserver\LogServer\logdata

[Setup]
ServerName=Diamond
Port=7200
BaseDir=.\BaseDir\
_______________________________________________
C:\Mirserver\M2Server\!setup

[SQL]
UseSQL=TRUE
SQLHost=PATRICK-PC\SQLEXPRESS
SQLUsername=sa
SQLPassword=crc4c2xd
SQLDatabase=mir 2
SQLType=mssql
SQLPort=7200
SQLCharDatabase=mir 2

[Setup]
SQLPort=7200
ItemNumber=41273650
ItemNumberEx=1073743867
ClientFile1=mir2.exe
ClientFile2=mir.exe
ClientFile3=Hell23.exe.exe

____________________________________________

C:\Mirserver\SelGate\config

[SelGate]
KeepConnectTimeOut=60000
Title=Diamond
ServerAddr=127.0.0.1
ServerPort=7200
GateAddr=127.0.0.1
GatePort=7200
ShowLogLevel=3
MaxConnOfIPaddr=10
BlockMethod=0
________________________________________________

C:\Mirserver\Server starter\config

[Paths]
LoginGate=C:\Mirserver\LoginGate\LoginGate.exe
SelGate=C:\Mirserver\SelGate\SelGate.exe
RunGate=C:\Mirserver\GameGate\RunGate.exe
LoginServ=C:\Mirserver\LoginSrv\LoginSrv.exe
DBServ=C:\Mirserver\DBServer\DBServer.exe
LogServer=C:\Mirserver\LogServer\LogDataServer.exe
M2Server=C:\Mirserver\M2Server\M2Server.exe
Extra1=Unused
Extra2=Unused
Extra3=Unused


[load]
LoginGate=1
SelGate=1
RunGate=1
LoginServ=1
DBServ=1
LogServer=1
M2Server=1
Extra1=0
Extra2=0
Extra3=0

[config]
enabled=1
port=5011
password=pass

__________________________________________

i know its alot to ask for but /: i really want to get a server running so i can learn more about and hopefully get half as good as all you guys out there :D as you can see im at skill 0/100 :biggrin:

but if you can help me with this.. damn i would be so nice

_________________________________________________

No noob is left behind:crying:
 
Upvote 0

Chris22

LOMCN Veteran
Veteran
Jun 10, 2009
372
1
45
Ok your files look ok to me, i heard of someone having this problem a while back but i cant find it on the forum, my first guess would be you have something wrong with your mir2.exe, it being an old euro mir exe that is linking you to the old lom.net site.

Try a new exe or a new client, i cant see it being the server files, ill let you know if i dig anything up :glare:

EDIT: Found this http://www.lomcn.co.uk/forum/showthread.php?t=65667&highlight=account

New server files then mabye?

By the looks of it its not something you have done wrong, its just the files that you have....
 
Last edited:
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
Is the database name actually mir 2 or mir2 (without a space) ? also with sql not sure if this is true or not but i was told not to use a password longer than 4 charachers but as i said i have never tested on weather it is true or not.
 
Upvote 0

lemonfish

When life gives you Lemons ?
Dedicated Member
Oct 11, 2009
82
31
50
Ocean
Finally i got everything up and running server n mir exe :D

only problem is when i run mir.exe and comes in to login screen then it isnt the size it suppose to be like... if im clicking the New account botten then nothing happend but if i go 2 iches up on the screen and click a random place then i come in to create accout?!?!? how do i make it the normal size and everything


hope you understand what im trying to say :S formulated it the best i could

_________________________________________________________________

No noob is left behind :crying:
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
In the server files check if theres a folder called client, if there is add the contents of that to you client.
 
Upvote 0

lemonfish

When life gives you Lemons ?
Dedicated Member
Oct 11, 2009
82
31
50
Ocean
what do you mean ? like

C:\Mirserver\client then copy this folder to C:\Mirserver\M2Server ?
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
copy it into where mir the game is installed, mines like this C:\Games\mir\Data place the files into the data folder.
 
Upvote 0