المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : مهمه MarsWar الجديده والمميزه


محمد ياسر
2019-06-15, 11:08 AM
––––•(-• السلام عليكم ورحمه الله وبركاته•-)•––––
•–––––––––––––––––––––––•
المهمه يا رجاله فكره فانوم تنفيزي وهي عباره عن
:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::
هتبقى اسمها .
Mars War.
دى كويسته لل ال 3 كينج اللى فى اللعبه .
هيبقي لل 3 كينج اللى فى اللعبه كل يوم خميس الساعه 4.
يدخلوا مابه هتبقى اكستريم رولز ياعنى يضربو بكل الاسكلات واللى يفضل فى الاخر يكلم الان بى سى يديلو كأس انو عدى اول مرحله ويحولو على المرحله الثانيه بردة مابه يكون فيها وحش دراجون دمو كبير الوحش بيضرب الكينج بواحد والكينج بيضرب الوحش بـ 10 وبعدين يموتو و يكلم الان بى سى يديلو كأس انو كسب المرحله الثانيه ويحولو على المرحله الثالثه . هتكون مابه فيها هيلاقى فيها ان بى سى يكلمو هيحولو لمابه ويقولو هاتلى 10 استونات منها . وبعدين هيجيب ال 10 استونات من 10 وحوش وبعدين يكلم الان بى سى ياخدهم منو و يوديه على التون ويديلو 5 مليون كبس وتوب اسمو .
Mars War.
يارب تكون الفكرة حلوة :) .
:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::
•–––––––––––––––––––––––•
بسم الله الرحــــــــــــمان الرحيم
•–––––––––––––––––––––––•
•–––––––––––––––•
|1|نفتح ملف Npcs.cs
دور علي #region
وضيف ده تمام
•–––––––––––––––•
#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


•–––––––––––––––•
|2|نفتح ملف Npcs.cs
دور علي #region
وضيف ده تمام
•–––––––––––––––•
#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.V alues)
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||

•–––––––––––––––•
|3|نفتح ملف Npcs.cs
دور علي #region
وضيف ده تمام
•–––––––––––––––•
#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||


•–––––––––––––––•
|4|نفتح ملف Npcs.cs
دور علي #region
وضيف ده تمام
•–––––––––––––––•
#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.V alues)
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||


•–––––––––––––––•
|5|نفتح ملف Npcs.cs
دور علي #region
وضيف ده تمام
•–––––––––––––––•
#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||

•–––––––––––––––•
|6|نفتح ملف Database
وبعدين MonsterInformation
دور علي #region
وضيف ده تمام
•–––––––––––––––•
#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

•–––––––––––––––•
|7|نفتح ملف الكلينت والسورس
ملف Iteam
وفي الاخر ضيف ده تمام
•–––––––––––––––•
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@@

•–––––––––––––––•
|8|نفتح ملف الكلينت ملف ani
وبعدين ملف ItemMinIcon
وفي الاخر ضيف ده تمام
•–––––––––––––––•
[Item199985]
FrameAmount=1
Frame0=data/ItemMinIcon/720030.dds

[Item199984]
FrameAmount=1
Frame0=data/ItemMinIcon/2100075.dds

•–––––––––––––––•
|9|نفتح ملف الكلينت ملف ani
وبعدين ملف
‏MapItemIcon
وفي الاخر ضيف ده تمام
•–––––––––––––––•
[199985]
FrameAmount=1
Frame0=data/MapItemIcon/720030.dds

[199984]
FrameAmount=1
Frame0=data/MapItemIcon/2000075.dds

•–––––––––––––––•
|10|نفتح النافيجات وبعدين
وملف MAP
•–––––––––––––––•
141196 2060 7 0
141195 2060 7 0
141194 2060 7 0
141193 2060 7 0

•–––––––––––––––•
|110|نفتح النافيجات وبعدين
وملف monsterspawns
•–––––––––––––––•

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

Mahmoud
2019-06-15, 12:24 PM
الله ينور تقريبا مش موجودة في المنتديات التانية

MohamedModyAdel
2019-06-15, 05:35 PM
تسلم كوستيه جميله جدا

abuhaneen
2019-06-15, 06:02 PM
جاري تجربه بس في ايرو بخصوص دول
عفواً لايمكن عرض الروابط في الإرشيف (عفواً لايمكن عرض الروابط في الإرشيف)
ودا ايرو المابة
عفواً لايمكن عرض الروابط في الإرشيف (عفواً لايمكن عرض الروابط في الإرشيف)