mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Implement packet handler sender
This commit is contained in:
@@ -17,13 +17,13 @@ namespace EggLink.DanhengServer.Server.Http.Handler
|
||||
var gateServer = new Gateserver() {
|
||||
RegionName = config.GameServer.GameServerId,
|
||||
Ip = config.GameServer.PublicAddress,
|
||||
Port = (uint)config.GameServer.PublicPort,
|
||||
Port = config.GameServer.PublicPort,
|
||||
Msg = "Access verification failed. Please check if you have logged in to the correct account and server.",
|
||||
Unk1 = true,
|
||||
Unk2 = true,
|
||||
Unk3 = true,
|
||||
Unk4 = true,
|
||||
Unk5 = true
|
||||
Unk5 = true,
|
||||
};
|
||||
|
||||
if (urlData.AssetBundleUrl != null)
|
||||
@@ -39,13 +39,13 @@ namespace EggLink.DanhengServer.Server.Http.Handler
|
||||
if (urlData.LuaUrl != null)
|
||||
{
|
||||
gateServer.LuaUrl = urlData.LuaUrl;
|
||||
gateServer.MdkResVersion = urlData.LuaUrl.Split('/')[urlData.LuaUrl.Split('/').Length - 1].Split('_')[1];
|
||||
gateServer.MdkResVersion = urlData.LuaUrl.Split('/')[^1].Split('_')[1];
|
||||
}
|
||||
|
||||
if (urlData.IfixUrl != null)
|
||||
{
|
||||
gateServer.IfixUrl = urlData.IfixUrl;
|
||||
gateServer.IfixVersion = urlData.IfixUrl.Split('/')[urlData.IfixUrl.Split('/').Length - 1].Split('_')[1];
|
||||
gateServer.IfixVersion = urlData.IfixUrl.Split('/')[^1].Split('_')[1];
|
||||
}
|
||||
Logger.Info("Client request: query_gateway");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user