mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-12 21:04:43 +01:00
unstable whisper, now you can dm your friend(if you have any lol)
This commit is contained in:
@@ -4,8 +4,8 @@ using PemukulPaku.GameServer;
|
||||
using Common.Database;
|
||||
using PemukulPaku.GameServer.Game;
|
||||
using PemukulPaku.GameServer.Commands;
|
||||
using Common.Utils.ExcelReader;
|
||||
using Newtonsoft.Json;
|
||||
using MongoDB.Bson;
|
||||
using Common.Resources.Proto;
|
||||
|
||||
namespace PemukulPaku
|
||||
{
|
||||
@@ -18,7 +18,8 @@ namespace PemukulPaku
|
||||
#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();
|
||||
if (Global.config.Gameserver.Host == "127.0.0.1")
|
||||
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();
|
||||
|
||||
CommandFactory.LoadCommandHandlers();
|
||||
PacketFactory.LoadPacketHandlers();
|
||||
|
||||
Reference in New Issue
Block a user