|
المشاركات 1,994 |
+التقييم 1.01 |
تاريخ التسجيل Jun 2019 |
الاقامة |
نظام التشغيل ويندوز 0 |
رقم العضوية 279 |
#region Elite PK Tournament
if (((Now64.Hour == ElitePK.EventTime) && Now64.Minute >= 55) && !ElitePKTournament.TimersRegistered)
{
ElitePKTournament.RegisterTimers();
ElitePKBrackets brackets = new ElitePKBrackets(true, 0);
brackets.Type = ElitePKBrackets.EPK_State;
brackets.OnGoing = true;
foreach (var client in Program.Values)
{
client.ClaimedElitePk = 0;
client.Send(brackets);
foreach (Client.GameState Client in Kernel.GamePool.Values)
{
if (client.Map.BaseID != 6001 && client.Map.BaseID != 6000 && !client.Player.Dead)
{
EventAlert alert = new EventAlert
{
StrResID = 10533,
Countdown = 60,
UK12 = 1
};
client.Player.StrResID = 10533;
client.Send(alert);
}
}
#region RemoveTopElite
var EliteChampion = Network.GamePackets.TitlePacket.Titles.ElitePKChamption_High;
var EliteSecond = Network.GamePackets.TitlePacket.Titles.ElitePK2ndPlace_High;
var EliteThird = Network.GamePackets.TitlePacket.Titles.ElitePK3ndPlace_High;
var EliteEightChampion = Network.GamePackets.TitlePacket.Titles.ElitePKChamption_Low;
var EliteEightSecond = Network.GamePackets.TitlePacket.Titles.ElitePK2ndPlace_Low;
var EliteEightThird = Network.GamePackets.TitlePacket.Titles.ElitePK3ndPlace_Low;
var EliteEight = Network.GamePackets.TitlePacket.Titles.ElitePKTopEight_Low;
if (client.Player.Titles.ContainsKey(EliteChampion))
client.Player.RemoveTopStatus((ulong)EliteChampion);
if (client.Player.Titles.ContainsKey(EliteSecond))
client.Player.RemoveTopStatus((ulong)EliteSecond);
if (client.Player.Titles.ContainsKey(EliteThird))
client.Player.RemoveTopStatus((ulong)EliteThird);
if (client.Player.Titles.ContainsKey(EliteEightChampion))
client.Player.RemoveTopStatus((ulong)EliteEightChampion);
if (client.Player.Titles.ContainsKey(EliteEightSecond))
client.Player.RemoveTopStatus((ulong)EliteEightSecond);
if (client.Player.Titles.ContainsKey(EliteEightThird))
client.Player.RemoveTopStatus((ulong)EliteEightThird);
if (client.Player.Titles.ContainsKey(EliteEight))
client.Player.RemoveTopStatus((ulong)EliteEight);
#endregion
}
}
if ((((Now64.Hour == ElitePK.EventTime + 1)) && Now64.Minute >= 10) && ElitePKTournament.TimersRegistered)
{
bool done = true;
foreach (var epk in ElitePKTournament.Tournaments)
if (epk.Players.Count != 0)
done = false;
if (done)
{
ElitePKTournament.TimersRegistered = false;
ElitePKBrackets brackets = new ElitePKBrackets(true, 0);
brackets.Type = ElitePKBrackets.EPK_State;
brackets.OnGoing = false;
foreach (var client in Program.Values)
client.Send(brackets);
}
}
#endregion
#region TeamPk
if (((Now64.Hour == TeamPk.EventTime) && Now64.Minute >= 55) && !TeamPk.TeamTournament.Opened)
Game.Features.Tournaments.TeamPk.TeamTournament.Open();
#endregion
#region SkillTeamPk
if (((Now64.Hour == SkillPk.EventTime) && Now64.Minute >= 55) && !SkillPk.SkillTournament.Opened)
Game.Features.Tournaments.SkillPk.SkillTournament.Open();
#endregion
region Elite PK Tournament
if (((Now64.Hour == 6) && Now64.Minute >= 55) && !ElitePKTournament.TimersRegistered)
{
ElitePKTournament.RegisterTimers();
ElitePKBrackets brackets = new ElitePKBrackets(true, 0);
brackets.Type = ElitePKBrackets.EPK_State;
brackets.OnGoing = true;
foreach (var client in Program.Values)
{
client.ClaimedElitePk = 0;
client.Send(brackets);
foreach (Client.GameState Client in Kernel.GamePool.Values)
{
if (client.Map.BaseID != 6001 && client.Map.BaseID != 6000 && !client.Player.Dead)
{
EventAlert alert = new EventAlert
{
StrResID = 10533,
Countdown = 60,
UK12 = 1
};
client.Player.StrResID = 10533;
client.Send(alert);
}
}
#region RemoveTopElite
var EliteChampion = Network.GamePackets.TitlePacket.Titles.ElitePKChamption_High;
var EliteSecond = Network.GamePackets.TitlePacket.Titles.ElitePK2ndPlace_High;
var EliteThird = Network.GamePackets.TitlePacket.Titles.ElitePK3ndPlace_High;
var EliteEightChampion = Network.GamePackets.TitlePacket.Titles.ElitePKChamption_Low;
var EliteEightSecond = Network.GamePackets.TitlePacket.Titles.ElitePK2ndPlace_Low;
var EliteEightThird = Network.GamePackets.TitlePacket.Titles.ElitePK3ndPlace_Low;
var EliteEight = Network.GamePackets.TitlePacket.Titles.ElitePKTopEight_Low;
if (client.Player.Titles.ContainsKey(EliteChampion))
client.Player.RemoveTopStatus((ulong)EliteChampion);
if (client.Player.Titles.ContainsKey(EliteSecond))
client.Player.RemoveTopStatus((ulong)EliteSecond);
if (client.Player.Titles.ContainsKey(EliteThird))
client.Player.RemoveTopStatus((ulong)EliteThird);
if (client.Player.Titles.ContainsKey(EliteEightChampion))
client.Player.RemoveTopStatus((ulong)EliteEightChampion);
if (client.Player.Titles.ContainsKey(EliteEightSecond))
client.Player.RemoveTopStatus((ulong)EliteEightSecond);
if (client.Player.Titles.ContainsKey(EliteEightThird))
client.Player.RemoveTopStatus((ulong)EliteEightThird);
if (client.Player.Titles.ContainsKey(EliteEight))
client.Player.RemoveTopStatus((ulong)EliteEight);
#endregion
}
}
if ((((Now64.Hour == ElitePK.EventTime + 1)) && Now64.Minute >= 10) && ElitePKTournament.TimersRegistered)
{
bool done = true;
foreach (var epk in ElitePKTournament.Tournaments)
if (epk.Players.Count != 0)
done = false;
if (done)
{
ElitePKTournament.TimersRegistered = false;
ElitePKBrackets brackets = new ElitePKBrackets(true, 0);
brackets.Type = ElitePKBrackets.EPK_State;
brackets.OnGoing = false;
foreach (var client in Program.Values)
client.Send(brackets);
}
}
#endregion
#region TeamPk
if (((Now64.Hour == 7) && Now64.Minute >= 55) && !TeamPk.TeamTournament.Opened)
Game.Features.Tournaments.TeamPk.TeamTournament.Open();
#endregion
#region SkillTeamPk
if (((Now64.Hour == 8) && Now64.Minute >= 55) && !SkillPk.SkillTournament.Opened)
Game.Features.Tournaments.SkillPk.SkillTournament.Open();
#endregion
region Elite PK Tournament
if (((Now64.Hour == 6) && Now64.Minute >= 55) && !ElitePKTournament.TimersRegistered)
{
ElitePKTournament.RegisterTimers();
ElitePKBrackets brackets = new ElitePKBrackets(true, 0);
brackets.Type = ElitePKBrackets.EPK_State;
brackets.OnGoing = true;
foreach (var client in Program.Values)
{
client.ClaimedElitePk = 0;
client.Send(brackets);
foreach (Client.GameState Client in Kernel.GamePool.Values)
{
if (client.Map.BaseID != 6001 && client.Map.BaseID != 6000 && !client.Player.Dead)
{
EventAlert alert = new EventAlert
{
StrResID = 10533,
Countdown = 60,
UK12 = 1
};
client.Player.StrResID = 10533;
client.Send(alert);
}
}
#region RemoveTopElite
var EliteChampion = Network.GamePackets.TitlePacket.Titles.ElitePKChamption_High;
var EliteSecond = Network.GamePackets.TitlePacket.Titles.ElitePK2ndPlace_High;
var EliteThird = Network.GamePackets.TitlePacket.Titles.ElitePK3ndPlace_High;
var EliteEightChampion = Network.GamePackets.TitlePacket.Titles.ElitePKChamption_Low;
var EliteEightSecond = Network.GamePackets.TitlePacket.Titles.ElitePK2ndPlace_Low;
var EliteEightThird = Network.GamePackets.TitlePacket.Titles.ElitePK3ndPlace_Low;
var EliteEight = Network.GamePackets.TitlePacket.Titles.ElitePKTopEight_Low;
if (client.Player.Titles.ContainsKey(EliteChampion))
client.Player.RemoveTopStatus((ulong)EliteChampion);
if (client.Player.Titles.ContainsKey(EliteSecond))
client.Player.RemoveTopStatus((ulong)EliteSecond);
if (client.Player.Titles.ContainsKey(EliteThird))
client.Player.RemoveTopStatus((ulong)EliteThird);
if (client.Player.Titles.ContainsKey(EliteEightChampion))
client.Player.RemoveTopStatus((ulong)EliteEightChampion);
if (client.Player.Titles.ContainsKey(EliteEightSecond))
client.Player.RemoveTopStatus((ulong)EliteEightSecond);
if (client.Player.Titles.ContainsKey(EliteEightThird))
client.Player.RemoveTopStatus((ulong)EliteEightThird);
if (client.Player.Titles.ContainsKey(EliteEight))
client.Player.RemoveTopStatus((ulong)EliteEight);
#endregion
}
}
if ((((Now64.Hour == ElitePK.EventTime + 1)) && Now64.Minute >= 10) && ElitePKTournament.TimersRegistered)
{
bool done = true;
foreach (var epk in ElitePKTournament.Tournaments)
if (epk.Players.Count != 0)
done = false;
if (done)
{
ElitePKTournament.TimersRegistered = false;
ElitePKBrackets brackets = new ElitePKBrackets(true, 0);
brackets.Type = ElitePKBrackets.EPK_State;
brackets.OnGoing = false;
foreach (var client in Program.Values)
client.Send(brackets);
}
}
#endregion
#region TeamPk
if (((Now64.Hour == 7) && Now64.Minute >= 55) && !TeamPk.TeamTournament.Opened)
Game.Features.Tournaments.TeamPk.TeamTournament.Open();
#endregion
#region SkillTeamPk
if (((Now64.Hour == 8) && Now64.Minute >= 55) && !SkillPk.SkillTournament.Opened)
Game.Features.Tournaments.SkillPk.SkillTournament.Open();
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
مشكلة في توبات التيم الاسكل الاليت | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 5 | 2020-04-20 10:04 PM |
تعديل في مواعيد التيم الاسكل الاليت | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 9 | 2020-02-20 07:35 PM |
ازاي اقدر اعرف مواعيد ظهور الBigMonsters وازاي اعدل عليها | Alaa Ghanem | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-12-10 02:28 AM |
مشكلة في الاسكل و التيم بكي | manshestar | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-08-05 11:02 AM |
مشكله في التيم بوكيه | abuhaneen | مشكلات السيرفيرات كونكر الشخصيه | 11 | 2019-07-06 06:52 PM |