private void Alarm(int minutes, int dungeonid, int open, int close, bool isopen = false) { //Log.Write("Sending Alarm Dungeon..."); Common.PacketWrite ks = new Common.PacketWrite(); ks.Byte(0); ks.Bool(isopen); ks.Int(dungeonid); //00 00 00 3E ks.Int(minutes); //00 00 00 03 ks.Int(open); //B9 AB 5E 5A ks.Int(close); //59 CB B5 E8 GameServer.SendForAllPlayersInServer(ks, 893); }
public void ServerTime() { DateTime d2 = DateTime.Now; Common.PacketWrite ks = new Common.PacketWrite(); ks.Int(Serializables.m_timeStamp()); ks.Int(d2.Year); ks.Int(d2.Month); ks.Int(d2.Day); ks.Int(d2.Hour); ks.Int(d2.Minute); ks.Int(d2.Second); GameServer.SendForAllPlayersInServer(ks, 416); }