|
المشاركات 1,941 |
+التقييم 0.96 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
#region Mars-war Event By ||Mr.omany||
case 141189:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialogs.Text("Hello hero [" + client.Entity.Name + "] Iam Mars Quest I Will Get YOU Anther Place To Dobet Are You Hero King Or No ");
dialogs.Option("Join Hero King Map", 1);
dialogs.Option("Iam Nop", 255);
dialogs.Send();
break;
}
case 1:
{
if (client.Entity.NobilityRank == Game.ConquerStructures.NobilityRank.King)
{
client.Entity.Teleport(141196, 50, 50);
client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have joined TopKings Map Just Wait Untile it Start ."));
}
else
{
client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not In Nobiles Rank only can Join (Kings)"));
}
break;
}
}
break;
}
#endregion Mars-war
#region Mars-War Prize By ||Mr.omany||
case 141196:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialogs.Text("Hello hero [" + client.Entity.Name + "] Are you Still Alive you need your prize yah you can take it after event finish");
dialogs.Text("Note: Kings Quest By Omany frist Role");
dialogs.Option("Claim Cup ||1||", 1);
dialogs.Option("Blah, boring.", 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 == 141196 && (!players.Entity.Dead))
alive++;
if (alive == 1)
{
client.Entity.Teleport(1002, 437, 450);
client.Inventory.Add(199984, 0, 1);
client.Send(new Network.GamePackets.NpcReply(6, "Congratulation You HAve Cup Of frist Role"));
}
else
{
client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is " + alive.ToString() + " Players Alive"));
}
break;
}
}
break;
}
#endregion Mars-War Prize By ||Mr.omany||
#region Mars-War Prize By ||Mr.omany||
case 141195:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialogs.Text("Hello hero [" + client.Entity.Name + "] Are you Still Alive you need your prize yah you can take it after event finish");
dialogs.Text("Note: Kings Quest By Omany Sconde Role");
dialogs.Option("I have finshed Claim Cup ||2||", 1);
dialogs.Option("Blah, boring.", 255);
dialogs.Send();
break;
}
case 1:
{
if (((client.Inventory.Contains(199855, 10))))
{
client.Inventory.Remove(199985, (byte)1);
client.Inventory.Remove(199985, (byte)1);
client.Inventory.Remove(199985, (byte)1);
client.Inventory.Remove(199985, (byte)1);
client.Inventory.Remove(199985, (byte)1);
client.Inventory.Remove(199985, (byte)1);
client.Inventory.Remove(199985, (byte)1);
client.Inventory.Remove(199985, (byte)1);
client.Inventory.Remove(199985, (byte)1);
client.Inventory.Remove(199985, (byte)1);
client.Inventory.Remove(199984, (byte)1);
client.Inventory.Remove(199984, (byte)1);
client.Entity.Quest++;
client.Entity.Teleport(141194, 50, 50);
client.Inventory.Add(199984, 0, 1);
client.Send(new Network.GamePackets.NpcReply(6, "Congratulation You HAve Cup Of Sconde Role"));
}
else
{
client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is Players Alive"));
}
break;
}
}
break;
}
#endregion Mars-War Prize By ||Mr.omany||
#region Mars-War Prize By ||Mr.omany||
case 141194:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialogs.Text("Hello hero [" + client.Entity.Name + "] Are you Still Alive you need your prize yah you can take it after event finish");
dialogs.Text("Note: Kings Quest By Omany Thired Role");
dialogs.Option("I have finshed Claim Cup ||3||", 1);
dialogs.Option("Blah, boring.", 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 == 141194 && (!players.Entity.Dead))
alive++;
if (alive == 1)
{
client.Entity.Teleport(141193, 50, 50);
client.Inventory.Add(199984, 0, 1);
client.Send(new Network.GamePackets.NpcReply(6, "Congratulation You HAve Cup Of Thired Role"));
}
else
{
client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is Players Alive"));
}
break;
}
}
break;
}
#endregion Mars-War Prize By ||Mr.omany||
#region Mars-War Prize By ||Mr.omany||
case 141193:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialogs.Text("Hello hero [" + client.Entity.Name + "] Are you event finish");
dialogs.Text("Note: Kings Prizes is [5 Milion Cps]");
dialogs.Option("Claim Prize ", 1);
dialogs.Option("Blah, boring.", 255);
dialogs.Send();
break;
}
case 1:
{
if (((client.Inventory.Contains(199854, 1))))
{
client.Inventory.Remove(199854, (byte)1);
client.Entity.Quest++;
client.Entity.Teleport(1002, 427, 387);
client.Entity.ConquerPoints += 5000000;
client.Send(new Network.GamePackets.NpcReply(6, "Gratz You have got [5 Milion Cps] halo gooood Luck ."));
}
else
{
client.Send(new Network.GamePackets.NpcReply(6, "Sorry Bro You Are not alone there is " + alive.ToString() + " Players Alive"));
}
break;
}
}
break;
}
#endregion Mars-War Prize By ||Mr.omany||
#region Gomz Quest By ||Mr.omany||
if (Name == "Pheasant")
{
byte times = (byte)ServerBase.Kernel.Random.Next(1, 3);
byte ref_times = (byte)ServerBase.Kernel.Random.Next(1, 6);
for (byte i = 0; i < times; i++)
{
uint Uid = 0;
byte type = (byte)ServerBase.Kernel.Random.Next(1, 21);
switch (type)
{
case 1: Uid = 199985; break;
}
if (Uid != 0)
{
ushort X = Owner.X, Y = Owner.Y;
Game.Map Map = ServerBase.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)ServerBase.Kernel.Random.Next(4, 8);
floorItem.Item.ID = Uid;
floorItem.Item.MaximDurability = floorItem.Item.Durability = 65535;
floorItem.Item.UID = Network.GamePackets.ConquerItem.ItemUID.Next;
floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item;
floorItem.ItemID = Uid;
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);
}
}
}
}
#endregion
199854@@Mars-War-By-Omany-Cup@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@20000@@200110@@0@@0@@0@@0@@0@@0@@0@@100@@100@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@5@@0@@0@@0@@
199985@@Gomz@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@20000@@200110@@0@@0@@0@@0@@0@@0@@0@@100@@100@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@5@@0@@0@@0@@
[Item199985]
FrameAmount=1
Frame0=data/ItemMinIcon/720030.dds
[Item199984]
FrameAmount=1
Frame0=data/ItemMinIcon/2100075.dds
[199985]
FrameAmount=1
Frame0=data/MapItemIcon/720030.dds
[199984]
FrameAmount=1
Frame0=data/MapItemIcon/2000075.dds
141196 2060 7 0
141195 2060 7 0
141194 2060 7 0
141193 2060 7 0
2280 141196 277 446 20 60 10 10 3 3144 0 0 0 0
2290 141196 277 446 20 60 10 10 3 3144 0 0 0 0
2281 141196 277 446 20 60 10 10 3 3144 0 0 0 0
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
مشكلة مهمه في تركيب السورس | Royal-Co | مشكلات السيرفيرات كونكر الشخصيه | 9 | 2020-05-09 11:18 PM |
مشكله مهمه ف سورس مستر باندا ياريت الحل | zorom | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-04-17 07:55 AM |
عايز اضيف شفره مهمه في السورس علشان موجوده | Tyranny-Team's | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2020-03-28 01:13 PM |
مشكله مهمه في سورس رايزو | neno2052 | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2019-09-06 06:30 PM |
حاجه مهمه بخصوص Revive لو سمحتو | uncelsam | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2019-07-12 01:04 AM |