|
المشاركات 1,372 |
+التقييم 0.67 |
تاريخ التسجيل Apr 2019 |
الاقامة شرقيه/زقازيق |
نظام التشغيل |
رقم العضوية 30 |
public void Drop(Game.Entity killer)
#region DragonSon Quest By Hassan#
if (Name == "DragonSon1")
{
_String str = new _String(true);
str.UID = killer.UID;//longpi4_452
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("cool");
killer.Owner.SendScreen(str, true);
killer.Teleport(8886, 130, 130);
killer.Owner.Send(new NpcReply(NpcReply.MessageBox, "Gratz you now Killed The first Son of Dragon Keep going"));
foreach (Conquer_Online_Server.Client.GameState clients in Kernel.GamePool.Values)
{
if (clients.Entity.MapID == 8885)
{
clients.Entity.Teleport(8886, 130, 130);
clients.Send(new NpcReply(NpcReply.MessageBox, "You teleported to next stage"));
}
}
}
if (Name == "DragonSon2")
{
_String str = new _String(true);
str.UID = killer.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("cool");
killer.Owner.SendScreen(str, true);
killer.Teleport(8887, 130, 130);
killer.Owner.Send(new NpcReply(NpcReply.MessageBox, "Gratz you now Killed The second Son of Dragon Keep going"));
foreach (Conquer_Online_Server.Client.GameState clients in Kernel.GamePool.Values)
{
if (clients.Entity.MapID == 8886)
{
clients.Entity.Teleport(8887, 130, 130);
clients.Send(new NpcReply(NpcReply.MessageBox, "You teleported to next stage"));
}
}
}
if (Name == "DragonSon3")
{
_String str = new _String(true);
str.UID = killer.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("cool");
killer.Owner.SendScreen(str, true);
killer.Teleport(8888, 130, 130);
killer.Owner.Send(new NpcReply(NpcReply.MessageBox, "Gratz you now Killed The third Son of Dragon Keep going"));
foreach (Conquer_Online_Server.Client.GameState clients in Kernel.GamePool.Values)
{
if (clients.Entity.MapID == 8887)
{
clients.Entity.Teleport(8888, 130, 130);
clients.Send(new NpcReply(NpcReply.MessageBox, "You teleported to next stage"));
}
}
}
if (Name == "DragonSon4")
{
_String str = new _String(true);
str.UID = killer.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("cool");
killer.Owner.SendScreen(str, true);
killer.Teleport(8889, 130, 130);
killer.Owner.Send(new NpcReply(NpcReply.MessageBox, "Gratz you now Killed The forth Son of Dragon Keep going"));
foreach (Conquer_Online_Server.Client.GameState clients in Kernel.GamePool.Values)
{
if (clients.Entity.MapID == 8888)
{
clients.Entity.Teleport(8889, 130, 130);
clients.Send(new NpcReply(NpcReply.MessageBox, "You teleported to next stage"));
}
}
}
if (Name == "DragonMother" && this.Owner.MapID == 8889)
{
_String str = new _String(true);
str.UID = killer.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("cool");
killer.Owner.SendScreen(str, true);
if (killer.VIPLevel > 0)
{
killer.ConquerPoints += rates.DragonSon1;
killer.Owner.Send(new NpcReply(NpcReply.MessageBox, "Gratz you have Killed Dragons Mom and your prize " + rates.DragonSon1 + " cps coz you are VIP"));
Network.PacketHandler.WorldMessage(killer.Name + " has Killed TeratoDragon in DragonSon Quest and win " + rates.DragonSon1 + " cps coz he is VIP");
killer.Teleport(1002, 448, 338);
}
else
{
killer.ConquerPoints += rates.DragonSon2;
killer.Owner.Send(new NpcReply(NpcReply.MessageBox, "Gratz you have Killed Dragons Mom and your prize " + rates.DragonSon2 + " cps"));
Network.PacketHandler.WorldMessage(killer.Name + " has Killed TeratoDragon in DragonSon Quest and win " + rates.DragonSon2 + " cps");
killer.Teleport(1002, 448, 338);
}
foreach (Conquer_Online_Server.Client.GameState clients in Kernel.GamePool.Values)
{
if (clients.Entity.MapID == 8599)
{
clients.Entity.Teleport(1002, 448, 338);
clients.Send(new NpcReply(NpcReply.MessageBox, "Come Back next Time"));
}
}
}
#endregion DragonSon Quest
بعد ما ضيفتهم هنروح PacketHandler.cs
ونبحث عن #region NPC Dialog (2031 + 2032)
وضيف جواه الاوتو انفت دا جواه
if ((((client.Map.BaseID != 0x1771) && (client.Map.BaseID != 0x1770)) && (!client.Entity.Dead && (req.OptionID == 175))) && (client.Map.BaseID != 700))
{
client.Entity.Teleport(8885, 130, 130);
}
بعد كدا هتفح Program.cs
هندور علي #region Team Qualifier
وهنضيف فوقه دا
#region DragonSon Pk By Hassan
if (DateTime.Now.Minute == 15 && DateTime.Now.Second == 00)
{
if (DateTime.Now.Minute == 15 && DateTime.Now.Second == 00)
{
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "DragonSon Pk Tourment has Started! You Wana Join?");
npc.OptionID = 175;
client.Send(npc.ToArray());
}
}
if (DateTime.Now.Minute == 20 && DateTime.Now.Second == 00)
{
if (DateTime.Now.Minute == 20 && DateTime.Now.Second == 00)
{
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "DragonSon Pk Tourment has Finisheded! Come Next Time");
npc.OptionID = 176;
client.Send(npc.ToArray());
}
}
#endregion
8885 1018 7 0
8886 1018 7 0
8887 1018 7 0
8886 1018 7 0
8886 1018 7 0
INSERT INTO `monsterinfos` VALUES ('159871', 'DragonSon1', '0001', '0950', '1000000', '00', '50000', '45000', '19999', '0036', '0089', '0000', '0000', '0000', '0000', '0001', '0006', '0000', '1000', '0500', '0150', '3', '0003', '1000000', '0001', '0000', '0000', '255', '099', '099', '099', '099', '099', '099', '0099', '0000', '1002020', '1002020', '10361', '0000', '10000', '00', '0', '0', '0', '0', '0', '0', null, null, null, null, null, null, null);
INSERT INTO `monsterinfos` VALUES ('159872', 'DragonSon2', '0001', '0950', '1000000', '00', '50000', '45000', '19999', '0036', '0089', '0000', '0000', '0000', '0000', '0001', '0006', '0000', '1000', '0500', '0150', '3', '0003', '1000000', '0001', '0000', '0000', '255', '099', '099', '099', '099', '099', '099', '0099', '0000', '1002020', '1002020', '10361', '0000', '10000', '00', '0', '0', '0', '0', '0', '0', null, null, null, null, null, null, null);
INSERT INTO `monsterinfos` VALUES ('159873', 'DragonSon3', '0001', '0950', '1000000', '00', '50000', '45000', '19999', '0036', '0089', '0000', '0000', '0000', '0000', '0001', '0006', '0000', '1000', '0500', '0150', '3', '0003', '1000000', '0001', '0000', '0000', '255', '099', '099', '099', '099', '099', '099', '0099', '0000', '1002020', '1002020', '10361', '0000', '10000', '00', '0', '0', '0', '0', '0', '0', null, null, null, null, null, null, null);
INSERT INTO `monsterinfos` VALUES ('159874', 'DragonSon4', '0001', '0950', '1000000', '00', '50000', '45000', '19999', '0036', '0089', '0000', '0000', '0000', '0000', '0001', '0006', '0000', '1000', '0500', '0150', '3', '0003', '1000000', '0002', '0000', '0000', '255', '099', '099', '099', '099', '099', '099', '0099', '0000', '1002020', '1002020', '10361', '0000', '10000', '00', '0', '0', '0', '0', '0', '0', null, null, null, null, null, null, null);
INSERT INTO `monsterinfos` VALUES ('159875', 'DragonMother', '0001', '0959', '1000000', '00', '50000', '45000', '19999', '0036', '0089', '0000', '0000', '0000', '0000', '0001', '0006', '0000', '1000', '0500', '0150', '3', '0003', '1000000', '0002', '0000', '0000', '255', '099', '099', '099', '099', '099', '099', '0099', '0000', '1002020', '1002020', '10361', '0000', '10000', '00', '0', '0', '0', '0', '0', '0', null, null, null, null, null, null, null);
INSERT INTO `monsterinfos` VALUES ('159871', 'DragonSon1', '0001', '0950', '1000000', '00', '50000', '45000', '19999', '0036', '0089', '0000', '0000', '0000', '0000', '0001', '0006', '0000', '1000', '0500', '0150', '3', '0003', '1000000', '0001', '0000', '0000', '255', '099', '099', '099', '099', '099', '099', '0099', '0000', '1002020', '1002020', '10361', '0000', '10000', '00', '0', '0', '0', '0', '0', '0', null, null, null, null, null, null, null);
INSERT INTO `monsterinfos` VALUES ('159872', 'DragonSon2', '0001', '0950', '1000000', '00', '50000', '45000', '19999', '0036', '0089', '0000', '0000', '0000', '0000', '0001', '0006', '0000', '1000', '0500', '0150', '3', '0003', '1000000', '0001', '0000', '0000', '255', '099', '099', '099', '099', '099', '099', '0099', '0000', '1002020', '1002020', '10361', '0000', '10000', '00', '0', '0', '0', '0', '0', '0', null, null, null, null, null, null, null);
INSERT INTO `monsterinfos` VALUES ('159873', 'DragonSon3', '0001', '0950', '1000000', '00', '50000', '45000', '19999', '0036', '0089', '0000', '0000', '0000', '0000', '0001', '0006', '0000', '1000', '0500', '0150', '3', '0003', '1000000', '0001', '0000', '0000', '255', '099', '099', '099', '099', '099', '099', '0099', '0000', '1002020', '1002020', '10361', '0000', '10000', '00', '0', '0', '0', '0', '0', '0', null, null, null, null, null, null, null);
INSERT INTO `monsterinfos` VALUES ('159874', 'DragonSon4', '0001', '0950', '1000000', '00', '50000', '45000', '19999', '0036', '0089', '0000', '0000', '0000', '0000', '0001', '0006', '0000', '1000', '0500', '0150', '3', '0003', '1000000', '0002', '0000', '0000', '255', '099', '099', '099', '099', '099', '099', '0099', '0000', '1002020', '1002020', '10361', '0000', '10000', '00', '0', '0', '0', '0', '0', '0', null, null, null, null, null, null, null);
INSERT INTO `monsterinfos` VALUES ('159875', 'DragonMother', '0001', '0959', '1000000', '00', '50000', '45000', '19999', '0036', '0089', '0000', '0000', '0000', '0000', '0001', '0006', '0000', '1000', '0500', '0150', '3', '0003', '1000000', '0002', '0000', '0000', '255', '099', '099', '099', '099', '099', '099', '0099', '0000', '1002020', '1002020', '10361', '0000', '10000', '00', '0', '0', '0', '0', '0', '0', null, null, null, null, null, null, null);
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
سيستم كوستة وحوش يوميه كوستت Code Winner | M.H.B[X-Coder]X | تطوير سيرفرات كونكر | 29 | 2024-03-23 12:34 AM |
كوستة جديدة Do not die because you do not lose your cps | Mero | تطوير سيرفرات كونكر | 4 | 2023-10-30 08:32 PM |
كوستة No Die | محمد ياسر | تطوير سيرفرات كونكر | 2 | 2023-10-18 02:34 AM |
كوستة الايبك | stevenayman1 | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-03-25 02:01 PM |
كوستة SwordWar | محمد ياسر | تطوير سيرفرات كونكر | 3 | 2019-06-25 11:54 AM |