|
المشاركات 1,372 |
+التقييم 0.68 |
تاريخ التسجيل Apr 2019 |
الاقامة شرقيه/زقازيق |
نظام التشغيل |
رقم العضوية 30 |
#region TeamOfWar [10]
#region Team Of War [10]
case 66655:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Do you Want To Go To Team Of War Event!! ");
dialog.Option("Yes I want to Join.", 1);
dialog.Option("No Thanks Man.", 255);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 10 && DateTime.Now.Minute < 14)
{
if (client.Team != null && client.Team.TeamLeader)
{
foreach (Client.GameState Teammate in client.Team.Teammates)
{
if (Teammate != null)
{
Random R = new Random();
int Nr = R.Next(1, 3);
if (Nr == 1) Teammate.Entity.Teleport(2233, 45, 55);
if (Nr == 2) Teammate.Entity.Teleport(2233, 50, 55);
if (Nr == 3) Teammate.Entity.Teleport(2233, 55, 50);
client.Entity.RemoveFlag(Update.Flags.Ride);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Pleas Open the Team Or sign up in the any team other. ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
}
}
else
{
dialog.Text("Sorry You Dont Leader Team. ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Sign Up to War Of Team Event Every Hours in Time xx:10 To xx:14 . ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize Team Of War [10]
case 3010557:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " You neeD Claim your Prize Team Of War?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
Daily.CheackAlive19();
var Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 15)
{
if (Daily.howmanyinmap19 == 1)
{
client.Entity.AddTopStatus(Update.Flags.TopFireTaoist, 2, DateTime.Now.AddMinutes(59));
client.Entity.ConquerPoints += 2000000;
client.Entity.BoundCps += 10;
Kernel.SendWorldMessage(new Message(" Congratulations " + client.Entity.Name + " You Win [2.000.000] ConquerPoints & [10] CpsBound you Earned War Team Of War.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 300, 278);
EntityTable.SaveEntity(client);
foreach (var clients in Program.Values)
{
if (clients.Entity.MapID == 2233)
{
clients.Entity.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity Good Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + Daily.howmanyinmap19 + " Entitys in the map kill it First To Claim Prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:15 To xx:15");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#endregion
public class Daily
public static void CheackAlive19()
{
howmanyinmap19 = 0;
foreach (Client.GameState client in Program.Values)
{
if (client.Entity.MapID == 2233 && client.Entity.Hitpoints >= 1)
{
howmanyinmap19 += 1;
MrHassan.Kernel.SendWorldMessage(new MrHassan.Network.GamePackets.Message("Entitys Alive in TeamOfWar Now: " + howmanyinmap19 + " ", System.Drawing.Color.Black, MrHassan.Network.GamePackets.Message.FirstRightCorner), Program.Values);
}
}
}
public static readonly System.Collections.Generic.List<ushort> PKFreeMaps
2233,
public static readonly System.Collections.Generic.List<ulong> NotReady
2233,
public static readonly System.Collections.Generic.List<ushort> NoRev
2233,
private void WorldTournaments(int time)
#region TeamOFWar [10]
if (DateTime.Now.Minute == 10 && DateTime.Now.Second == 01)
{
Kernel.SendWorldMessage(new Message("TeamWar Was began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("TeamWar began Would you like to join?",
p => { p.Entity.Teleport(3690, 82, 63); }, null, 20);
}
#endregion
2233 700 7 0
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
سورس زمان المحاربين لاول مره نسخة عربي مقدمه من فريق #Team_Back8 | ahmedfathy | سورسات كونكر | 155 | 2024-10-26 06:09 PM |
كويستة في اي بي 7 بناءا علي طلب zezonever | Commander | تطوير سيرفرات كونكر | 7 | 2020-03-16 04:55 PM |
حرب PoleDomntaion مقدمه من HassanEmprator ليكو احبايبي <3 | Hassan Emprator | تطوير سيرفرات كونكر | 9 | 2020-02-20 11:47 PM |
كويستت Treasure In Blue مقدمه من HassanEmprator | Hassan Emprator | تطوير سيرفرات كونكر | 5 | 2020-02-20 09:07 PM |
كويستة vip 7 | ElSaher | تطوير سيرفرات كونكر | 1 | 2020-02-17 09:04 AM |