|
المشاركات 454 |
+التقييم 0.23 |
تاريخ التسجيل Jun 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 271 |
public byte GetJiangLevelValue(
byte num = (byte)Kernel.Rand.Next(1, 5);
#region TreasureBox
if ((Now64.Hour == 1) || (Now64.Hour == 15))
{
Kernel.SendWorldMessage(new Message("The Lost Cps city began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("The Lost Cps city began! Would you like to join?",
p => { p.Entity.Teleport(1002, 297, 268); }, null, 20);
}
if ((Now64.Hour == 2) || (Now64.Hour == 16))
{
foreach (var client in Program.GamePool)
if (client.Entity.MapID == 3829)
client.Entity.Teleport(1002, 300, 278);
Kernel.SendWorldMessage(new Message("The Lost Cps city has ended!", Color.Red, Message.Center));
}
#endregion
case 25371:
{
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 ((Now64.Hour == 2) || (Now64.Hour == 16))
{
client.Entity.Teleport(3829, 50, 70);
}
else
{
dialog.Text("Sorry it is not the time for the event!");
dialog.Option("okay", 255);
dialog.Avatar(7);
dialog.Send();
break;
}
}
}
break;
}
if (Name == "asm el w7s" && killer.MapID == 3829)
{
if (Kernel.Rate(80, 100))
{
uint ItemID ;
Random R = new Random();
int Nr = R.Next(1, 3);
[COLOR="red"]
if (Nr == 1) ItemID = 3003340;
if (Nr == 2) ItemID = 3003340;
if (Nr == 3) ItemID = 3003340;
[/COLOR]
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 = (KhaledMohamed.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);
}
killer.Owner.Send(new Network.GamePackets.Message("Wow ! You Killed the " + Name + " and Dropped cps pack ! Keep Going !", System.Drawing.Color.Blue, 2005));
return;
}
}
case 729304:
{
if (client.Inventory.Contains(729304, 1))
{
uint cps = 500;
client.Entity.ConquerPoints += cps;
client.Send(new Message("You received " + cps + " Cps from opening packet!", Color.Red, Message.System));
client.Inventory.Remove(item.ID, 1);
}
else
{
client.MessageBox("Sorry u do not have the packet");
}
break;
}
byte[] messaje = new Network.GamePackets.Message(" " + client.Player.Name + " From Guild " + client.Guild.Name + " has won war", System.Drawing.Color.Red, 2402).ToArray();
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Player.Name + " Team Has Won Last Team Standing and all Team Member Got 430 ConquerPoint And 15 Points For (InnerPower)", System.Drawing.Color.Red, 2402), Program.Values);
Mr_Panda.Kernel.SendWorldMessage(new Mr_Panda.Network.GamePackets.Message(" Congratulations " + killer.Name + " Has Killed " + Name + " and Get 250.000 ConquerPoints And [5] SvageBone And Token Epic Jiang [1 Stage] And 1.500.000.000 Money ", System.Drawing.Color.Yellow, 2402));
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
سيرفر كامل الانيما ثندر الابيك و كل حاجه Dragonwar | محمودمحمدسالم | اعلانات السيرفيرات الشخصية | 5 | 2020-04-17 11:21 PM |
انا قصدي علي رساله الكروس سيرفر [cs] بتاعت حرب الكروس الي بتظهر في نص الشاشه | uncelsam | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2019-11-02 04:04 AM |
بخصوص رساله الكروس سيرفر [cs] | uncelsam | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-10-26 09:36 PM |
حاجه بخصوص الرساله بتاعت الكروس سيرفر | uncelsam | مشكلات السيرفيرات كونكر الشخصيه | 5 | 2019-07-10 01:28 PM |
حاجه بخصوص npc | uncelsam | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2019-07-06 04:24 PM |