|
المشاركات 1,993 |
+التقييم 1.01 |
تاريخ التسجيل Jun 2019 |
الاقامة |
نظام التشغيل ويندوز 0 |
رقم العضوية 279 |
#region ElitePK Tournament
if (Now64.Hour == ElitePK.EventTime && Now64.Minute >= 55 && !ElitePKTournament.TimersRegistered)
{
ElitePKTournament.RegisterTimers();
MsgPKEliteMatchInfo brackets = new MsgPKEliteMatchInfo(true, 0);
brackets.Type = MsgPKEliteMatchInfo.EPK_State;
brackets.OnGoing = true;
foreach (Client.GameState clients in Kernel.GamePool.Values)
{
clients.Player.ClaimedElitePk = false;
}
Player.name = new object[] { "ElitePK Tournament Has Start To SignUp Go To ElitePKEnvoy in TwinCity!?" };
Kernel.SendWorldMessage(new MsgTalk(string.Concat(Player.name), "ALLUSERS", "[ElitePK Tournament]", Color.Red, 2500), Server.GamePool);
foreach (var client in Server.GamePool)
{
if (!client.InQualifier() && client.Map.BaseID != 6001 && client.Map.BaseID != 6000 && !client.Player.Dead)
{
MsgInviteTrans alert = new MsgInviteTrans
{
InviteID = 10533,
Countdown = 60,
Action = 1
};
client.Player.InviteID = 10533;
client.Send(alert.ToArray());
}
#region RemoveTopElite
var EliteChampion = MsgTitle.Titles.ElitePKChamption_High;
var EliteSecond = MsgTitle.Titles.ElitePK2ndPlace_High;
var EliteThird = MsgTitle.Titles.ElitePK3ndPlace_High;
var EliteEightChampion = MsgTitle.Titles.ElitePKChamption_Low;
var EliteEightSecond = MsgTitle.Titles.ElitePK2ndPlace_Low;
var EliteEightThird = MsgTitle.Titles.ElitePK3ndPlace_Low;
var EliteEight = MsgTitle.Titles.ElitePKTopEight_Low;
client.Player.RemoveTopStatus((ulong)Network.GamePackets.MsgTitle.Titles.ElitePKChamption_High);
client.Player.RemoveTopStatus((ulong)Network.GamePackets.MsgTitle.Titles.ElitePKChamption_Low);
client.Player.RemoveTopStatus((ulong)Network.GamePackets.MsgTitle.Titles.ElitePK2ndPlace_High);
client.Player.RemoveTopStatus((ulong)Network.GamePackets.MsgTitle.Titles.ElitePK2ndPlace_Low);
client.Player.RemoveTopStatus((ulong)Network.GamePackets.MsgTitle.Titles.ElitePK3ndPlace_High);
client.Player.RemoveTopStatus((ulong)Network.GamePackets.MsgTitle.Titles.ElitePK3ndPlace_Low);
client.Player.RemoveTopStatus((ulong)Network.GamePackets.MsgTitle.Titles.ElitePKTopEight_High);
client.Player.RemoveTopStatus((ulong)Network.GamePackets.MsgTitle.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 && ElitePKTournament.TimersRegistered)
{
bool done = true;
foreach (var epk in ElitePKTournament.Tournaments)
if (epk.Players.Count != 0)
done = false;
if (done)
{
ElitePKTournament.TimersRegistered = false;
MsgPKEliteMatchInfo brackets = new MsgPKEliteMatchInfo(true, 0);
brackets.Type = MsgPKEliteMatchInfo.EPK_State;
brackets.OnGoing = false;
foreach (var client in Server.GamePool)
client.Send(brackets);
}
}
#endregion
#region TeamPk Tournament
if (Now64.DayOfWeek == DayOfWeek.Saturday && Now64.Hour == 18 && Now64.Minute == 55 && Now64.Second <= 0)
{
TeamElitePk.TeamTournament.Open();
foreach (Client.GameState clients in Kernel.GamePool.Values)
{
clients.Player.ClaimedTeamPK = false;
}
Player.name = new object[] { "TeamPk Tournament has started to signup go to TC TeamPkManager in TwinCity!" };
Kernel.SendWorldMessage(new MsgTalk(string.Concat(Player.name), "ALLUSERS", "[TeamPk Tournament]", Color.Red, 2500), Server.GamePool);
foreach (var client in Server.GamePool)
{
if (!client.InQualifier() && client.Map.BaseID != 6001 && client.Map.BaseID != 6000 && !client.Player.Dead)
{
MsgInviteTrans alert = new MsgInviteTrans
{
InviteID = 10543,
Countdown = 60,
Action = 1
};
client.Player.InviteID = 10543;
client.Send(alert.ToArray());
}
}
}
#endregion
#region SkillTeamPk Tournament
if (Now64.DayOfWeek == DayOfWeek.Wednesday && Now64.Hour == 19 && Now64.Minute == 45 && Now64.Second <= 0)
{
TeamElitePk.SkillTeamTournament.Open();
foreach (Client.GameState clients in Kernel.GamePool.Values)
{
clients.Player.ClaimedSTeamPK = false;
}
Player.name = new object[] { "SkillTeamPk Tournament has started to signup go to TC SkillTeamPkManager in TwinCity!" };
Kernel.SendWorldMessage(new MsgTalk(string.Concat(Player.name), "ALLUSERS", "[SkillTeamPk Tournament]", Color.Red, 2500), Server.GamePool);
foreach (var client in Server.GamePool)
{
if (!client.InQualifier() && client.Map.BaseID != 6001 && client.Map.BaseID != 6000 && !client.Player.Dead)
{
MsgInviteTrans alert = new MsgInviteTrans
{
InviteID = 10541,
Countdown = 60,
Action = 1
};
client.Player.InviteID = 10541;
client.Send(alert.ToArray());
}
}
}
#endregion
#region Stuff[P7]
case 195291:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey There " + client.Entity.Name + " Would you like to take Full Stuff");
dialog.Option("Stuff Bruce_LeeP7", 1);
dialog.Option("Stuff NinjaP7", 3);
dialog.Option("Stuff MonkP7", 4);
dialog.Option("Stuff TaoistP7", 5);
dialog.Option("Stuff TrojanP7", 6);
dialog.Option("Stuff PirateP7", 7);
dialog.Option("Stuff WarriorP7", 8);
dialog.Option("Stuff ArcherP7", 9);
dialog.Option("Stuff WindWalkerP7", 11);
dialog.Option("Fan-Tower-Wing-Crop-Steed", 10);
dialog.Option("ThunderStrikerP7", 12);
dialog.Send();
break;
}
#region Steed > tower > fan > wing > Crop
case 10:
{
uint itemid1 = 300000;//Steed
uint itemid2 = 202009;//Tower
uint itemid3 = 201009;//Fan
uint itemid4 = 204009;//Wing
uint itemid5 = 203009;//Crop
ConquerItem item1 = new ConquerItem(true);
item1.ID = itemid1;
item1.Color = Game.Enums.Color.White;
item1.Plus = 12;
item1.Durability = item1.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid1].Durability;
client.Inventory.Add(item1, Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item2 = new ConquerItem(true);
item2.ID = itemid2;
item2.Color = Game.Enums.Color.White;
item2.Plus = 12;
item2.Bless = 1;
item2.SocketOne = Game.Enums.Gem.SuperGloryGem;
item2.SocketTwo = Game.Enums.Gem.SuperGloryGem;
item2.Durability = item2.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid2].Durability;
client.Inventory.Add(item2, Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item3 = new ConquerItem(true);
item3.ID = itemid3;
item3.Color = Game.Enums.Color.White;
item3.Plus = 12;
item3.Bless = 1;
item3.SocketOne = Game.Enums.Gem.SuperThunderGem;
item3.SocketTwo = Game.Enums.Gem.SuperThunderGem;
item3.Durability = item3.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item4 = new ConquerItem(true);
item4.ID = itemid4;
item4.Color = Game.Enums.Color.White;
item4.Plus = 12;
item4.Bless = 1;
item4.SocketOne = Game.Enums.Gem.SuperThunderGem;
item4.SocketTwo = Game.Enums.Gem.SuperGloryGem;
item4.Durability = item4.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item5 = new ConquerItem(true);
item5.ID = itemid5;
item5.Color = Game.Enums.Color.White;
item5.Plus = 12;
item5.Bless = 1;
item5.Durability = item5.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, Game.Enums.ItemUse.CreateAndAdd);
break;
}
#endregion
case 12: //ThunderStriker
{
client.Inventory.Add(201009, 12, 1, 103, 103, 1);//Fan
client.Inventory.Add(203009, 12, 1, 0, 0, 1);//Crop//Code :
client.Inventory.Add(204009, 12, 1, 103, 123, 1);//Wing//Code :
client.Inventory.AddSoul(681439, 800111, 6, 12, 12, 1, true, false);//Code
client.Inventory.AddSoul(680439, 800111, 6, 12, 12, 1, true, false);//Code
client.Inventory.AddSoul(102200, 822071, 6, 12, 12, 1, true, false);//Armor
client.Inventory.AddSoul(146309, 820073, 6, 12, 12, 1, true, false);//Cap
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 4, 12, 12, 1, true, false);//Boot
break;
}
case 11://windwalker
{
//client.Entity.ConquerPoints -= 1;
client.Inventory.AddSoul(626439, 801308, 6, 12, 12, 1, true, false);//DragonFan
client.Inventory.AddSoul(626439, 801308, 6, 12, 12, 1, true, false);//DragonFan
client.Inventory.AddSoul(101309, 822071, 6, 12, 12, 1, true, false);//Armor
client.Inventory.AddSoul(170309, 820073, 6, 12, 12, 1, true, false);//Hat
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
break;
}
case 1://Bruce_Lee
{
//client.Entity.ConquerPoints -= 1;
client.Inventory.AddSoul(617439, 801004, 6, 12, 12, 1, true, false);//SkyNunchaku
client.Inventory.AddSoul(617439, 801004, 6, 12, 12, 1, true, false);//SkyNunchaku
client.Inventory.AddSoul(138309, 822071, 6, 12, 12, 1, true, false);//Bruce_LeeArmor
client.Inventory.AddSoul(148309, 820073, 6, 12, 12, 1, true, false);//Bruce_LeeHood
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
// client.Entity.Teleport(1002, 410, 354);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 3://ninja
{
// client.Entity.ConquerPoints -= 1;
client.Inventory.AddSoul(511439, 800255, 6, 12, 12, 1, true, false);//Scythe
client.Inventory.AddSoul(511439, 800255, 6, 12, 12, 1, true, false);//Scythe
client.Inventory.AddSoul(616439, 800111, 6, 12, 12, 1, true, false);//Katana
client.Inventory.AddSoul(616439, 800111, 6, 12, 12, 1, true, false);//Katana
client.Inventory.AddSoul(601439, 800111, 6, 12, 12, 1, true, false);//Katana
client.Inventory.AddSoul(601439, 800111, 6, 12, 12, 1, true, false);//Katana
client.Inventory.AddSoul(601439, 800142, 6, 12, 12, 1, true, false);//Katana
client.Inventory.AddSoul(601439, 800142, 6, 12, 12, 1, true, false);//Katana
client.Inventory.AddSoul(135309, 822071, 6, 12, 12, 1, true, false);//ArmorNinja
client.Inventory.AddSoul(123309, 820073, 6, 12, 12, 1, true, false);//NinjaHood
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
// client.Entity.Teleport(1002, 410, 354);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 4://Monk
{
// client.Entity.ConquerPoints -= 1;
client.Inventory.AddSoul(622439, 800725, 6, 12, 12, 1, true, false);//Beads
client.Inventory.AddSoul(622439, 800725, 6, 12, 12, 1, true, false);//Beads
client.Inventory.AddSoul(610439, 800725, 6, 12, 12, 1, true, false);//Beads
client.Inventory.AddSoul(610439, 800725, 6, 12, 12, 1, true, false);//Beads
client.Inventory.AddSoul(136309, 822071, 6, 12, 12, 1, true, false);//ArmorMonk
client.Inventory.AddSoul(143309, 820073, 6, 12, 12, 1, true, false);//CapMonk
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
// client.Entity.Teleport(1002, 410, 354);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 5://Fire And Water
{
// client.Entity.ConquerPoints -= 1;
client.Inventory.AddSoul(421439, 800522, 6, 12, 12, 1, true, false);//BackSword
client.Inventory.AddSoul(620439, 800522, 6, 12, 12, 1, true, false);//ImperialBacksword
client.Inventory.AddSoul(619439, 801104, 6, 12, 12, 1, true, false);
client.Inventory.AddSoul(134309, 822071, 6, 12, 12, 1, true, false);//ArmorFire
client.Inventory.AddSoul(114309, 820076, 6, 12, 12, 1, true, false);//CapFire
client.Inventory.AddSoul(152279, 823060, 6, 12, 12, 1, true, false);//Bracelet
client.Inventory.AddSoul(121269, 821034, 6, 12, 12, 1, true, false);//Bag
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
//client.Entity.Teleport(1002, 410, 354);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 6://Trojan
{
// client.Entity.ConquerPoints -= 1;
client.Inventory.AddSoul(480439, 800111, 6, 12, 12, 1, true, false);//Clup
client.Inventory.AddSoul(614429, 800111, 6, 12, 12, 1, true, false);//ShadowCrossSaber
client.Inventory.AddSoul(614429, 800111, 6, 12, 12, 1, true, false);//ShadowCrossSaber
client.Inventory.AddSoul(410439, 800111, 6, 12, 12, 1, true, false);//Blade
client.Inventory.AddSoul(420439, 800111, 6, 12, 12, 1, true, false);//Sword
client.Inventory.AddSoul(130309, 822071, 6, 12, 12, 1, true, false);//ArmorTrojan
client.Inventory.AddSoul(118309, 820073, 6, 12, 12, 1, true, false);//CapTrojan
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
//client.Entity.Teleport(1002, 410, 354);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 7://Pirate
{
// client.Entity.ConquerPoints -= 1;
client.Inventory.AddSoul(671439, 800811, 6, 12, 12, 1, true, false);//EpicRapier
client.Inventory.AddSoul(670439, 800810, 6, 12, 12, 1, true, false);//EpicPistol
client.Inventory.AddSoul(611439, 800811, 6, 12, 12, 1, true, false);//Rapier
client.Inventory.AddSoul(612439, 800810, 6, 12, 12, 1, true, false);//Pistol
client.Inventory.AddSoul(139309, 822071, 6, 12, 12, 1, true, false);//ArmorPirate
client.Inventory.AddSoul(144309, 820073, 6, 12, 12, 1, true, false);//CapPirate
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
// client.Entity.Teleport(1002, 410, 354);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 8://Warrior
{
// client.Entity.ConquerPoints -= 1;
client.Inventory.AddSoul(560439, 800215, 6, 12, 12, 1, true, false);//Spear
client.Inventory.AddSoul(900309, 800422, 6, 12, 12, 1, true, false);//Shield
client.Inventory.AddSoul(624439, 801216, 6, 12, 12, 1, true, false);//Fist Strick
client.Inventory.AddSoul(624439, 801216, 6, 12, 12, 1, true, false);//Fist Strick
client.Inventory.AddSoul(131309, 822071, 6, 12, 12, 1, true, false);//ArmorWarrior
client.Inventory.AddSoul(111309, 820073, 6, 12, 12, 1, true, false);//CapWarrior
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
// client.Entity.Teleport(1002, 410, 354);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 9://Archer
{
// client.Entity.ConquerPoints -= 1;
client.Inventory.AddSoul(613429, 800917, 6, 12, 12, 1, true, false);//Knife
client.Inventory.AddSoul(613429, 800917, 6, 12, 12, 1, true, false);//Knife
client.Inventory.AddSoul(500429, 800618, 6, 12, 12, 1, true, false);//Bow
client.Inventory.AddSoul(133309, 822071, 6, 12, 12, 1, true, false);//ArmorArcher
client.Inventory.AddSoul(113309, 820073, 6, 12, 12, 1, true, false);//CapArcher
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
//client.Entity.Teleport(1002, 410, 354);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
}
break;
}
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
التيم الاسكل الاليت الي عندو مشاكل فيهم يخوش هنااا | ElSaher | تطوير سيرفرات كونكر | 15 | 2023-06-29 09:19 PM |
ابجريد التيم بك + الاسكل تيم | Hassan Emprator | تطوير سيرفرات كونكر | 6 | 2022-04-06 08:54 PM |
مشكلة في توبات التيم الاسكل الاليت | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 5 | 2020-04-20 10:04 PM |
مشكلة مواعدي التيم الاسك الالين | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-01-26 05:28 AM |
مشكلة في الاسكل و التيم بكي | manshestar | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-08-05 11:02 AM |