Arab-Fox - عـــرب فـــوكـــس
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.

Arab-Fox - عـــرب فـــوكـــسدخول
إحصائيات المنتدى
أفضل الاعضاء هذا الشهر
آخر المشاركات
أفضل الاعضاء هذا الشهر
2 المساهمات
2 المساهمات
2 المساهمات
1 مُساهمة
1 مُساهمة
آخر المشاركات



description ان بى سى بيديك اصطف +12 مثبت عليها الصول البى 7 حصريا و منغير ولا غلطة Empty ان بى سى بيديك اصطف +12 مثبت عليها الصول البى 7 حصريا و منغير ولا غلطة

more_horiz
انهاردة جايبلوكوم ان بى سى بيديك اصطف +12 مثبت عليها الصول البى 7 حصريا  منغير اي اخطاء و كامل بازن الله

نشوف بقى :

هتخش على Inventory.cs وتبحث عن

الكود:

 public bool Add(uint id, byte plus, byte times, bool bound = false) 


وتضيف فوقه ده

الكود:


public bool AddSoul(uint id, uint soulitem, uint purfylevel, uint timeofpurfy
            , byte plus, byte times, bool purfystabliz = false, bool bound = false)
        {
            try
            {
                Database.ConquerItemInformation infos = new Database.ConquerItemInformation(id, plus);
                while (times > 0)
                {
                    if (Count <= 39)
                    {
                        ConquerItem item = new Network.GamePackets.ConquerItem(true);
                        #region Stacksize
                        if (infos.BaseInformation.StackSize > 1)
                        {
                            http://item.StackSize = (byte)times;                                
                            ushort _StackCount = infos.BaseInformation.StackSize;
                            if (times <= infos.BaseInformation.StackSize)
                                _StackCount = (ushort)times;
                            item.StackSize = (ushort)_StackCount;
                            Database.ConquerItemTable.UpdateStack(item);
                            times -= (byte)_StackCount;
                        }
                        else
                        {
                            item = new ConquerItem(true);
                            item.StackSize = 1;
                            times--;
                        }
                        #endregion Stacksize
                        item.ID = id;
                        item.Plus = plus;
                        item.Bound = false;
                        item.Durability = item.MaximDurability = infos.BaseInformation.Durability;
                        item.StackSize = 1;
                        item.MaxStackSize = infos.BaseInformation.StackSize;
                        item.SocketOne = Game.Enums.Gem.SuperDragonGem;
                        item.SocketTwo = Game.Enums.Gem.SuperDragonGem;
                        item.Enchant = 255;
                        item.Bless = 7;
                        Add(item, Enums.ItemUse.CreateAndAdd);
                        if (purfystabliz == false)
                        {
                            #region purfy without stablize
                            ItemAdding.Purification_ purify = new ItemAdding.Purification_();
                            purify.AddedOn = DateTime.Now;
                            purify.Available = true;
                            purify.ItemUID = item.UID;
                            purify.PurificationLevel = purfylevel;
                            purify.PurificationDuration = timeofpurfy * 24 * 60 * 60;
                            purify.PurificationItemID = soulitem;
                            Database.ItemAddingTable.AddPurification(purify);
                            item.Purification = purify;
                            item.Mode = Conquer_Online_Server.Game.Enums.ItemMode.Update;
                            item.Send(Owner);
                            ItemAdding effect = new ItemAdding(true);
                            effect.Type = ItemAdding.PurificationEffect;
                            effect.Append2(purify);
                            Owner.Send(effect);
                            #endregion
                        }
                        else
                        {
                            #region purfy with stabliz
                            ItemAdding.Purification_ purify = new ItemAdding.Purification_();
                            purify.AddedOn = DateTime.Now;
                            purify.Available = true;
                            purify.ItemUID = item.UID;
                            purify.PurificationLevel = purfylevel;
                            purify.PurificationDuration = timeofpurfy * 24 * 60 * 60;
                            purify.PurificationItemID = soulitem;
                            Database.ItemAddingTable.AddPurification(purify);
                            item.Purification = purify;
                            item.Mode = Conquer_Online_Server.Game.Enums.ItemMode.Update;
                            item.Send(Owner);
                            ItemAdding effect = new ItemAdding(true);
                            effect.Type = ItemAdding.PurificationEffect;
                            effect.Append2(purify);
                            Owner.Send(effect);
                            var Backup = item.Purification;
                            Backup.PurificationDuration = 0;
                            item.Purification = Backup;
                            item.Send(Owner);
                            effect.Type = ItemAdding.StabilizationEffect;
                            effect.Append2(Backup);
                            Owner.Send(effect);
                            Database.ItemAddingTable.Stabilize(item.UID, Backup.PurificationItemID);
                            #endregion
                        }
                    }
                    else
                    {
                        return false;
                    }

                }
                times--;
            }
            catch (Exception e)
            {
                Program.SaveException(e);
            }
            return true;
        } 




