MU

I. Overview:

MU has 2 main components:
  • Server:
    • MU Server
    • Web Server
    • Database
  • Client:
    • Mu Client
    • Mu Tools (if any): MU Minimize/ MU WindowMode/ etc
Figure 1: MU Overview

II. How to setup:

In order to play MU, we need to build an MU Server, MU Client will connect to it and we can play.
We have 2 options to play game:
  • Offline Mode: It mean that we will run MU Server and play game with MU Client by ourselves. It also mean that we will play game alone.
  • Online Mode: Different from Offline Mode, we will have to make our IP public, open some ports. So other people can connect to our Server from the the network. We have 2 options:
    • LAN:
    • Internet:

  1. Preparation:
  2. Setup:
    • Step 1: Install MSSQL Server and config pass sa (Ex: sysadmin)
    • Step 2: Prepare Network
      • Offline Mode: Install Virtual Network adapter
        • Windows 7:
          • Option 1:
            • “Start” -> “Settings” -> “ControlPannel”
            • Press “Add hardware” and “Next”
            • Chose the first line “Yes, I have….”
            • Chose the last line “Add a new hardware device” and press “Next”
          • Option 2:
            • Open cmd
            • hdwwiz.exe
          • Chose the second line “Install the hardware….” and press “Next”
          • Chose “Network adapters” and “Next”
          • Tab “Manufacturer” chose “Microsoft” and tab “Network adapter” chose “Microsoft Loopback Adapter” and “Next”
          • Press “Next” and “Finish”
          • Set static IP for this Virtual Network adapter. Ex: 192.168.0.100
        • Others: TBD
      • Online Mode:
        • If we have an static IP, use it.
        • If not, we have to use an service look like https://www.noip.com/ to get an static address to use instead of an dynamic IP.
        • Open port:
          • 80: WEB
          • 44405: Connect Server
          • 55901: Game Server
    • Step 3: Extract MU Server to local disk: "D:\MuServer\" and config it. We have to use this path exactly with almost server. Some newer one will can be located in other path.
      • Add Database into MSSQL Server:
        • MuServer\DB\muonline_Data.MDF
        • MuServer\DB\ranking_Data.MDF
      • Add ODBC:
        • Run MuServer\DB\ODBC.reg
        • Check connection to SQL Server with ODBC Data Source Administrator
      • Change pass sa: (Ex: sysadmin, as same as configuration of MSSQL Server above)
        • 0.97:
          • MuServer\MU2003_EVENT_SERVER\DATA\svconfig.ini
          • MuServer\RankingServer\svconfig.ini
        • Others: TBD
      • Config IP: (Ex: 192.168.0.100, as same as static IP of Virtual Network adapter)
        • 0.97:
          • MuServer\CS\data\ServerList.dat
          • MuServer\data\commonserver.cfg
          • MuServer\Config.ini
        • Others: TBD
    • Step 4: Extract MU Client to any where in local disk. Ex: "D:\Mu 0.97\" and edit it with HEX editor.
      • 0.97: Find string "connect" and change the IP as same as IP of MU Server (Ex: 192.168.0.100).
      • Others: TBD

III. How to play:

  1. Step 1: Start MU Server
  2. Step 2: Start MU Client and enjoin game with account and password in Database

Figure 2. MU Lorencia

Nhận xét