MuOnline Server Setup Guide

Requirements:

  • A computer with SQL Server 2000 installed - You can get it here
  • IIS installed (if you want to have a web interface for creating new users)
  • A computer for the actual MuOnline Server with OS installed
  • MuOnline Server files of course - get them here (Version 0.97) (Password is ragezone)
  • MuOnline Account Registration files - get them  here
  • WinRar or WinAce (for unzipping files) - www.rarlabs.com or www.winace.com

The better OS for this job is Windows 2000 Server or Windows XP Professional, because:

  • you can install there the SQL Server 2000
  • you can install there the MuOnline Server
  • you can install IIS there too

The disadvantage on W2K is that you need more memory.

I installed Windows XP Professional into a computer with the following specs:

  • 256 Mb Physical memory (Then I set up the Windows Virtual Memory to 2 Gb, but you can use up to 4 Gb)
  • 2,2GHz CPU Speed
  • 80Gb Hard Disk Space

The Start:

Of course you can install SQL Server, MuOnline Server and IIS in different machines, but i dont recommend that because you use 3 computers when you can use 1 (if you have 3 computers then make 3 servers :).
For now on i will analyze the method i installed MuOnline Server into 1 computer.
MuOnline Server need to be installed into a D: drive, this can be a second partition, a second hard disk or a directory that points into a D: drive (this can be done if you use the SUBST command - type SUBST /? into a Command Prompt for help).

I used a the SUBST method, creating a folder named "D" on my C drive. Use the SUBST D: C:\D (or the folder name you created before)

 If you need to use this method, you must unzip the server files into C:\D or your desired folder. If you have a D: drive, simply extract the server files into p.e, D:\MuServer. After unzip finish you will have something like this:

The above picture show us the directory structure after unzipping the server files.

How to Setup SQL Server:

Now it is time to setup SQL Server. Open Enterprise Manager (Start -> Programs -> Microsoft SQL Server -> Enterprise Manager) and browse to Databases:

Press the right mouse button and create a new database:

Name the database muonline and press OK:

It is time to restore the database files, right click on muonline database then browse to Restore Database...:

When the Restore Database dialog appear click on From Device radiobox and then click on Select Devices button:

Then from Choose Restore Devices dialog press the Add... button:

and then choose the destination of the Database Files to Restore into muonline database:

Press OK 3 times to continue. You will have something like the below image, then press the Options tab:

Make sure the Force restore over existing database checkbox is checked and the database files point below D:\MuServer\DB\ directory:

Very important: when using "subst method", u must change the drive names and folders in "Move to physical file name" in the image above.

Here is a Screenshot.

Press OK to import the tables into muonline database, if you will see this message:

everything went ok.
Create another database, name it ranking and restore the tables from Ranking database files, make sure the database files point below D:\MuServer\DB\ directory.Now you have all
two needed databases into SQL Server:

How to Add a User to SQL (IF YOU DONT WANT TO INSTALL IIS AND HAVE WEB REGISTRATION SKIP THIS) :

Add a user to SQL Server Logins. Click Security then right click on Logins and select New Login... option:

Follow the screens to add the user:

Find the User IUSR_MU (MU is my computer name, it will be something else to you - make sure IIS is installed to continue, else this user might not exist, the full name of the user is Internet Guest Account):

Then choose some options and click on Server Roles tab:

Choose here the below option and then click on Database Access tab:

Choose here also the below option and click ok:

How to Setup ODBC Links:

It is time to setup the ODBC logical links. Start Data Sources (ODBC) (Start -> Programs -> Administrative Tools -> Data Sources (ODBC)), browse to System DSN tab then click the Add... button:

Select the SQL Server driver (bottom) and click Finish. Choose MuOnline for Name and your
Local SQL Server for Server, click Next two times:

Now change the default database to muonline and click Next then Finish and OK (you can also test the connection):

Create also 4 System DSN links named MuOnlineJoinDB, USELOG, Event and MuOnlineReg (MuOnlineReg will be used for web registration) that use muonline as the default database.
At last, create 1 System DSN named Ranking that use ranking as the default database.
You will have something like this, click OK to Exit ODBC Data Source Administrator:

How to Setup MuOnline Server:

Now the edit thing. First find out you ip address (you can use ipconfig /all in Command Prompt):

Mine is 192.10.10.199 , this ip is the MuOnline Server, SQL Server and IIS Server ip address. Write it down (not mine ip address
, of course, yours!!!).
Change all the ip addresses (127.0.0.1) found in config files to the ip address you wrote down.
IP Addresses can be found in the following files:

  • D:\MuServer\CS\Connectserverlist.dat
  • D:\MuServer\CS\data\Connectserverlist.dat
  • D:\MuServer\CS\data\ServerList.dat
  • D:\MuServer\data\commonserver.cfg
  • D:\MuServer\data\IpList.dat

Then change the IP Addresses found as parameters to 4.lnk and 8.lnk files below D:\MuServer\Links folder (right click on them and select properties):

Make sure the ports number are the same as in the pictures above.

4th link target: D\MuServer\JoinServer\JoinServer.exe /p55970 /ca<Your IP> /cp55901

8th link target: D:\MuServer\GameServer\GameServer.exe <Your IP> 55970 <Your IP> 55960 55901

You will realize some ports in JoinServer and GameServer are the same. A few errors are produced because ports numbers do not match.

Then edit D:\MuServer\MU2003_EVENT_SERVER\DATA\svconfig.ini and change "mu2003_dsn = DEVILSQURE_RANKING" to "mu2003_dsn = Ranking" and edit also D:\MuServer\RankingServer\svconfig.ini changing "odbc_dsn=DEVILSQURE_RANKING" to "odbc_dsn=Ranking" .

How to Setup IIS:

Open Internet Services Manager. Browse to Default Web Site, right mouse button on it and choose New -> Site

If this action doesn't appear, simply rename the Default Web Site to, p.e, MuOnline.

Click Next and choose a Description for the Site (whatever you like), click Next and choose the IP Address and the TCP Port to use (i choosed for IP Address 192.10.10.199 and port 8090, so if i want to connect to
my site i type in IE http://192.10.10.199:8090 ), click Next and choose a path that will hold the MuOnline Web Registration files (i used the default folder, C:\Inetpub\wwwroot, but you can use the folder you want. Click Next 2 times and Finish.
Right mouse button on your Site description (mine is
MuOnline) and choose Properties, then browse to Documents tab, click the Add... button enter index.htm press OK and move it to the Top, then click OK to exit:

How to Setup Web Registration:

Unzip the Web Account registration files to D:\MuReg\ (or the directory you choosed) and edit conn.asp and change
connstr = "driver={sql server};server=192.168.0.2;uid=sa;pwd=pass;database=MuOnline"
to
connstr = "DSN=MuOnlineReg;"
then point to http://192.10.10.199:8090 and test the creation of accounts.

Also you can use "MuReg" to create and manage accounts. Get it  here

Other things:

The databases are not empty, there are some accounts and characters you should delete before starting the server. Of course you can leave as is.

Starting MuOnline Server:

Browse to D:\MuServer\Links and double click 1.lnk, wait to load then double click 2.lnk, then 3.lnk and so on until 8.lnk (lnk is the extention for shorcut files).
Always wait each program to load before continue to next shorcut.
It's useful to have a Ram-Cleaner program, and launch it before running 8th link, and run client. I use Clean Ram, which you can download it here
Start your client and connect to the server to test it.
If you are running 0.97 Server, you will need a 0.97 Client. You can download it below.

0.96y Client full - Download  it here

0.97 Patch - Get it here or here

Translation for 0.97 Client - Get it here or here

 

First, unzip the 0.96 client anywhere on your disk drive.

Second, unzip the 0.97 patch on the same folder, overwriting the files required.

Third, extract the 0.97 client translation to Data\Local in the folder that you extrated the client files.

Create a shortcut for main.exe in your desktop. And go to its properties. Change the "Target" field as here:

 

 

Don't forget to change the folder address to yours. Run the shortcut and have fun!

Original guide from http://members.lycos.co.uk/metasha/ - down forever :(

New images, links, and some more text by Alpha (AlphaDW at mpcforums.de) - MuOnline Private Servers Thread

Greetings to Gyumaou for some links.

Click here to get the GameGuard fix.