mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-12 21:04:43 +01:00
at least you can end the stage
This commit is contained in:
17
Program.cs
17
Program.cs
@@ -1,7 +1,8 @@
|
||||
using Common.Resources.Proto;
|
||||
using Common;
|
||||
using Common;
|
||||
using System.Net.NetworkInformation;
|
||||
using PemukulPaku.GameServer;
|
||||
using Common.Database;
|
||||
using PemukulPaku.GameServer.Game;
|
||||
|
||||
namespace PemukulPaku
|
||||
{
|
||||
@@ -9,19 +10,19 @@ namespace PemukulPaku
|
||||
{
|
||||
public static void Main()
|
||||
{
|
||||
#if DEBUG
|
||||
Global.config.VerboseLevel = VerboseLevel.Debug;
|
||||
#endif
|
||||
Global.c.Log("Starting...");
|
||||
|
||||
Global.config.Gameserver.Host = NetworkInterface.GetAllNetworkInterfaces().Where(i => i.NetworkInterfaceType != NetworkInterfaceType.Loopback && i.OperationalStatus == OperationalStatus.Up).First().GetIPProperties().UnicastAddresses.Where(a => a.Address.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork).First().Address.ToString();
|
||||
|
||||
GetPlayerTokenRsp getPlayerTokenRsp = new()
|
||||
{
|
||||
Msg = "Hello!"
|
||||
};
|
||||
|
||||
new Thread(HttpServer.Program.Main).Start();
|
||||
PacketFactory.LoadPacketHandlers();
|
||||
new Thread(HttpServer.Program.Main).Start();
|
||||
_ = Server.GetInstance();
|
||||
|
||||
Player Player = new(User.FromName("test"));
|
||||
|
||||
Console.Read();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user