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

X-Team (XeMU) server files

X-Team files (MuEmu style layout): SQL Server with the DSN MuOnline, ConnectServer, JoinServer, DataServer, GameServer and GameServerCS with a CustomerLicenseId, and a client packed from MainInfo.ini. The values cover X-Team Season 2, 15, 17 and 18.

CONFIGUREServer side: IP, server name, SQL login and license in your own files, made in your browser. 25 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 the Visual C++ runtimes (2005 to 2022, both x86 and x64) and .NET Framework 3.5 and 4.5.2 or newer. Most "random" errors when an exe starts are a missing runtime; a few full Windows Update runs help too.
  3. A licence from X-Team: every server .ini starts with CustomerLicenseId. X-Team sells only through xteamdev.com/contact.
  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. Install SQL Server 2016 or newer (recommended today; some or most server files may still work with SQL Server 2012) with SQL Server Management Studio.
    Tested by MuADMINS
  2. The Season 17 and Season 2 packs build the database from DB/MuOnline.sql (plain SQL with no version specific code), and DB/MuOnline.reg uses the Windows "SQL Server" driver on (local) with Windows login: install the default instance (MSSQLSERVER) or change the DSN server name.
  3. 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
  4. 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 a database named MuOnline and run DB/MuOnline.sql in it. DB/EX1601_EX1702 holds the scripts that bring an older database up (Alter and Create scripts).
    Season 13 to 17 Season 18 and newer
  2. Import DB/MuOnline.reg to create the DSN MuOnline, or make it by hand with the 32 bit ODBC tool.
  3. 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.

4Database connection

  1. The servers use the DSN name:
    FileKeyWhat to putWhy
    DataServer/DataServer.iniDataServerODBC / DataServerPortMuOnline / 55960[DataServerInfo], plus CustomerLicenseId
    JoinServer/JoinServer.iniJoinServerODBC / JoinServerPortMuOnline / 55970[JoinServerInfo], plus CustomerLicenseId
    JoinServer/JoinServer.iniConnectServerAddress / ConnectServerPort127.0.0.1 / 55557
    JoinServer/JoinServer.iniCaseSensitive / MD5Encryption0 / 01 = case sensitive logins / MD5 passwords. Keep MD5 at 0: almost no server uses it. Turn it on only if your files need it (some 99b files do); then your website must save MD5 passwords too.
  2. Season 18 Lua scripts connect by themselves: Script/Greed/Common.lua Conf.Common.Sql.Odbc, Conf.Common.Sql.User and Conf.Common.Sql.Pass, and Greed/App/StartBonus.lua StartBonus.SQLDB / SQLUser / SQLPass. Set them to your DSN and SQL login.
    Season 18 and newer

5Config files

  1. ConnectServer/ConnectServer.ini [ConnectServerInfo]: CustomerLicenseId, ConnectServerPortTCP 44405, ConnectServerPortUDP 55557, MaxIpConnection 10.
  2. ConnectServer/ServerList.dat:
    0    "GameServer"     "<your IP>"   55900   "SHOW"
    19   "GameServerCS"   "<your IP>"   55919   "HIDE"
    end
    Season 13 to 17 Season 18 and newer
  3. Data/MapServerInfo.dat (the IP in quotes here):
    0    0   1   "<your IP>"   55900
    19   0   0   "<your IP>"   55919
    end
    Season 13 to 17 Season 18 and newer
  4. GameServer/DATA/GameServerInfo - Common.dat:
    FileKeyWhat to putWhy
    GameServer/DATA/GameServerInfo - Common.datServerName / ServerCode / ServerPortyour name / 0 / 55900GameServerCS: 19 / 55919
    sameServerVersion / ServerSerial1.00.00 / your serialmust equal MainInfo.ini ClientVersion and ClientSerial
    sameDataServerAddress / DataServerPort127.0.0.1 / 55960
    sameJoinServerAddress / JoinServerPort127.0.0.1 / 55970
    sameConnectServerAddress / ConnectServerPort127.0.0.1 / 55557
  5. Season 18 Data: GameServer codes 20 (port 55921) and 39 (port 55939) in MapServerInfo.dat; both read the same Data folder (Greed picks App/20 or App/39 by the server code).
    Season 18 and newer
  6. Season 2 pack: main GameServer code 0 on 55900, sub servers code 1 (55901) and code 2, Castle Siege code 19 on 55919. Code 2 has 56902 in its Common.dat but 55902 in ServerList.dat: make them equal.
    Season 2 to 4

