|
المشاركات 1,941 |
+التقييم 0.96 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
#region Champions PK
#region Champions PKWAR
case 54230:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Champions PKWar?.");
dialog.Option("Send Me King Island.", 1);
dialog.Option("Send Me Prince Island.", 2);
dialog.Option("Send Me Duck Island.", 3);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
DateTime Now64 = DateTime.Now;
if (client.Entity.NobilityRank == NobilityRank.King)
{
if (Now64.Minute >= 50 && Now64.Minute <= 53)
{
client.Entity.Teleport(3691, 51, 51);
#region Effects
_String str = new _String(true);
str.UID = client.Entity.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("end_task");
client.SendScreen(str, true);
#endregion
}
}
else
{
dialog.Text("Champions PkWar is held during xx:50 to xx:53 you have 2 min to signup or You are not King.");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 2:
{
DateTime Now64 = DateTime.Now;
if (client.Entity.NobilityRank == NobilityRank.Prince)
{
if (Now64.Minute >= 50 && Now64.Minute <= 53)
{
client.Entity.Teleport(3692, 51, 51);
#region Effects
_String str = new _String(true);
str.UID = client.Entity.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("end_task");
client.SendScreen(str, true);
#endregion
}
}
else
{
dialog.Text("Champions PkWar is held during xx:50 to xx:53 you have 2 min to signup or You are not Prince.");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 3:
{
DateTime Now64 = DateTime.Now;
if (client.Entity.NobilityRank == NobilityRank.Duke)
{
if (Now64.Minute >= 50 && Now64.Minute <= 53)
{
client.Entity.Teleport(3693, 51, 51);
#region Effects
_String str = new _String(true);
str.UID = client.Entity.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("end_task");
client.SendScreen(str, true);
#endregion
}
}
else
{
dialog.Text("Champions PkWar is held during xx:50 to xx:53 you have 2 min to signup or You are not Duke.");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Champions KingPrize
case 3691:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to claim King of Kings Prize? Yeah!!");
dialog.Option("Champion prize", 1);
dialog.Option("I don't care.", 0xff);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 56 && DateTime.Now.Minute <= 59)
{
Conquer_Online_Server.Game.ConquerStructures.Daily.CheackAlive22();
if (Conquer_Online_Server.Game.ConquerStructures.Daily.howmanyinmap22 == 1)
{
client.Entity.AddTopStatus(Update.Flags.MonthlyPKChampion, DateTime.Now.AddMinutes(30));
client.Entity.ConquerPoints += 200000;
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has Claimed King Prize 200,000 CP's in Server UnReal-Online.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 429, 378);
}
else
{
dialog.Text("Sorry, Must be (1) Alive in this map.");
dialog.Option("Okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Champion King of kings you can get prize at xx:56.");
dialog.Option("Okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Champions PrincePrize
case 3692:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to claim Prince Prize? Yeah!!");
dialog.Option("Prince prize.", 1);
dialog.Option("i want Face Kings.", 2);
dialog.Option("No, thanks.", 0xff);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 56 && DateTime.Now.Minute <= 59)
{
Conquer_Online_Server.Game.ConquerStructures.Daily.CheackAlive23();
if (Conquer_Online_Server.Game.ConquerStructures.Daily.howmanyinmap23 == 1)
{
client.Entity.ConquerPoints += 100000;
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has Claimed Prince Prize 100,000 CP's in Server UnReal-Online.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 429, 378);
}
else
{
dialog.Text("Sorry, Must be (1) Alive in this map.");
dialog.Option("Okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Champion Prince you can get prize at xx:54.");
dialog.Option("Okay", 255);
dialog.Send();
break;
}
break;
}
case 2:
{
if (DateTime.Now.Minute >= 53 && DateTime.Now.Minute <= 55)
{
Conquer_Online_Server.Game.ConquerStructures.Daily.CheackAlive23();
if (Conquer_Online_Server.Game.ConquerStructures.Daily.howmanyinmap23 == 1)
{
client.Entity.Teleport(3691, 051, 051);
}
}
else
{
dialog.Text("Sorry should be (1) in Prince Map.or You, can face Princes at xx:54.");
dialog.Option("Okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Champions DukePrize
case 3693:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to claim Duke Prize? Yeah!!");
dialog.Option("Duke prize.", 1);
dialog.Option("i Want Face Princes.", 2);
dialog.Option("No, thanks.", 0xff);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 54 && DateTime.Now.Minute <= 59)
{
Conquer_Online_Server.Game.ConquerStructures.Daily.CheackAlive24();
if (Conquer_Online_Server.Game.ConquerStructures.Daily.howmanyinmap24 == 1)
{
client.Entity.ConquerPoints += 50000;
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " has Claimed Duke Prize 50,000 CP's in Server UnReal-Online.", System.Drawing.Color.Black, Message.Center), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 429, 378);
}
else
{
dialog.Text("Sorry, Must be (1) Alive in this map.");
dialog.Option("Okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Champion Prince you can get prize at xx:54.");
dialog.Option("Okay", 255);
dialog.Send();
break;
}
break;
}
case 2:
{
if (DateTime.Now.Minute >= 53 && DateTime.Now.Minute <= 55)
{
Conquer_Online_Server.Game.ConquerStructures.Daily.CheackAlive24();
if (Conquer_Online_Server.Game.ConquerStructures.Daily.howmanyinmap24 == 1)
{
client.Entity.Teleport(3692, 051, 051);
}
}
else
{
dialog.Text("Sorry should be (1) in Duke Map.or You, can face Princes at xx:54.");
dialog.Option("Okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#endregion
#region Champions PKWAR
if ((Now64.Minute == 50) && (Now64.Second == 01))
{
if ((Now64.Minute == 50) && (Now64.Second == 01))
{
client.MessageBox("Champions PKWAR has begun! Would you like to join?",
(p) => { p.Entity.Teleport(1002, 388, 377); }, null, 60);
}
}
if ((Now64.Minute == 00) && (Now64.Second == 00))
{
if (client.Map.ID == 3691)
{
client.Entity.Teleport(1002, 400, 400);
}
}
if ((Now64.Minute == 50) && (Now64.Second == 00))
{
if (client.Map.ID == 2525)
{
client.Entity.Teleport(1002, 388, 377);
}
}
if ((Now64.Minute == 20) && (Now64.Second == 00))
{
if (client.Map.ID == 2626)
{
client.Entity.Teleport(1002, 448, 363);
}
}
if ((Now64.Minute == 00) && (Now64.Second == 00))
{
if (client.Map.ID == 3692)
{
client.Entity.Teleport(1002, 400, 400);
}
}
if ((Now64.Minute == 00) && (Now64.Second == 00))
{
if (client.Map.ID == 3693)
{
client.Entity.Teleport(1002, 400, 400);
}
}
#endregion
else if (client.Entity.MapID == 7777)
else if (client.Entity.MapID == 3691)
{
client.Entity.Teleport(3692, 051, 051);
}
else if (client.Entity.MapID == 3692)
{
client.Entity.Teleport(3693, 051, 051);
}
3692 0 0 ChampionsPrince 2 1990 -1 3692 50 50 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3691 0 0 ChampionsKing 2 1990 -1 3691 50 50 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3693 0 0 ChampionsDuck 2 1990 -1 3693 50 50 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
54230 0 0 CritiCanPkIn 2 5547 -1 1002 386 377 4017200 0 0 0 0 0 0 0 0 0 0 0 None 0 0 0 0 0 0
3691 1013 65544 7
3692 700 65544 7
3693 1004 65544 7
public static readonly System.Collections.Generic.List<ushort> PKFreeMaps = new System.Collections.Generic.List<ushort>()
3691,
3692,
3693,
public static void LoginMessages(Client.GameClient client)
if (client.Entity.MapID == 3691 || client.Entity.MapID == 3693 || client.Entity.MapID == 3692) client.Entity.Teleport(1002, 429, 378);
public static int howmanyinmap = 0;
public static int howmanyinmap22 = 0;
public static int howmanyinmap23 = 0;
public static int howmanyinmap24 = 0;
public static void CheackAlive()
public static void CheackAlive22()
{
howmanyinmap22 = 0;
foreach (Client.GameClient client in Program.GamePool)
{
if (client.Entity.MapID == 3691 && client.Entity.Hitpoints >= 1)
{
howmanyinmap22 += 1;
Conquer_Online_Server.Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Players Alive in Champions King of Kings Now: " + howmanyinmap22 + " ", System.Drawing.Color.Black, Conquer_Online_Server.Network.GamePackets.Message.FirstRightCorner), Program.GamePool);
}
}
}
public static void CheackAlive24()
{
howmanyinmap24 = 0;
foreach (Client.GameClient client in Program.GamePool)
{
if (client.Entity.MapID == 3693 && client.Entity.Hitpoints >= 1)
{
howmanyinmap24 += 1;
Conquer_Online_Server.Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Players Alive in Champions Duke Now: " + howmanyinmap24 + " ", System.Drawing.Color.Black, Conquer_Online_Server.Network.GamePackets.Message.FirstRightCorner), Program.GamePool);
}
}
}
public static void CheackAlive23()
{
howmanyinmap23 = 0;
foreach (Client.GameClient client in Program.GamePool)
{
if (client.Entity.MapID == 3692 && client.Entity.Hitpoints >= 1)
{
howmanyinmap23 += 1;
Conquer_Online_Server.Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Players Alive in Champions Prince Now: " + howmanyinmap23 + " ", System.Drawing.Color.Black, Conquer_Online_Server.Network.GamePackets.Message.FirstRightCorner), Program.GamePool);
}
}
}
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
شرح تركيب صفحه aspx بطريقه نظيفه | ابو حمزه9 | صفحات التسجيل كونكر اونلاين | 36 | 2024-10-30 01:17 AM |
صفحه تسجيل جديده بشكل جديده في Script Hashish | ahmedBayoumi12 | صفحات التسجيل كونكر اونلاين | 44 | 2024-04-30 02:27 AM |
طريقة عمل الفوت في سيرفيرك بطريقه جديده | محمد ياسر | تطوير سيرفرات كونكر | 15 | 2024-03-31 08:03 PM |
سيستم كوستة وحوش يوميه كوستت Code Winner | M.H.B[X-Coder]X | تطوير سيرفرات كونكر | 29 | 2024-03-23 12:34 AM |
جعل التبرع في الدونشين بcps فقط | Tefa | تطوير سيرفرات كونكر | 1 | 2019-08-27 08:27 PM |