|
المشاركات 1,941 |
+التقييم 0.99 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
#region StrongTeam By [LeGoOo-TeamXor]
#region Winner of StrongTeam
case 666644:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 00 && DateTime.Now.Minute < 30)
{
Conquord.Game.ConquerStructures.DailyQuest.CheackSpouse();
if (Conquord.Game.ConquerStructures.Daily.howmanyinmap3 == 1)
{
client.Entity.ConquerPoints += 10000000;
Conquord.Kernel.SendWorldMessage(new Message("Congratulations! The Monster " + client.Team.TeamLeader + " claimed the prize 10kk Frome StrongTeam war.", System.Drawing.Color.Black, Message.Center), Program.Values);
//LeGoOo
//client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 301, 278);
}
else
{
dialog.Text("There are still " + Daily.howmanyinmap3 + " players 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 13:10");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region StrongTeam Quest
case 66655:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Do you Want To Go To StrongTeam Event !! ");
dialog.Option("Yes I want to Join.", 1);
dialog.Option("What is this?.", 2);
dialog.Option("No THX.", 255);
dialog.Send();
break;
}
case 1:
{
// if (DateTime.Now.Minute >= 40 && DateTime.Now.Minute < 45)
if (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 00 && DateTime.Now.Minute < 30)
{
if (client.Team != null && client.Team.TeamLeader)
{
if (client.Inventory.Contains(320201, 5))
{
if (client.Inventory.Contains(320202, 5))
{
client.Inventory.Remove(320201, 5);
client.Inventory.Remove(320202, 5);
client.Entity.ConquerPoints += 10000000;
client.Entity.StudyPoints += 1000;
foreach (Client.GameClient Teammate in client.Team.Teammates)
{
if (Teammate != null)
{
Random R = new Random();
int Nr = R.Next(1, 3);
if (Nr == 1) Teammate.Entity.Teleport(2255, 225, 124);
if (Nr == 2) Teammate.Entity.Teleport(2255, 225, 124);
if (Nr == 3) Teammate.Entity.Teleport(2255, 225, 124);
}
else
{
dialog.Text("Sorey You Dont Leadr Team . ");
dialog.Text("You Don't Have All Item . ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
}
}
else
{
dialog.Text("sign up to StrongTeam Event Every tuesdy in H : 7.00 to 7.30 . ");
dialog.Option("I don't care.", 255);
dialog.Send();
}
break;
}
}
}
}
case 2:
{
client.Send(new Message("https://www.facebook.com/m.m.aggag/", System.Drawing.Color.Red, Network.GamePackets.Message.Website));
break;
}
}
break;
}
#endregion
#endregion StrongTeam By [LeGoOo-TeamXor]
#region StrongTeam
if (attacker.MapID == 2255)//LeGoOo
{//TeamXor
if (attacked.UID == 516090 )
{
//if (attacker.PKMode != Enums.PKMode.Team)
// return false;
}
}
#endregion StrongTeam
#region new mobs
if (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 00 && DateTime.Now.Minute < 30)
{
Kernel.SendWorldMessage(new Network.GamePackets.Message("StrongTeam War has begun! Go to Challenge Other Players !", System.Drawing.Color.White, Network.GamePackets.Message.Center), Program.GamePool);
client.MessageBox("Monsters War has begun! Would you like to join? [Prize: 10kk CPs]",
(p) => { p.Entity.Teleport(1002, 335, 267); }, null, 60);
}
#endregion
public static void CheackAlive7()
{
howmanyinmap2 = 0;
foreach (Client.GameClient client in Program.Values)
{
if (client.Entity.MapID == 2233 && client.Entity.Hitpoints >= 1)
{
howmanyinmap2 += 1;
Conquer_Online_Server.Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Players Alive in StrongTeam War: " + howmanyinmap2 + " ", System.Drawing.Color.Black, Conquer_Online_Server.Network.GamePackets.Message.FirstRightCorner), Program.Values);
}
}
}
#region StrongTeam Event
if (Name == "Phesant")
{ //LeGoOo
uint ItemID = 0;
byte type1 = 30;
for (int i = 0; i < 12; i++)
{
type1 = (byte)Kernel.Random.Next(1, 2);
switch (type1)
{
case 1:
ItemID = 320201;
break;
case 2:
ItemID = 320202;
break;
}
var infos = Database.ConquerItemInformation.BaseInformations[ItemID];
ushort X = Owner.X, Y = Owner.Y;
Game.Map Map = Kernel.Maps[Owner.MapID];
if (Map.SelectCoordonates(ref X, ref Y))
{
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
floorItem.Item = new Network.GamePackets.ConquerItem(true);
floorItem.Item.Color = (Conquer_Online_Server.Game.Enums.Color)Kernel.Random.Next(4, 8);
floorItem.Item.ID = ItemID;
floorItem.Item.Plus = floorItem.Item.Plus;
floorItem.Item.MaximDurability = infos.Durability;
floorItem.Item.Durability = infos.Durability;
floorItem.Item.MobDropped = true;
floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item;
floorItem.ItemID = ItemID;
floorItem.MapID = Owner.MapID;
floorItem.MapObjType = Game.MapObjectType.Item;
floorItem.X = X;
floorItem.Y = Y;
floorItem.Type = Network.GamePackets.FloorItem.Drop;
floorItem.OnFloor = Time32.Now;
floorItem.ItemColor = floorItem.Item.Color;
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
while (Map.Npcs.ContainsKey(floorItem.UID))
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
Map.AddFloorItem(floorItem);
SendScreenSpawn(floorItem);
}
}
Kernel.Spawn = false;
killer.SubClasses.StudyPoints += 50;
killer.ConquerPoints += 100;
Conquer_Online_Server.Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Congratulations! " + killer.Name + " Has Killed " + Name + "and dropped A Rar Items!", Message.TopLeft));
return;
}
#endregion
2233 1844 7 0
66655 0 0 StrongTeam 2 45010 -1 1002 301 357 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
66644 0 0 StronTeamWinner 45010 -1 2255 225 124
320201@@[~~Strong~~]@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@3000@@50510@@0@@0@@0@@0@@0@@0@@0@@199@@199@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@50000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Strong~Team@@Are~You~Brave~To~Open~It~?,The~Quest~Coded~By~Mr~LeGoOo.@@5@@0@@0@@0@@14040@@500@@
320202@@[~~Team~]@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@3000@@50510@@0@@0@@0@@0@@0@@0@@0@@199@@199@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@1000@@0@@0@@0@@50000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Strong~Team@@Are~You~Brave~To~Open~It~?,The~Quest~Coded~By~Mr~LeGoOo.@@5@@0@@0@@0@@14040@@500@@
[Item320201]
FrameAmount=1
Frame0=data/ItemMinIcon/StrongTeam1.png
[Item320202]
FrameAmount=1
Frame0=data/ItemMinIcon/StrongTeam2.png
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
كوسته الارانب | محمد ياسر | تطوير سيرفرات كونكر | 1 | 2023-10-09 07:30 AM |
عاوز كوسته | احمد التركي | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-05-07 09:47 AM |
طلب كوسته | Amr Khalid | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-05-06 04:25 AM |
كوسته الكلاسات | محمد ياسر | تطوير سيرفرات كونكر | 2 | 2020-02-15 08:25 PM |
طلب كوسته | Amr Khalid | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-11-26 08:52 AM |