Yomalex / MuEmu

C# MuOnline Server Implementation for support multiple client version now aims to Season 16 Kor
MIT License
96 stars 48 forks source link

Client connecting to server ERROR #12

Open flusity opened 1 week ago

flusity commented 1 week ago

Hello, I can't connect to the client at all, the server I chose is Season17Kor and the client game version is taken from the link you provided.

https://www.mediafire.com/file/g91or6xhbuf47jt/MuClient_S17_v1.19.74.7z/file

The server seems to have started properly: cmdw

I also add my settings in the files: Server.xml `GameServer 0

1 en true Season17Kor 127.0.0.1 127.0.0.1 55901 127.0.0.1 api-2020110116 127.0.0.1 muonline2 root ************* 11974 fughy683dfu7teqg 512.2014.124 10 10 10 60 400 true ` **ServerinfoDto.cs** ` namespace MuEmu.Resources.XML { [XmlType(AnonymousType = true)] [XmlRoot("Server")] public class ServerInfoDto { [XmlElement] public string Name { get; set; } = "GameServer"; [XmlElement] public int Code { get; set; } = 0; [XmlElement] public int Show { get; set; } = 1; [XmlElement] public string Lang { get; set; } = "en"; [XmlElement] public bool AutoRegister { get; set; } = true; [XmlElement] public ServerSeason Season { get; set; } = ServerSeason.Season17Kor; [XmlElement("Connection")] public ConnectionInfoDto Connection { get; set; } = new ConnectionInfoDto(); [XmlElement("Database")] public DatabaseInfoDto Database { get; set; } = new DatabaseInfoDto(); [XmlElement("Client")] public ClientInfoDto Client { get; set; } = new ClientInfoDto(); [XmlElement("GamePlay")] public GamePlayInfoDto GamePlay { get; set; } = new GamePlayInfoDto(); [XmlElement("Files")] public FilesInfoDto Files { get; set; } = new FilesInfoDto(); [XmlElement("Event")] public EventDto[] Events { get; set; } = Array.Empty(); } [XmlType(AnonymousType = true)] public class ConnectionInfoDto { [XmlElement] public string IP { get; set; } = "127.0.0.1"; [XmlElement] public string IPPublic { get; set; } = "127.0.0.1"; [XmlElement] public int Port { get; set; } = 55901; [XmlElement] public string ConnectServerIP { get; set; } = "127.0.0.1"; [XmlElement] public string APIKey { get; set; } = "api-2020110116"; } [XmlType(AnonymousType = true)] public class DatabaseInfoDto { [XmlElement] public string DBIp { get; set; } = "127.0.0.1"; [XmlElement] public string DataBase { get; set; } = "muonline2"; [XmlElement] public string BDUser { get; set; } = "root"; [XmlElement] public string DBPassword { get; set; } = "***********"; } [XmlType(AnonymousType = true)] public class ClientInfoDto { [XmlElement] public string Version { get; set; } = "11974"; [XmlElement] public string Serial { get; set; } = "fughy683dfu7teqg"; [XmlElement] public string CashShopVersion { get; set; } = "512.2014.124"; } ` **File CsConfigDto.cs** ` api-2020110116 127.0.0.1 127.0.0.1 127.0.0.1 muonline2 root ************** ` **File: ClientConfig / config_1.19.74.0.ini** `[LOGIN] Version=1.19.74 [Option] FTP_URL=*********// My IP FTP_PORT=22 [MU] Version=11975 URL = 192.168.1.110 Serial = fughy683dfu7teqg Port = 44405 Console = 0 Log = 1` **And MapServer.xml** ` ` **configuration.xml** ` 127.0.0.1 127.0.0.1 127.0.0.1 muonline2 root ************** ` **And client config.ini** `[LOGIN] Version=1.19.74 [Option] FTP_URL=************ FTP_PORT=22 [MU] Version=11975 URL = 192.168.1.110 Serial = fughy683dfu7teqg Port = 44405 Console = 0 Log = 1 ` **The resulting result is:** ![gmloading](https://github.com/user-attachments/assets/41f3e236-55b3-4713-9cd2-7c7d0767ebef) _And an error is received_ ![gmfolder](https://github.com/user-attachments/assets/8f21192e-5f4c-42da-a579-95f321cdd548) What is wrong or what did I miss? Thanks in advance for your reply.
flusity commented 5 days ago

Hello,

Sorry to bother you with this question, but in order to further explore and test your server, I would like to know how to connect with the game client. I tried to change the GameServer IP address on the server but failed. I'm also considering editing the main.exe file using Hex, but I don't know exactly what needs to be changed.

I would greatly appreciate it if you could explain how to properly connect the game client to your server. I have read all the available information in your project but I still can't find the solution.

Thank you for your help!