• مرحبا بك زائر , نحن نعمل الان على تطويرات عامة فى المنتدى

كويست كوسته جديده للسرفرات السهله والصعبه[Hell Quest]

AboGamil!

Administrator
طاقم الإدارة
ad
السلام عليكم
كنت نزلت الكوسته دى قبل كدا بس اتمسحت فحبيت انزلها تانى بعد معدلتها وشغلتها كامله
الكوسته عدلتها لسورسات Msg
لو حد عاوزها لسورسات العاديه يقول وهعدلو الاكواد
الكوسته عباره عن ماب الناس بتخش فى وحشين واحد بيطلع بى 500 الف سبى والتانى بى 250 الف سبى وطبعا الوحشين دمهم كبير واتكهم عالى شويه
اوالبكى شغال جوا المهم اللى هيموت الوحشين هياخد 1500 نقطه هيجع ويجيب الجايزه من الانبسى اللى انت هتحطتها للناس
يعنى 35 الف نقطه بى vip6
45 الف بى goldprize
6 تلاف نقطه بى 4 مليون سبى
تقدر تغير الجوايز عادى
نخش فى الاضافات
اولا الانبسهات
Class Npcs.cs

PHP:
 #region  Monster Hunter //AboGamil
                    case 5943:
                        {
                            switch (npcRequest.OptionID)
                            {
                                case 0:
                                    {
                                        dialog.Text("Welcome You Are The Monster Hunter" + client.Player.Name + " Here  In Owl.Co Best Server i can Teleport to Monster Land  ?");
                                        dialog.Option("Teleport me but dont Tell any one ...", 1);
                                        dialog.Option("I want to check my Points.", 2);
                                        dialog.Text("hehehe ok XD i will do ");
                                        dialog.Send();
                                        break;
                                    }
                                case 1:
                                    {
                                        client.Player.Teleport(11042, 309, 387);
                                        // oras
                                        Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Welcome " + client.Player.Name + " To The Hell  ");
                                        npc.OptionID = 255;
                                        client.Send(npc.ToArray());
                                        AboGamil.Kernel.SendWorldMessage(new MsgTalk("Warnings! The Hunter " + client.Player.Name + " He is Name Black go go Kill hem in Monster Hunter Map   ", System.Drawing.Color.Black, MsgTalk.Center), Server.GamePool);
                                        break;
                                    }
                                case 2:
                                    {
                                        dialog.Text("Your Points Count is : " + client.Player.TeamXorOrasPoints + " , How can i help you?!");
                                        dialog.Option("Nothing Thanks!", 255);
                                        dialog.Avatar(50);
                                        dialog.Send();
                                        break;
                                    }
                            }
                            break;
                        }
                    #endregion
                    #region  DarkSidra
                    case 3714:
                        {
                            switch (npcRequest.OptionID)
                            {
                                case 0:
                                    {
                                        dialog.Text("You Want Soumone DarkSidra  Monster for 500k cps Its So hard And No for Noops ");
                                        dialog.Option("yah sure i can kill  it!", 1);
                                        dialog.Option("whats? no thanks", 255);
                                        dialog.Avatar(31);
                                        dialog.Send();
                                        break;
                                    }
                                case 1:
                                    {
                                        if (client.Player.ConquerPoints >= 500000)
                                        {
                                            client.Player.ConquerPoints -= 500000;
                                            Database.MonsterInformation monster = new AboGamil.Database.MonsterInformation();
                                            monster.Boss = true;
                                            monster.Hitpoints = 50000000;
                                            monster.Level = 250;
                                            monster.Mesh = 1516;
                                            monster.Name = "DarkSidra";
                                            monster.MaxAttack = 100000;
                                            monster.AttackRange = 5;
                                            monster.AttackType = 2;
                                            monster.AttackSpeed = 1000;
                                            monster.ViewRange = 2;
                                            monster.MoveSpeed = 200;
                                            monster.RunSpeed = 500;
                                            monster.MinAttack = 15000;
                                            Game.Player entity = new Game.Player(Game.PlayerFlag.Monster, false);
                                            entity.MapObjType = Game.MapObjectType.Monster;
                                            entity.MonsterInfo = monster;
                                            entity.MonsterInfo.Owner = entity;
                                            entity.Name = "DarkSidra";
                                            entity.MinAttack = monster.MinAttack;
                                            entity.MaxAttack = entity.MagicAttack = monster.MaxAttack;
                                            entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints;
                                            entity.Body = monster.Mesh;
                                            entity.Level = monster.Level;
                                            entity.Defence = 5000;
                                            entity.X = client.Player.X;
                                            entity.Y = client.Player.Y;
                                            entity.UID = 500002;
                                            entity.MapID = client.Player.MapID;
                                            entity.SendUpdates = true;
                                            client.Map.RemoveEntity(entity);
                                            client.Map.AddEntity(entity);
                                            Kernel.SendWorldMessage(new MsgTalk("Congratulations! The Monster Hnuter " + client.Player.Name + "  Has Sumone DarkDSidra Monster in BlaCk Map !!!.", System.Drawing.Color.White, MsgTalk.Center), Server.GamePool);
                                        }
                                        else
                                        {
                                            client.Send(new Network.GamePackets.NpcReply(6, "You must have r inventory."));
                                        }
                                        break;
                                    }
                            }
                            break;
                        }
                    #endregion
                    #region  Genzo
                    case 1838:
                        {
                            switch (npcRequest.OptionID)
                            {
                                case 0:
                                    {
                                        dialog.Text("You Want Soumone Genzo Monster for 250k cps Its So hard And Not for Noops ");
                                        dialog.Option("yah sure i can kill  it!", 1);
                                        dialog.Option("whats? no thanks", 255);
                                        dialog.Avatar(31);
                                        dialog.Send();
                                        break;
                                    }
                                case 1:
                                    {
                                        if (client.Player.ConquerPoints >= 250000)
                                        {
                                            client.Player.ConquerPoints -= 250000;
                                            Database.MonsterInformation monster = new AboGamil.Database.MonsterInformation();
                                            monster.Boss = true;
                                            monster.Hitpoints = 50000000;
                                            monster.Level = 230;
                                            monster.Mesh = 1515;
                                            monster.Name = "Genzo";
                                            monster.MaxAttack = 100000;
                                            monster.AttackRange = 5;
                                            monster.AttackType = 2;
                                            monster.AttackSpeed = 800;
                                            monster.ViewRange = 2;
                                            monster.MoveSpeed = 400;
                                            monster.RunSpeed = 700;
                                            monster.MinAttack = 15000;
                                            Game.Player entity = new Game.Player(Game.PlayerFlag.Monster, false);
                                            entity.MapObjType = Game.MapObjectType.Monster;
                                            entity.MonsterInfo = monster;
                                            entity.MonsterInfo.Owner = entity;
                                            entity.Name = "Genzo";
                                            entity.MinAttack = monster.MinAttack;
                                            entity.MaxAttack = entity.MagicAttack = monster.MaxAttack;
                                            entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints;
                                            entity.Body = monster.Mesh;
                                            entity.Level = monster.Level;
                                            entity.Defence = 4000;
                                            entity.X = client.Player.X;
                                            entity.Y = client.Player.Y;
                                            entity.UID = 500002;
                                            entity.MapID = client.Player.MapID;
                                            entity.SendUpdates = true;
                                            client.Map.RemoveEntity(entity);
                                            client.Map.AddEntity(entity);
                                            Kernel.SendWorldMessage(new MsgTalk("Congratulations! The Monster Hnuter " + client.Player.Name + "  Has Sumone Genzo Monster in BlaCk Map !!!.", System.Drawing.Color.White, MsgTalk.Center), Server.GamePool);
                                        }
                                        else
                                        {
                                            client.Send(new Network.GamePackets.NpcReply(6, "You must have r inventory."));
                                        }
                                        break;
                                    }
                            }
                            break;
                        }
                    #endregion
                    #region  Monster Hunter Q Seller
                    case 5688:
                        {
                            switch (npcRequest.OptionID)
                            {
                                case 0:
                                    {
                                        dialog.Text("Hello! Monster Hunter you are The Hero I sell Gold Prize Or Cps Or Vip For Monster Hunter Points This Just In Owl.Co!");
                                        dialog.Text("/nWhich Item would you like to buy?");
                                        dialog.Option("GoldPrize [45000]", 1);
                                        dialog.Option("vip 6 Drop cps X2[35000]", 2);
                                        dialog.Option("4m cps [6000]", 3);
                                        dialog.Send();
                                        break;
                                    }
                                case 11:
                                    {
                                        dialog.Text("Hello! I sell Sub-Classes & Promotion items!");
                                        dialog.Text("/nWhich Item would you like to buy?");
                                        //oras
                                        //titan // team xor
                                        dialog.Send();
                                        break;
                                    }
                                case 13:
                                    {
                                        if (client.Player.ConquerPoints >= 1050)
                                        {
                                            client.Player.ConquerPoints -= 1050;
                                            client.Inventory.Add(723342, 0, 1);
                                        }
                                        else
                                        {
                                            dialog.Text("You don't have enough !");
                                            dialog.Option("DAHH!", 255);
                                            dialog.Send();
                                        }
                                        break;
                                    }
                                case 1:
                                    {
                                        if (client.Player.TeamXorOrasPoints >= 45000)
                                        {
                                            client.Player.TeamXorOrasPoints -= 45000;
                                            client.Inventory.Add(2100075, 0, 1);
                                        }
                                        else
                                        {
                                            dialog.Text("You don't have enough points!");
                                            dialog.Option("DAHH!", 255);
                                            dialog.Send();
                                        }
                                        break;
                                    }
                                case 2:
                                    {
                                        if (client.Player.TeamXorOrasPoints >= 35000)
                                        {
                                            client.Player.TeamXorOrasPoints -= 35000;
                                            client.Player.VIPLevel = 6;
                                        }
                                        else
                                        {
                                            dialog.Text("You don't have enough pints!");
                                            dialog.Option("DAHH!", 255);
                                            dialog.Send();
                                        }
                                        break;
                                    }
                                case 3:
                                    {
                                        if (client.Player.TeamXorOrasPoints >= 6000)
                                        {
                                            client.Player.TeamXorOrasPoints -= 6000;
                                            client.Player.ConquerPoints += 4000000;
                                        }
                                        else
                                        {
                                            dialog.Text("You don't have enough cps!");
                                            dialog.Option("DAHH!", 255);
                                            dialog.Send();
                                        }
                                        break;
                                    }
                                case 4:
                                    {
                                        if (client.Player.ConquerPoints >= 5000)
                                        {
                                            client.Player.ConquerPoints -= 5000;
                                            client.Inventory.Add(1088002, 0, 10);
                                        }
                                        else
                                        {
                                            dialog.Text("You don't have enough cps!");
                                            dialog.Option("DAHH!", 255);
                                            dialog.Send();
                                        }
                                        break;
                                    }
                                case 5:
                                    {
                                        if (client.Player.ConquerPoints >= 5000)
                                        {
                                            client.Player.ConquerPoints -= 5000;
                                            client.Inventory.Add(721261, 0, 10);
                                        }
                                        else
                                        {
                                            dialog.Text(" AHHH You don't have enough cps![AboGamil]");
                                            dialog.Option("DAHH!", 255);
                                            dialog.Send();
                                        }
                                        break;
                                    }
                                case 6:
                                    {
                                        if (client.Player.ConquerPoints >= 5000)
                                        {
                                            client.Player.ConquerPoints -= 5000;
                                            client.Inventory.Add(711188, 0, 1);
                                        }
                                        else
                                        {
                                            dialog.Text("You don't have enough cps!");
                                            dialog.Option("DAHH!", 255);
                                            dialog.Send();
                                        }
                                        break;
                                    }
                                case 7:
                                    {
                                        if (client.Player.ConquerPoints >= 5000)
                                        {
                                            client.Player.ConquerPoints -= 5000;
                                            client.Inventory.Add(721259, 0, 5);
                                        }
                                        else
                                        {
                                            dialog.Text("You don't have enough cps!");
                                            dialog.Option("DAHH!", 255);
                                            dialog.Send();
                                        }
                                        break;
                                    }
                                case 8:
                                    {
                                        if (client.Player.ConquerPoints >= 5000)
                                        {
                                            client.Player.ConquerPoints -= 5000;
                                            client.Inventory.Add(723087, 0, 20);
                                        }
                                        else
                                        {
                                            dialog.Text("You don't have enough cps!");
                                            dialog.Option("DAHH!", 255);
                                            dialog.Send();
                                        }
                                        break;
                                    }
                                case 9:
                                    {
                                        if (client.Player.ConquerPoints >= 5000)
                                        {
                                            client.Player.ConquerPoints -= 5000;
                                            client.Inventory.Add(753003, 0, 5);
                                        }
                                        else
                                        {
                                            dialog.Text("You don't have enough cps!");
                                            dialog.Option("DAHH!", 255);
                                            dialog.Send();
                                        }
                                        break;
                                    }
                                case 10:
                                    {
                                        if (client.Player.ConquerPoints >= 5000)
                                        {
                                            client.Player.ConquerPoints -= 5000;
                                            client.Inventory.Add(723903, 0, 40);
                                        }
                                        else
                                        {
                                            dialog.Text("You don't have enough cps!");
                                            dialog.Option("DAHH!", 255);
                                            dialog.Send();
                                        }
                                        break;
                                    }
                            }
                            break;
                        }
                    #endregion