وتخش على npc.cs وتضيف ده فى اى مكان

الكود:

#region NPC Stuff By Shadow // ********
                case 195291:
                    {
                        switch (npcRequest.OptionID)
                        {
                            case 0:
                                {
                                    dialog.Text("Hey there " + client.Entity.Name + " Would you like to take Full Stuff ");
                                    http://dialog.Option("soul without stabliz", 1);
                                    http://dialog.Option("soul with stabliz", 2);
                                    dialog.Option("Stuff Ninja Multiplied by Soul", 3);
                                    dialog.Option("Stuff Monk Multiplied by Soul", 4);
                                    dialog.Option("Stuff Taoist Multiplied by Soul", 5);
                                    dialog.Option("Stuff Trojan Multiplied by Soul", 6);
                                    dialog.Option("Stuff Pirate Multiplied by Soul", 7);
                                    dialog.Option("Stuff Warrior Multiplied by Soul", 8);
                                    dialog.Option("Stuff Archer Multiplied by Soul", 9);
                                    dialog.Option("Steed +12", 10);
                                    dialog.Option("Tower", 11);
                                    dialog.Option("Fan", 12);
                                    http://dialog.Option("Mr TiFa", 13);
                                    dialog.Option("I don't care.", 255);
                                    dialog.Send();
                                    break;
                                }
                            case 1:
                                {
                                    client.Inventory.AddSoul(410439, 800110, 6, 12, 12, 1, false, false);
                                    client.Inventory.AddSoul(420439, 800110, 6, 12, 12, 1, false, false);
                                    dialog.Text("You Have Got Stuff And Soul Thanks To Mr.TiFa[GM]  ");
                                    dialog.Option("I don't care.", 255);
                                    dialog.Send();
                                    break;

                                }
                            case 2:
                                {
                                    client.Inventory.AddSoul(410439, 800110, 6, 12, 12, 1, true, false);
                                    client.Inventory.AddSoul(420439, 800110, 6, 12, 12, 1, true, false);
                                    dialog.Text("thanks for this gift you have got item soul stablized forever ");
                                    dialog.Option("I don't care.", 255);
                                    dialog.Send();
                                    break;

                                }
                            case 3://ninja
                                {
                                    client.Inventory.AddSoul(601439, 800142, 6, 12, 12, 1, true, false);//Katana
                                    client.Inventory.AddSoul(601439, 800142, 6, 12, 12, 1, true, false);//Katana
                                    client.Inventory.AddSoul(135309, 822071, 6, 12, 12, 1, true, false);//ArmorNinja
                                    client.Inventory.AddSoul(123309, 820076, 6, 12, 12, 1, true, false);//NinjaHood
                                    client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
                                    client.Inventory.AddSoul(150269, 823059, 6, 12, 12, 1, true, false);//Ring
                                    client.Inventory.AddSoul(160249, 824020, 6, 12, 12, 1, true, false);//Boot
                                    dialog.Text("thanks for this gift you have got item soul stablized forever ");
                                    dialog.Option("I don't care.", 255);
                                    dialog.Send();
                                    break;

                                }
                            case 4://Monk
                                {
                                    client.Inventory.AddSoul(610439, 800725, 6, 12, 12, 1, true, false);//Beads
                                    client.Inventory.AddSoul(610439, 800725, 6, 12, 12, 1, true, false);//Beads
                                    client.Inventory.AddSoul(136309, 822071, 6, 12, 12, 1, true, false);//ArmorMonk
                                    client.Inventory.AddSoul(143309, 820076, 6, 12, 12, 1, true, false);//CapMonk
                                    client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
                                    client.Inventory.AddSoul(150269, 823059, 6, 12, 12, 1, true, false);//Ring
                                    client.Inventory.AddSoul(160249, 824020, 6, 12, 12, 1, true, false);//Boot
                                    dialog.Text("thanks for this gift you have got item soul stablized forever ");
                                    dialog.Option("I don't care.", 255);
                                    dialog.Send();
                                    break;

                                }
                            case 5://Fire And Water
                                {
                                    client.Inventory.AddSoul(421439, 800522, 6, 12, 12, 1, true, false);//BackSword
                                    client.Inventory.AddSoul(134309, 822071, 6, 12, 12, 1, true, false);//ArmorFire
                                    client.Inventory.AddSoul(114309, 820076, 6, 12, 12, 1, true, false);//CapFire
                                    client.Inventory.AddSoul(152279, 823060, 6, 12, 12, 1, true, false);//Bracelet
                                    client.Inventory.AddSoul(121269, 821034, 6, 12, 12, 1, true, false);//Bag
                                    client.Inventory.AddSoul(160249, 824020, 6, 12, 12, 1, true, false);//Boot
                                    dialog.Text("thanks for this gift you have got item soul stablized forever ");
                                    dialog.Option("I don't care.", 255);
                                    dialog.Send();
                                    break;

                                }
                            case 6://Trojan
                                {
                                    client.Inventory.AddSoul(410439, 800111, 6, 12, 12, 1, true, false);//Blade
                                    client.Inventory.AddSoul(420439, 800111, 6, 12, 12, 1, true, false);//Sword
                                    client.Inventory.AddSoul(130309, 822071, 6, 12, 12, 1, true, false);//ArmorTrojan
                                    client.Inventory.AddSoul(118309, 820076, 6, 12, 12, 1, true, false);//CapTrojan
                                    client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
                                    client.Inventory.AddSoul(150269, 823059, 6, 12, 12, 1, true, false);//Ring
                                    client.Inventory.AddSoul(160249, 824020, 6, 12, 12, 1, true, false);//Boot
                                    dialog.Text("thanks for this gift you have got item soul stablized forever ");
                                    dialog.Option("I don't care.", 255);
                                    dialog.Send();
                                    break;

                                }
                            case 7://Pirate
                                {
                                    client.Inventory.AddSoul(611439, 800811, 6, 12, 12, 1, true, false);//Rapier
                                    client.Inventory.AddSoul(612439, 800810, 6, 12, 12, 1, true, false);//Pistol
                                    client.Inventory.AddSoul(139309, 822071, 6, 12, 12, 1, true, false);//ArmorPirate
                                    client.Inventory.AddSoul(144309, 820076, 6, 12, 12, 1, true, false);//CapPirate
                                    client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
                                    client.Inventory.AddSoul(150269, 823059, 6, 12, 12, 1, true, false);//Ring
                                    client.Inventory.AddSoul(160249, 824020, 6, 12, 12, 1, true, false);//Boot
                                    dialog.Text("thanks for this gift you have got item soul stablized forever ");
                                    dialog.Option("I don't care.", 255);
                                    dialog.Send();
                                    break;

                                }
                            case 8://Warrior
                                {
                                    client.Inventory.AddSoul(560439, 800215, 6, 12, 12, 1, true, false);//Spear
                                    client.Inventory.AddSoul(900309, 800422, 6, 12, 12, 1, true, false);//Shield
                                    client.Inventory.AddSoul(131309, 822071, 6, 12, 12, 1, true, false);//ArmorWarrior
                                    client.Inventory.AddSoul(111309, 820076, 6, 12, 12, 1, true, false);//CapWarrior
                                    client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
                                    client.Inventory.AddSoul(150269, 823059, 6, 12, 12, 1, true, false);//Ring
                                    client.Inventory.AddSoul(160249, 824020, 6, 12, 12, 1, true, false);//Boot
                                    dialog.Text("thanks for this gift you have got item soul stablized forever ");
                                    dialog.Option("I don't care.", 255);
                                    dialog.Send();
                                    break;

                                }
                            case 9://Archer
                                {
                                    client.Inventory.AddSoul(613429, 800917, 6, 12, 12, 1, true, false);//Knife
                                    client.Inventory.AddSoul(613429, 800917, 6, 12, 12, 1, true, false);//Knife
                                    client.Inventory.AddSoul(500429, 800618, 6, 12, 12, 1, true, false);//Bow
                                    client.Inventory.AddSoul(133309, 822071, 6, 12, 12, 1, true, false);//ArmorArcher
                                    client.Inventory.AddSoul(113309, 820076, 6, 12, 12, 1, true, false);//CapArcher
                                    client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
                                    client.Inventory.AddSoul(150269, 823059, 6, 12, 12, 1, true, false);//Ring
                                    client.Inventory.AddSoul(160249, 824020, 6, 12, 12, 1, true, false);//Boot
                                    dialog.Text("thanks for this gift you have got item soul stablized forever ");
                                    dialog.Option("I don't care.", 255);
                                    dialog.Send();
                                    break;

                                }
                            #region Steed
                            case 10:
                                {
                                    uint itemid1 = 300000;//BattleSpear

                                    ConquerItem item1 = new ConquerItem(true);
                                    item1.ID = itemid1;
                                    item1.Color = Conquer_Online_Server.Game.Enums.Color.White;

                                    item1.Plus = 12;


                                    item1.Durability = item1.MaximDurability = Conquer_Online_Server.Database.ConquerItemInformation.BaseInformations[itemid1].Durability;
                                    client.Inventory.Add(item1, Conquer_Online_Server.Game.Enums.ItemUse.CreateAndAdd);

                                    break;
                                }
                            #endregion
                            #region TowER
                            case 11:
                                {
                                    uint itemid1 = 202009;//BattleSpear

                                    ConquerItem item1 = new ConquerItem(true);
                                    item1.ID = itemid1;
                                    item1.Color = Conquer_Online_Server.Game.Enums.Color.White;

                                   
                                    item1.Plus = 12;
                                    http://item6.Bless = 1;
                                    item1.SocketOne = Game.Enums.Gem.SuperGloryGem;
                                    item1.SocketTwo = Game.Enums.Gem.SuperGloryGem;
                                    item1.Durability = item1.MaximDurability = Conquer_Online_Server.Database.ConquerItemInformation.BaseInformations[itemid1].Durability;
                                    client.Inventory.Add(item1, Conquer_Online_Server.Game.Enums.ItemUse.CreateAndAdd);


                                    break;
                                }
                            #endregion
                            #region Fan
                            case 12:
                                {
                                    uint itemid1 = 201009;//BattleSpear

                                    ConquerItem item1 = new ConquerItem(true);
                                    item1.ID = itemid1;
                                    item1.Color = Conquer_Online_Server.Game.Enums.Color.White;


                                    item1.Plus = 12;
                                    http://item6.Bless = 1;
                                    item1.SocketOne = Game.Enums.Gem.SuperThunderGem;
                                    item1.SocketTwo = Game.Enums.Gem.SuperThunderGem;
                                    item1.Durability = item1.MaximDurability = Conquer_Online_Server.Database.ConquerItemInformation.BaseInformations[itemid1].Durability;
                                    client.Inventory.Add(item1, Conquer_Online_Server.Game.Enums.ItemUse.CreateAndAdd);


                                    break;
                                }
                            #endregion
                        }
                        break;
                    }
                #endregion 



