Community AlphaAlpha MUADMINS
ENEnglish
Sign in
On MuADMINSEvent schedulesBlood Castle, Devil Square, invasions on one weekly gridOpenOn MuADMINSMU ArcadeQuiz, map stamps, guild marks, event builderOpen

MUDevs server files

MUDevs (MuEmu derived) files: SQL Server 2012 or newer with the MuOnline and BattleCore databases and an ODBC DSN, ChatServer, ConnectServer, DataServer, EXDataServer, JoinServer, GameServer and GameServerCS, and a client set in Config-Dev.ini. The values are for MUDevs Emulator FREE S18.2-2, with notes for Season 17.

24 of 30 steps from real files

1Requirements

  1. A Windows PC for testing, or a Windows VPS (Windows Server or Windows 10/11, 64 bit) for a server other players join. A VPS with a fixed public IP saves you the router setup of a home PC.
    General
  2. Install Runtime (required).exe from the [Tool] Runtime INSTALL!! folder first.
  3. Season 17: WinRAR, SQL 2012 with the management tools and the Visual C++ all in one package.
    Season 13 to 17
  4. Allow the server folder and the client main.exe in Windows Defender or your antivirus. Old MU files often give false alerts, and a deleted or blocked file stops the setup.

Need a Windows VPS for your server? MuADMINS suggests SovaHost: the code MUADMINS gives 10% off.

2SQL Server

  1. Use SQL Server 2016 or newer (recommended today; some or most server files may still work with SQL Server 2012, and MUDevs makes 2012 or higher mandatory for its .bak files). MUDevs writes "2012 R2", but there is no SQL Server 2012 R2: the .bak files are SQL Server 2012 backups (compatibility level 110).
    Tested by MuADMINS
  2. MUDevs Season 20 Part 2-3 also runs on SQL Server 2014 Express, set up as the default instance MSSQLSERVER with the sa login.
  3. In SQL Server Configuration Manager enable TCP/IP for your instance, set port 1433 and restart the SQL Server service.
    General
  4. SQL Server 2025 Express and Management Studio 22 are the current free downloads from Microsoft. MU files are known to run up to SQL Server 2022, so 2019 or 2022 Express is the safe pick for older files.
    General
  5. Express is free and enough for most MU servers: each database can grow to 10 GB on SQL Server 2012 to 2022 Express and to 50 GB on 2025 Express. Express has no SQL Server Agent, so run timed jobs such as backups with the Windows Task Scheduler.

3Databases

  1. Create the MuOnline and BattleCore databases. MUDevs recommends the clean way: make two empty databases named MuOnline and BattleCore and run the creation query of DB/Create with query on each.
  2. Or restore the MuOnline and BattleCore .bak files from DB/Restore .bak. Both ways give the same result: pick one.
  3. Then run Execute query.sql from the root of the files.
  4. Season 17: if Devil Square ranking errors show in the logs, recreate the stored procedure WZ_DevilSquareFinal_RenewPartyRank on MuOnline with the fix query.
    Season 13 to 17

4Database connection

  1. Create the ODBC DSN (MUDevs: "do not forget to create the ODBC"). Every server uses the DSN name MuOnline:
    FileKeyWhat to putWhy
    ConnectServer/ConnectServer.iniConnectServerODBCMuOnline[ConnectServerInfo]
    JoinServer/JoinServer.iniJoinServerODBCMuOnline[JoinServerInfo]
    DataServer/DataServer.iniDataServerODBCMuOnline[DataServerInfo]
    EXDataServer/EXDataServer.iniEXDataServerODBCMuOnline[EXDataServerInfo]
  2. Create the ODBC data source with the 32 bit tool C:\WINDOWS\SysWOW64\odbcad32.exe (the MU servers are 32 bit programs, the 64 bit ODBC window does not show their DSN). System DSN, driver "SQL Server", server = your SQL instance, default database = the one named in the configs.
  3. Set the SQL Server name and password in [Tool] Mu Editor/MuEditor.ini so the account and character editor works.