6Ports and firewall

  1. Open TCP 44405 and the GameServer ports (55900 and 55919 in Season 17).
    General
  2. Season 2: DataServer 55960 (sub servers 55964 and 55965) and JoinServer 55970 stay local; clients use 44405 and 55900 to 55919.
    Season 2 to 4
  3. 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.
  4. 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. Edit Util/GetMainInfo/MainInfo.ini [MainInfo]: IpAddress = your IP, IpAddressPort 44405, ClientVersion 1.00.00, ClientSerial = ServerSerial, WindowName, LauncherStart 0 (no launcher). ClientName Main.dll, PluginName Plugin.dll and CameraName Camera.dll are the client dll names.
  2. Run GetMainInfo.exe to pack MainInfo for the client, and use main.exe, Main.dll, Plugin.dll and Camera.dll from the pack.
  3. Item.txt, Skill.txt, the monster list, terrains (.att) and the Hack/Dec1.dat + Enc2.dat key pair must match the client.

8Start order

  1. StartUp/StartUp.txt starts: ConnectServer, JoinServer, DataServer, GameServer, GameServerCS.
  2. Season 2 pack: ConnectServer, JoinServer, DataServer, the two sub DataServers, GameServer, the two sub GameServers, GameServerCS.
    Season 2 to 4

9Testing

  1. 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
  2. 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 21 release threads that name X-Team (XeMU) on CreandoMU, TuServerMU and RaGEZONE. 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
X-Team, Xteam, MUXTEAM, X Team, Xemu, xteamdev
Seasons named
0.97Season 4Season 6
Release threads
21 in all: 6 server files or client, 15 tools, launchers or custom content
Dates
first thread 26 Apr 2011, newest thread 15 Dec 2023, last reply 3 Mar 2026
Forums
CreandoMU (12), TuServerMU (8), RaGEZONE (1)
Health in the threads
Stable 1 Unstable 5 Outdated 8 Not rated 7 as the replies of each thread report it
Database named
SQL Server 2008 (1 thread)
Versions in the titles
1.04e client main or GameServer numbers as the titles write them
The titles mention
source code (3), downgrade (1), Lua (3)
Named together with
MuEmu (13), Louis Emulator (5), SSeMU (SetecSoft) (2), IGCN (IGC.Network) (1), PerfectDev (1), MODTeam (1)

Product facts

X-Team XeMU premium or licensed Maker: X-Team Developers
  • Seasons: Season 0 to Season 18 lines; the newest is Season 18 Episode 2 (v1.20.20, KOR protocol).
  • Licence: No public price: X-Team sells only through its contact page.
  • Community: Smaller community than IGCN. (MuADMINS owner)
  • Official page

Main threads

  1. Files RzTeam S6 Downgrade 97d 2.0TuServerMU / 15 Dec 2023 / Server files Not rated
  2. Buenas Gente Aca Les Dejoo El Avanze de mi proyecto S6 Tipo WidescreenTuServerMU / 24 Sep 2022 / Server files Outdated
  3. Mu Server Season 4 100%CreandoMU / 8 Jun 2021 / Server files Outdated
  4. Sources Fix Weather effect (Lorencia/Devias/Noria) [Rafhael Souza]CreandoMU / 7 Mar 2021 / Server files Outdated
  5. Files DarkGamers Update 4 - Season 6 Epi 3TuServerMU / 7 Mar 2020 / Server files Unstable
Every release thread (21)

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