Work through the steps in order from top to bottom. Each step links to a full guide page.
- Prepare the machine. Windows 64-bit, Internet, static WAN IP. See System requirements.
- Install SQL Server (2012 or later) and the ODBC Driver. Enable SQL login (the
saaccount or a dedicated account) and the TCP/IP protocol. See Install SQL Server, create databases, ODBC. - Create 2 databases (examples:
MuOnlineandLogMuOnline), then run the table creation scripts on each database. Same page as above. - Extract the server package into a folder, keeping the names of the folders that start with a number unchanged. See Folder structure.
- Activate the license in START (HDD ID + WAN IP). See License.
- Edit the database connection in
Data\game_common.confand inconnectserver.conf,loginserver.conf,serverlink.conf(the same stringIP;Port;Account;Password;Database name). See game_common.conf, ConnectServer, LoginServer, ServerLink. - Declare sub servers: edit
ServerIP(public IP) and the port inData\ServerMap.xml; make sure eachGameServer.confhas aServerCodematching a line in this file. See Sub servers & ServerMap and GameServer. - Check
Client.ListenIPinconnectserver.confandGameServer.conf(the sample uses the LAN IP192.168.1.128; change it to0.0.0.0or the real network card IP of the machine). - Open the ports on Windows Firewall and on your modem / rented server. See Open ports / firewall.
- Start the server in START: select the server folder, check the list, click Start all. See Run with START.
- Configure the client (ConnectServer IP + port,
ClientVersion/ClientSerialmatchingData\Common.ini) with EDITOR, then try logging in. See the Tools section. - Install the website and Launcher if needed: see the game website setup section and the TswSetup tool.
- Learn how to shut down safely and update: Shut down the server safely, Version update, Troubleshooting.
Checklist before opening to players
- START shows "Activated" and the 4 basic servers (ConnectServer, LoginServer, ServerLink, at least 1 GameServer) are in the "Running" state.
- The GameServer log no longer shows database errors / database version errors.
- From a machine outside your network, the client sees the server list and can enter the game (proving the ports are open correctly).
- You have tried shutting down with the Stop all button and starting again without losing data.
- You have backed up the database (SQL Server backup) before opening to players.