Class MonsterTable.cs
حط دول

PHP:
  if (killer.PlayerFlag == PlayerFlag.Monster)
            {
              
                return;
            }

            if (Name == "DarkSidra")
            {
                if (killer.Owner.Team != null)
                    foreach (var team in killer.Owner.Team.Teammates)
                        team.Player.SubProStages.StudyPoints += 1000;
                killer.TeamXorOrasPoints += 1250;
                Kernel.SendWorldMessage(new MsgTalk("Congratulations! The Hunter #41" + killer.Name + "#41 Team Has Kill DarkSidra and Lader of team Get 1000 Points and Each one in team get 1000 study point.", System.Drawing.Color.White, MsgTalk.Center), Server.GamePool);
            }
            if (Name == "Genzo")
            {
                if (killer.Owner.Team != null)
                    foreach (var team in killer.Owner.Team.Teammates)
                        team.Player.SubProStages.StudyPoints += 1000;
                killer.TeamXorOrasPoints += 500;
                Kernel.SendWorldMessage(new MsgTalk("Congratulations! The Hunter #41" + killer.Name + "#41 Team Has Kill Genzo and Lader of team Get 500 Points and Each one in team get 1000 study point.", System.Drawing.Color.White, MsgTalk.Center), Server.GamePool);
            }
            if (Name.Contains("ChestDemon"))
            {
                killer.ChestDemonkill += 1;
                killer.Owner.Send(new MsgTalk("You have killed ChestDemon!", System.Drawing.Color.Azure, MsgTalk.Center));
            }
