|
|
case 1:
{
if ([U]MsgInterServer.Core.IsCrossPkOpen[/U])
{
client.Player.SetLocationType = 1;
MsgInterServer.PipeClient.Connect(client, Database.GroupServerList.InterServer.IPAddress, Database.GroupServerList.InterServer.Port);
}
else
{
data.AddText("Please sign up between 19:55 and 19:59 every Thursday night for the Cross Elite PK Tournament.")
.AddOption("Okay.", 255).AddAvatar(4).FinalizeDialog();
}
{
if (![I]MsgTournaments.MsgSchedules.ElitePkTournament.SignUp[/I](client))
{
data.AddText("Please sign up between 19:55 and 19:59 every Friday night for the Elite PK Tournament.")
.AddOption("Okay.", 255).AddAvatar(154).FinalizeDialog();
}
break;
}
#region ElitePkTournament
if (Now64.Hour == 19 && Now64.Minute == 55 && Now64.Second == 41)
{
ElitePkTournament.Start();
}
#endregion
MsgInterServer.PipeServer.Send(new MsgMessage("[Cross Elite PK Tournament] begins at 20:00. Get yourself prepared for it!", MsgMessage.MsgColor.red, MsgMessage.ChatMode.BroadcastMessage).GetArray(stream));
case Project_Terror_v2.Game.GamePackets.Chat:
if (mes.ChatType == MsgMessage.ChatMode.BroadcastMessage)
{
if (mes.__Message == "[Cross Elite PK Tournament] begins at 20:00. Get yourself prepared for it!")
{
Core.IsCrossPkOpen = true;
Core.JoinCrossEliteStamp = DateTime.Now.AddMinutes(60 * 5);
Project_Terror_v2.Game.MsgTournaments.MsgSchedules.SendInvitation("Cross Elite PK Tournament", "[Special Accesory/Boots,Cps and more rewards]", 293, 160, 1002, 0, 60);
break;
}
}
case "epkon":
{
Game.MsgTournaments.MsgSchedules.ElitePkTournament.Start();
foreach (var clients in Database.Server.GamePoll.Values)
{
Game.MsgTournaments.MsgSchedules.ElitePkTournament.SignUp(clients);
}
break;
}
#region elitepktournament
if (now64.hour == 19 && now64.minute == 55 && now64.second == 41)
{
elitepktournament.start();
}
#endregion
msginterserver.pipeserver.send(new msgmessage("[cross elite pk tournament] begins at 20:00. Get yourself prepared for it!", msgmessage.msgcolor.red, msgmessage.chatmode.broadcastmessage).getarray(stream));
case project_terror_v2.game.gamepackets.chat:
if (mes.chattype == msgmessage.chatmode.broadcastmessage)
{
if (mes.__message == "[cross elite pk tournament] begins at 20:00. Get yourself prepared for it!")
{
core.iscrosspkopen = true;
core.joincrosselitestamp = datetime.now.addminutes(60 * 5);
project_terror_v2.game.msgtournaments.msgschedules.sendinvitation("cross elite pk tournament", "[special accesory/boots,cps and more rewards]", 293, 160, 1002, 0, 60);
break;
}
}
case "epkon":
{
game.msgtournaments.msgschedules.elitepktournament.start();
foreach (var clients in database.server.gamepoll.values)
{
game.msgtournaments.msgschedules.elitepktournament.signup(clients);
}
break;
}
|
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
يلا صفحه لسورس اليكس انا معدلها عشان تتظبط مع اليكس | midoazoz | صفحات التسجيل كونكر اونلاين | 110 | 2024-08-30 06:45 PM |
NobilityCrossWar في سورس اليكس | KERO | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2020-04-22 11:25 AM |
سورس اليكس | tekatop0 | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-03-23 08:43 PM |
طلب فى سورس اليكس | Hunter | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-12-24 09:48 PM |
سورس اليكس | محمد ياسر | مشكلات السيرفيرات كونكر الشخصيه | 6 | 2019-08-02 04:31 PM |