وتخش فى النافى كات على npcs وتضيف ده فى سطر جديد

الكود:


195291    0    0    SellerStuff[Mr Alsokary]    2    45420    -1    1002    311    283    0    0    0    0    0    0 



الي مش عارف يضيفو يكلمني
صور التاكيد :D

 ان بى سى بيديك اصطف +12 مثبت عليها الصول البى 7 حصريا و منغير ولا غلطة 39428710

description ان بى سى بيديك اصطف +12 مثبت عليها الصول البى 7 حصريا و منغير ولا غلطة Emptyرد: ان بى سى بيديك اصطف +12 مثبت عليها الصول البى 7 حصريا و منغير ولا غلطة

more_horiz
تسلم اخي احمد  شكرا لك

description ان بى سى بيديك اصطف +12 مثبت عليها الصول البى 7 حصريا و منغير ولا غلطة Emptyرد: ان بى سى بيديك اصطف +12 مثبت عليها الصول البى 7 حصريا و منغير ولا غلطة

more_horiz
تم التعديل

description ان بى سى بيديك اصطف +12 مثبت عليها الصول البى 7 حصريا و منغير ولا غلطة Emptyرد: ان بى سى بيديك اصطف +12 مثبت عليها الصول البى 7 حصريا و منغير ولا غلطة

more_horiz
نورتو المنتدي


privacy_tip صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى
power_settings_newقم بتسجيل الدخول للرد