Class Player or Entity
حط دول
public uint TeamXorOrasPoints;
public Time32 TeamXorOrasPointsStamp;
Class EntityTable.cs
حط دول
client.Player.TeamXorOrasPoints = reader.ReadUInt32("TeamXorOrasPoints");


client.Player.TeamXorOrasPointsStamp = Time32.Now
فى نفس الكلاس هتدور على الكود دا
Set("PKPoints",
تحتيه حط دا
.Set("TeamXorOrasPoints", e.TeamXorOrasPoints)
نخش على القاعده
entites اعمل DesignTable
وحط دا
PHP:
TeamXorOrasPoints    bigint    18    0    -1    0    0    0    0        0                    0    0[/B][/B]
[B][B]
Maps
حط دى
PHP:
11042    2021    7    0[/B][/B]
[B][B]
npcs
حط دول
C#:
5688    Seller Hunter q3    2    51560    11042    316    382 [/B][/B]
[B][B]3714    DarkSidra    2    51560    11042    312    382 [/B][/B]
[B][B]1838    Genzo    2    51560    11042    308    382 [/B][/B]
[B][B]5943    Hell Quist    2    39030    1002    410    361 [/B][/B]
[B][B]
وشكرا
صور من الكوسته


 
التعديل الأخير:
أعلى

Dear User!

We found that you are blocking the display of ads on our site.

Please add it to the exception list or disable AdBlock.

Our materials are provided for FREE and the only revenue is advertising.

Thank you for understanding!