5Config files

  1. Put your IP in: ConnectServer/ServerList.dat, EXDataServer/EXDataServer.ini (ChatServerAddress) and Data/MapServerInfo (written S<your IP>: do not delete the S).
  2. ConnectServer/ServerList.dat (code, group, name, IP, port, SHOW or HIDE):
    19   0   "GameServerCS"   "<your IP>"   55919   "HIDE"
    20   0   "GameServer"     "<your IP>"   55901   "SHOW"
    end
  3. Server ports and links:
    FileKeyWhat to putWhy
    ConnectServer/ConnectServer.iniConnectServerPortTCP / ConnectServerPortUDP44405 / 55557clients / status from the servers
    ConnectServer/ConnectServer.iniJoinServerAddress / JoinServerPort127.0.0.1 / 55970JoinServer link
    JoinServer/JoinServer.iniJoinServerPort / ConnectServerAddress / ConnectServerPort55970 / 127.0.0.1 / 55557
    DataServer/DataServer.iniDataServerPort55960
    EXDataServer/EXDataServer.iniEXDataServerPort55981
    ChatServer/ChatServer.iniChatServerPortTCP / ChatServerPort55980 / 55906also DataServerAddress/Port 55960, JoinServerAddress/Port 55970
    GameServer/DATA/GameServerInfo - Common.datServerName / ServerCode / ServerPortyour name / 20 / 55901GameServerCS: 19 / 55919
    sameServerVersion1.04.05must equal the client ClientVersion
    sameDataServerAddress / JoinServerAddress / ConnectServerAddress127.0.0.1ports 55960 / 55970 / 55557
  4. Both GameServers (code 20 and Castle Siege code 19) read the same Data folder.

6Ports and firewall

  1. Default ports to open in the firewall: 44405, 55901, 55919.
  2. Use your LAN IP (run ipconfig in cmd and copy the IPv4 address) to play alone on your own network. Use your public IP (shown by any "what is my IP" site) when other players must join, and open the ports below.
  3. Windows firewall: Windows Defender Firewall, Advanced settings, Inbound Rules, New Rule, Port, TCP, type the ports, Allow the connection. On a home PC also forward the same ports in your router to the PC.
    General

7Client side

  1. Open Config-Dev.ini in the client and change IpAddress = your VPS or server IP and WindowName = your server name.
  2. [MainInfo] also holds IpAddressPort 44405, ClientVersion 1.04.05 and ClientSerial (equal to the GameServer serial) and LauncherType.
  3. The S18 Data needs a Season 18 Part 2-2 client with the Illusion Knight class; some files carry Season 19.1 entries.
    Season 18 and newer

8Start order

  1. Start all executables: ChatServer.exe, ConnectServer.exe, DataServer.exe, EXDataServer.exe, JoinServer.exe, GameServer.exe and the GameServer.exe of GameServerCS. The [Tool] StartUp folder has a starter.

9Testing

  1. Create an account with [Tool] Mu Editor (it needs .NET Framework 4.6, the installer is in the same folder).
  2. Start the client, check that the server name shows in the list, log in, create a character and walk to another map (that checks the GameServer to DataServer link).
    General
  3. First test on the same PC with the LAN IP. When that works, switch the IPs to the public IP, open the ports and test from another network (a phone hotspot is enough).
    General

10Common errors

Short fixes from MU forums, each with its source, in the MuADMINS Solutions:

11Video tutorials and docs

iRelease threads on the forums

MuADMINS read 4 release threads that name MuDevs on TuServerMU and CreandoMU. Only what the threads state is shown, and every thread is linked.

Status
Active New release threads in the last 2 years that are not marked outdated.
Written in the titles as
MuDevs, MU DEVS, main.devs
Seasons named
Season 18
Release threads
4 in all: 0 server files or client, 4 tools, launchers or custom content
Dates
first thread 28 Jul 2020, newest thread 11 May 2025, last reply 3 Aug 2026
Forums
TuServerMU (3), CreandoMU (1)
Health in the threads
Unstable 1 Outdated 1 Not rated 2 as the replies of each thread report it

Product facts

MUDevs Emulator Season 20 Part 2-3 FREE free Maker: MUDevs Team
  • Seasons: Season 20 Part 2-3
  • Licence: Free edition. The paid line is Season 21 Part 2-3.
  • Community: Smaller community than IGCN. (MuADMINS owner)
  • Official page
MUDevs older free builds (Season 17 Part 2-2, Season 18) free Maker: MUDevs Team
  • Seasons: Season 17 Part 2-2, Season 18 Part 1 to 2-2
  • Licence: Older free builds (Season 17 Part 2-2, Season 18). No longer offered on mudevs.com.
  • Official page
MUDevs Emulator Season 21 Part 2-3 premium or licensed Maker: MUDevs Team
  • Seasons: Season 21 Part 2-3
  • Licence: Monthly plan: USD 600 up front plus USD 40 per month (support and updates while active). One-time license: USD 800 (no support, no updates).
  • Community: Smaller community than IGCN. (MuADMINS owner)
  • Official page
Every release thread (4)

MuADMINS Community Alpha: free and community made, in active development.