|
المشاركات 1,941 |
+التقييم 0.96 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
#region Candle Event
case 112019:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialogs.Text("Hey there " + client.Entity.Name + " Would you like to join the Candle PKWar if you win Gold Clup and Cps ?.");
dialogs.Option("Yes Please", 1);
dialogs.Option("need My gold Clup", 2);
dialogs.Option("Not now.", 255);
dialogs.Send();
break;
}
case 1:
{
if (DateTime.Now.Hour >= 19 && DateTime.Now.Minute >= 10 && DateTime.Now.Minute <= 15)
{
client.Entity.Teleport(1620, 50, 50);
}
else
{
dialogs.Text("Candle Pk War is held during 07:10 To 07:15 in every Day");
dialogs.Option("I don't care.", 255);
dialogs.Send();
break;
}
break;
}
case 2:
{
if (client.Inventory.Contains(723470, 10))
{
client.Inventory.Remove(723470, 10);
client.Inventory.Add(2100095, 0, 1);
Kernel.SendWorldMessage(new Message(string.Concat(new object[] { "Congratulations! ", client.Entity.Name, " Has replaced the 10 candles to goldclup This gift of Candle War!." }), System.Drawing.Color.White, 0x7db), Kernel.GamePool.Values);
}
else
{
dialogs.Text("Sory you dont have 10 candles [ Candle.TK ].");
dialogs.Option("Thix Candle!", 0xff);
dialogs.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner Candle Event
case 112020:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialogs.Text("Hey there " + client.Entity.Name + "Would you like to claim your Prize ( Egy Qahr )?.");
dialogs.Option("Yes Please thinx Candle", 1);
dialogs.Option("I don't care.", 255);
dialogs.Send();
break;
}
case 1:
{
int alive = 0;
foreach (Conquer_Online_Server.Client.GameState players in Conquer_Online_Server.ServerBase.Kernel.GamePool.Values)
if (players.Entity.MapID == 1620 && (!players.Entity.Dead))
alive++;
if (DateTime.Now.Hour >= 19 && DateTime.Now.Minute >= 20 && DateTime.Now.Minute <= 25)
{
if (alive == 1)
{
client.Inventory.Add(723470, 0, 1);
client.Entity.ConquerPoints += 100000;
Conquer_Online_Server.ServerBase.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " claimed (( 100,000 )) for winning the Candle and 1/10 gold clup Pk for this Hour.", System.Drawing.Color.Black, Message.Talk), Conquer_Online_Server.ServerBase.Kernel.GamePool.Values);
client.Entity.Teleport(1002, 429, 378);
EntityTable.SaveEntity(client);
}
else
{
dialogs.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialogs.Option("okay", 255);
dialogs.Send();
break;
}
}
else
{
dialogs.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after 07:20 To 07:25 ");
dialogs.Option("ok I Sorry [Lego]", 255);
dialogs.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Kandek Quest
if (Now64.Hour == 19)
{
Kernel.SendWorldMessage(new Message("Kandel Quest start now !", Color.White, Message.BroadcastMessage), Program.Values);
foreach (var client in Program.Values)
client.MessageBox(" Kandel Quest now work?",
p => { p.Entity.Teleport(1002, 450, 383); }, null, 20);
}
#endregion
INSERT INTO `maps` VALUES ('1620', '1730', '0007', '0000');
INSERT INTO `npcs` VALUES ('112019', '0', '0', 'Canlde', '0002', '4610', '-1', '1002', '0450', '0383', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0', '0', '0', '0', '', '0000', '00', '00', '0000', '00', null);
INSERT INTO `npcs` VALUES ('112020', '0', '0', 'Candle Win', '0002', '4610', '-1', '1620', '0053', '0058', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0', '0', '0', '0', '', '0000', '00', '00', '0000', '00', null);
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
كويست cloudsaintjar زى كونكر | محمد ياسر | تطوير سيرفرات كونكر | 3 | 2024-02-21 11:47 PM |
طلب كويست | Mostafa Shalby | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-11-03 12:43 PM |
كويست Letters | Hassan Emprator | تطوير سيرفرات كونكر | 1 | 2019-07-08 08:12 AM |
كويست علاء الدين | محمد ياسر | تطوير سيرفرات كونكر | 1 | 2019-05-12 08:40 PM |
كويست UniqueKiller كامله | محمد ياسر | تطوير سيرفرات كونكر | 0 | 2019-04-30 05:26 PM |