public static void UpdateServerInfo(byte bStatus)
{
foreach (KeyValuePair<int, Systems.SRX_Serverinfo> LS in Systems.LSList)
{
try
{
byte[] tBuf = Systems.IPC.PacketResponseServerInfo(Servers.IPCPort, bStatus, (UInt16)Systems.maxSlots, (UInt16)Systems.clients.Count, (UInt16)DarkEmu_GameServer.Global.Versions.clientVersion);
Servers.IPCenCode(ref tBuf, LS.Value.code);
Systems.IPC.Send(LS.Value.ip, LS.Value.ipcport, tBuf);
}
catch (Exception ex)
{
Console.WriteLine("[IPC] Error informing LoginServer {0}:{1}> {2}", LS.Value.ip, LS.Value.ipcport, ex);
}
}
}