![]() |
npc اسطف على مزاجك زى ما تعوزو 5530
عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع دلوقت جايب شرح تعمل , انبى سى اسطف على كيفيك , عشان بيطلب منى كتير والناس , مش بتراجع الردود القديمه , الشرح, اول حاجه روح المسار ده , كود: Game--->ConquerStructures------>Inventory.cs وابحث عن ده , وحط ده فوقيه وتعال اشرح لك , كود: public bool Add(uint id, byte plus, byte times) كود: public bool Addbigbos(uint id, byte plus, byte times) { Database.ConquerItemInformation infos = new Database.ConquerItemInformation(id, plus); while (times > 0) { if (Count <= 39) { Interfaces.IConquerItem item = new Network.GamePackets.ConquerItem(true); item.ID = id; item.Plus = 12; item.Enchant = 255; item.Bless = 7; item.SocketOne = Game.Enums.Gem.SuperDragonGem; item.SocketTwo = Game.Enums.Gem.SuperDragonGem; item.Durability = item.MaximDurability = infos.BaseInformation.Durability; Add(item, Enums.ItemUse.CreateAndAdd); } else { return false; } times--; } return true; } شايف الكود الى فوق ده تمام عدل عليه زى ما تحب ازاى , الكود ده , كود: item.Enchant = 255; ده بتاع الاتش بى شوف انته عاوزو كام بتغير رقم 255 ولو مش عاوز شيلو , وده كود: item.Bless = 7; ده بتاع الدمج شوف عاوزو كام ولو مش عاوزو شيلو وده بتاع التو سوكت كود: item.SocketOne = Game.Enums.Gem.SuperDragonGem; item.SocketTwo = Game.Enums.Gem.SuperDragonGem; الجميات الى فيهم غير من هنا نوع الجيم , كود: SuperDragonGem تمام كده ده كود الانبى سى وبيدى اوتو ماتك على حسب الشخصيه حتى لو قرصان , كود: #region silenthillco Online Team case 3236: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Hello! IM Awarder Item i will give you items for your professional, CopyRight By silenthillco BigBOs"); dialog.Option("Stuff", 1); dialog.Option("Weapons", 2); break; } case 1: { if (client.Entity.Class >= 50 && client.Entity.Class <= 55) { client.Inventory.Addbigbos(123039, 0, 1); client.Inventory.Addbigbos(112039, 0, 1); client.Inventory.Addbigbos(135039, 0, 1); client.Inventory.Addbigbos(150079, 0, 1); client.Inventory.Addbigbos(120069, 0, 1); client.Inventory.Addbigbos(160079, 0, 1); client.Inventory.Addbigbos(601079, 0, 2); } if (client.Entity.Class >= 20 && client.Entity.Class <= 25) { client.Inventory.Addbigbos(111049, 0, 1); client.Inventory.Addbigbos(150079, 0, 1); client.Inventory.Addbigbos(120089, 0, 1); client.Inventory.Addbigbos(900009, 0, 1); client.Inventory.Addbigbos(131039, 0, 1); client.Inventory.Addbigbos(141049, 0, 1); client.Inventory.Addbigbos(160079, 0, 1); } if (client.Entity.Class >= 70 && client.Entity.Class <= 75) { client.Inventory.Addbigbos(611029, 0, 1); client.Inventory.Addbigbos(410529, 0, 1); client.Inventory.Addbigbos(139049, 0, 1); client.Inventory.Addbigbos(144069, 0, 1); client.Inventory.Addbigbos(160079, 0, 1); client.Inventory.Addbigbos(120089, 0, 1); } if (client.Entity.Class >= 40 && client.Entity.Class <= 45) { client.Inventory.Addbigbos(113029, 0, 1); client.Inventory.Addbigbos(150079, 0, 1); client.Inventory.Addbigbos(120089, 0, 1); client.Inventory.Addbigbos(133029, 0, 1); client.Inventory.Addbigbos(142029, 0, 1); client.Inventory.Addbigbos(500079, 0, 1); client.Inventory.Addbigbos(160079, 0, 1); } if (client.Entity.Class >= 60 && client.Entity.Class <= 65) { client.Inventory.Addbigbos(143049, 0, 1); client.Inventory.Addbigbos(150079, 0, 1); client.Inventory.Addbigbos(120089, 0, 1); client.Inventory.Addbigbos(136039, 0, 1); client.Inventory.Addbigbos(160079, 0, 1); client.Inventory.Addbigbos(610079, 0, 2); } if (client.Entity.Class >= 10 && client.Entity.Class <= 15) { client.Inventory.Addbigbos(118049, 0, 1); client.Inventory.Addbigbos(130039, 0, 1); client.Inventory.Addbigbos(150079, 0, 1); client.Inventory.Addbigbos(120089, 0, 1); client.Inventory.Addbigbos(160079, 0, 1); } if (client.Entity.Class >= 100 && client.Entity.Class <= 101 || client.Entity.Class >= 142 && client.Entity.Class <= 145 || client.Entity.Class >= 132 && client.Entity.Class <= 135) { client.Inventory.Addbigbos(114049, 0, 1); client.Inventory.Addbigbos(120089, 0, 1); client.Inventory.Addbigbos(150079, 0, 1); client.Inventory.Addbigbos(134039, 0, 1); client.Inventory.Addbigbos(421079, 0, 1); client.Inventory.Addbigbos(121089, 0, 1); client.Inventory.Addbigbos(150079, 0, 1); client.Inventory.Addbigbos(120089, 0, 1); client.Inventory.Addbigbos(160079, 0, 1); } break; } case 2: { client.Inventory.Addbigbos(410089, 0, 1); client.Inventory.Addbigbos(420089, 0, 1); client.Inventory.Addbigbos(480089, 0, 1); client.Inventory.Addbigbos(490079, 0, 1); client.Inventory.Addbigbos(530099, 0, 1); client.Inventory.Addbigbos(561099, 0, 1); client.Inventory.Addbigbos(560089, 0, 1); break; } } break; } #endregion كود: insert into 'npcs' values (' 3236', ' 0 ', ' 0', ' bigbosStuff ', '2', ' 2787 ', ' -1', ' 1002', ' 421', ' 360 ', ' 0', ' 0 ', '0', ' 0 ', ' 0', ''); عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع |
الساعة الآن 06:08 PM. |
Powered by
vpscairo
Copyright ©2013 - 2025, Jelsoft Enterprises Ltd
Translation by
tamer
Copyright ©2000-2024,vpscairo.com