رد: طلب
عدل علي ان بي سي ده
كود PHP:
#region FullStuffa P7 case 195291: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Hello*There*[*" + client.Entity.Name + "*]*Would*You*Like*To*Buy*Full*Stuff*With*P7*Soul*And*New*Wings*Just*For*[*1*]*CPS"); dialog.Option("[*Full*Ninja*Stuff*P7*]", 3); dialog.Option("[*Full*Monk*Stuff*P7*]", 4); dialog.Option("[*Full*Toaist*Stuff*P7*TortoiseGem]", 5); dialog.Option("[*Full*Fire*Stuff*P7*PhoenixGem]", 22); dialog.Option("[*Full*Trojan*Stuff*P7*]", 6); dialog.Option("[*Full*Pirate*Stuff*P7*]", 7); dialog.Option("[*Full*Warrior*Stuff*P7*]", 8); dialog.Option("[*Full*Archer*Stuff*P7*]", 9); dialog.Option("[*Full*LeeLong*Stuff*P7*]", 11); dialog.Option("[*Full*Windwalker*Stuff*P7*]", 12); dialog.Option("Fan+Tower+Wing+Crop+Steed+Bow", 10); dialog.Option("I*don't*care.", 255); dialog.Send(); break; } case 12://WindWallker { // PacketHandler.CheckCommand2("@tegotegatege Steed Fixed 12 255 255 0 0 142 39 46", client); // client.Inventory.Add(202009, 12, 1, 123, 123, 1);
// client.Inventory.Add(201009, 12, 1, 103, 103, 1);//Fan // client.Inventory.Add(203009, 12, 1, 0, 0, 1);//Crop // client.Inventory.Add(204009, 12, 1, 103, 123, 1);//Wing client.Inventory.AddSoul(101309, 822071, 6, 12, 12, 1, true, false);//armor p6 client.Inventory.AddSoul(170309, 820073, 6, 12, 12, 1, true, false);//headgear p6 client.Inventory.AddSoul(626439, 801308, 6, 12, 12, 1, true, false);//Windwalker p6 client.Inventory.AddSoul(626439, 801308, 6, 12, 12, 1, true, false);//Windwalker p6 client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace** client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring** client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot** dialog.Text("Thanks*For*This*Stuff*Gift*..*You*Have*Got*Stuff*+12*And*P7*Soul*."); dialog.Option("I*don't*care.", 255); dialog.Send(); break; } case 3://ninja** { // PacketHandler.CheckCommand2("@tegotegatege Steed Fixed 12 255 255 0 0 142 39 46", client); // client.Inventory.Add(202009, 12, 1, 123, 123, 1);
// client.Inventory.Add(201009, 12, 1, 103, 103, 1);//Fan // client.Inventory.Add(203009, 12, 1, 0, 0, 1);//Crop // client.Inventory.Add(204009, 12, 1, 103, 123, 1);//Wing 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(616439, 800111, 6, 12, 12, 1, true, false);//Nobunaga`sSwiftClaw client.Inventory.AddSoul(616439, 800111, 6, 12, 12, 1, true, false);//Nobunaga`sSwiftClaw client.Inventory.AddSoul(135309, 822071, 6, 12, 12, 1, true, false);//ArmorNinja** client.Inventory.AddSoul(123309, 820073, 6, 12, 12, 1, true, false);//NinjaHood** client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace** client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring** client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot** dialog.Text("Thanks*For*This*Stuff*Gift*..*You*Have*Got*Stuff*+12*And*P7*Soul*."); dialog.Option("I*don't*care.", 255); dialog.Send(); break; } case 4://Monk** { // PacketHandler.CheckCommand2("@tegotegatege Steed Fixed 12 255 255 0 0 142 39 46", client); // client.Inventory.Add(202009, 12, 1, 123, 123, 1);
//client.Inventory.Add(201009, 12, 1, 103, 103, 1);//Fan //client.Inventory.Add(203009, 12, 1, 0, 0, 1);//Crop //client.Inventory.Add(204009, 12, 1, 103, 123, 1);//Wing client.Inventory.AddSoul(622439, 800725, 6, 12, 12, 1, true, false);//Epic client.Inventory.AddSoul(622439, 800725, 6, 12, 12, 1, true, false);//Epic* 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, 820073, 6, 12, 12, 1, true, false);//CapMonk** client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace** client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring** client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot** dialog.Text("Thanks*For*This*Stuff*Gift*..*You*Have*Got*Stuff*+12*And*P7*Soul*."); dialog.Option("I*don't*care.", 255); dialog.Send(); break;
} case 5://Water** {
client.Inventory.AddSoul1(619439, 801104, 6, 12, 12, 1, true, false);//UniverseHossu client.Inventory.AddSoul9(421439, 800522, 6, 12, 12, 1, true, false);//BackSword client.Inventory.AddSoul9(620439, 800522, 6, 12, 12, 1, true, false);//ImperialBacksword client.Inventory.AddSoul9(134309, 822072, 6, 12, 12, 1, true, false);//ArmorFire** client.Inventory.AddSoul9(114309, 820076, 6, 12, 12, 1, true, false);//CapFire** client.Inventory.AddSoul9(152279, 823060, 6, 12, 12, 1, true, false);//Bracelet** client.Inventory.AddSoul9(121269, 821034, 6, 12, 12, 1, true, false);//Bag** client.Inventory.AddSoul9(160249, 824020, 6, 12, 12, 1, true, false);//Boot** dialog.Text("Thanks*For*This*Stuff*Gift*..*You*Have*Got*Stuff*+12*And*P7*Soul*."); dialog.Option("I*don't*care.", 255); dialog.Send(); break;
} case 22://Fire {
client.Inventory.AddSoul1(619439, 801104, 6, 12, 12, 1, true, false);//UniverseHossu client.Inventory.AddSoul8(421439, 800522, 6, 12, 12, 1, true, false);//BackSword client.Inventory.AddSoul8(620439, 800522, 6, 12, 12, 1, true, false);//ImperialBacksword client.Inventory.AddSoul8(134309, 822072, 6, 12, 12, 1, true, false);//ArmorFire** client.Inventory.AddSoul8(114309, 820076, 6, 12, 12, 1, true, false);//CapFire** client.Inventory.AddSoul8(152279, 823060, 6, 12, 12, 1, true, false);//Bracelet** client.Inventory.AddSoul8(121269, 821034, 6, 12, 12, 1, true, false);//Bag** client.Inventory.AddSoul8(160249, 824020, 6, 12, 12, 1, true, false);//Boot** dialog.Text("Thanks*For*This*Stuff*Gift*..*You*Have*Got*Stuff*+12*And*P7*Soul*."); dialog.Option("I*don't*care.", 255); dialog.Send(); break;
} case 6://Trojan** { // PacketHandler.CheckCommand2("@tegotegatege Steed Fixed 12 255 255 0 0 142 39 46", client); // client.Inventory.Add(202009, 12, 1, 123, 123, 1);
// client.Inventory.Add(201009, 12, 1, 103, 103, 1);//Fan // client.Inventory.Add(203009, 12, 1, 0, 0, 1);//Crop // client.Inventory.Add(204009, 12, 1, 103, 123, 1);//Wing client.Inventory.AddSoul(480439, 800111, 6, 12, 12, 1, true, false);//NirvanaClub 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(490439, 800111, 6, 12, 12, 1, true, false);//Dagger* client.Inventory.AddSoul(614439, 800111, 6, 12, 12, 1, true, false);//Epic client.Inventory.AddSoul(614439, 800111, 6, 12, 12, 1, true, false);//Epic* client.Inventory.AddSoul(130309, 822071, 6, 12, 12, 1, true, false);//ArmorTrojan** client.Inventory.AddSoul(118309, 820073, 6, 12, 12, 1, true, false);//CapTrojan** client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace** client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring** client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot** dialog.Text("Thanks*For*This*Stuff*Gift*..*You*Have*Got*Stuff*+12*And*P7*Soul*."); dialog.Option("I*don't*care.", 255); dialog.Send(); break;
} case 7://Pirate** { //PacketHandler.CheckCommand2("@tegotegatege Steed Fixed 12 255 255 0 0 142 39 46", client); // client.Inventory.Add(202009, 12, 1, 123, 123, 1);
//client.Inventory.Add(201009, 12, 1, 103, 103, 1);//Fan // client.Inventory.Add(203009, 12, 1, 0, 0, 1);//Crop // client.Inventory.Add(204009, 12, 1, 103, 123, 1);//Wing 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(671439, 800020, 6, 12, 12, 1, true, false);//epic 1 // client.Inventory.AddSoul(670439, 800810, 6, 12, 12, 1, true, false);//epic 2 client.Inventory.AddSoul(139309, 822071, 6, 12, 12, 1, true, false);//ArmorPirate** client.Inventory.AddSoul(144309, 820073, 6, 12, 12, 1, true, false);//CapPirate** client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace** client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring** client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot** dialog.Text("Thanks*For*This*Stuff*Gift*..*You*Have*Got*Stuff*+12*And*P7*Soul*."); dialog.Option("I*don't*care.", 255); dialog.Send(); break;
} case 8://Warrior** { // PacketHandler.CheckCommand2("@tegotegatege Steed Fixed 12 255 255 0 0 142 39 46", client); // client.Inventory.Add(202009, 12, 1, 123, 123, 1);
// client.Inventory.Add(201009, 12, 1, 103, 103, 1);//Fan // client.Inventory.Add(203009, 12, 1, 0, 0, 1);//Crop // client.Inventory.Add(204009, 12, 1, 103, 123, 1);//Wing 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(624439, 801218, 6, 12, 12, 1, true, false);//Fist Break client.Inventory.AddSoul(624439, 801218, 6, 12, 12, 1, true, false);//Fist Break client.Inventory.AddSoul(624439, 801216, 6, 12, 12, 1, true, false);//Fist Strick client.Inventory.AddSoul(624439, 801216, 6, 12, 12, 1, true, false);//Fist Strick 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(490439, 800111, 6, 12, 12, 1, true, false);//Dagger client.Inventory.AddSoul(131309, 822071, 6, 12, 12, 1, true, false);//ArmorWarrior** client.Inventory.AddSoul(111309, 820073, 6, 12, 12, 1, true, false);//CapWarrior** client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace** client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring** client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot** dialog.Text("Thanks*For*This*Stuff*Gift*..*You*Have*Got*Stuff*+12*And*P7*Soul*."); dialog.Option("I*don't*care.", 255); dialog.Send(); break;
} case 9://Archer** { // PacketHandler.CheckCommand2("@tegotegatege Steed Fixed 12 255 255 0 0 142 39 46", client); // client.Inventory.Add(202009, 12, 1, 123, 123, 1);
// client.Inventory.Add(201009, 12, 1, 103, 103, 1);//Fan // client.Inventory.Add(203009, 12, 1, 0, 0, 1);//Crop //client.Inventory.Add(204009, 12, 1, 103, 123, 1);//Wing 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, 820073, 6, 12, 12, 1, true, false);//CapArcher** client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace** client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring** client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot** dialog.Text("Thanks*For*This*Stuff*Gift*..*You*Have*Got*Stuff*+12*And*P7*Soul*[WarLords]."); dialog.Option("I*don't*care.", 255); dialog.Send(); break;
} case 11://LeeLong* { // PacketHandler.CheckCommand2("@tegotegatege Steed Fixed 12 255 255 0 0 142 39 46", client); // client.Inventory.Add(202009, 12, 1, 123, 123, 1);
// client.Inventory.Add(201009, 12, 1, 103, 103, 1);//Fan // client.Inventory.Add(203009, 12, 1, 0, 0, 1);//Crop //client.Inventory.Add(204009, 12, 1, 103, 123, 1);//Wing client.Inventory.AddSoul(617439, 800111, 6, 12, 12, 1, true, false);//SkyNunchaku* client.Inventory.AddSoul(617439, 800111, 6, 12, 12, 1, true, false);//SkyNunchaku*** client.Inventory.AddSoul(138309, 822071, 6, 12, 12, 1, true, false);//CombatSuit(Lv.140)* client.Inventory.AddSoul(148309, 820073, 6, 12, 12, 1, true, false);//LegendHood** client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace** client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring** client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot** dialog.Text("Thanks*For*This*Stuff*Gift*..*You*Have*Got*Stuff*+12*And*P7*Soul*."); dialog.Option("I*don't*care.", 255); dialog.Send(); break;
} #region Steed > tower > fan > wing > Crop case 10: { uint itemid1 = 300000;//Steed uint itemid2 = 202009;//Tower uint itemid3 = 201009;//Fan uint itemid4 = 204009;//Wing uint itemid5 = 203009;//Crop // uint itemid6 = 500009;//Bow
ConquerItem item1 = new ConquerItem(true); item1.ID = itemid1; item1.Color = KhaledMohamed.Game.Enums.Color.White; item1.Plus = 12; item1.Durability = item1.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid1].Durability; client.Inventory.Add(item1, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item2 = new ConquerItem(true); item2.ID = itemid2; item2.Color = KhaledMohamed.Game.Enums.Color.White; item2.Plus = 12; item2.SocketOne = Game.Enums.Gem.SuperGloryGem; item2.SocketTwo = Game.Enums.Gem.SuperGloryGem; item2.Durability = item2.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid2].Durability; client.Inventory.Add(item2, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item3 = new ConquerItem(true); item3.ID = itemid3; item3.Color = KhaledMohamed.Game.Enums.Color.White; item3.Plus = 12; item3.SocketOne = Game.Enums.Gem.SuperThunderGem; item3.SocketTwo = Game.Enums.Gem.SuperThunderGem; item3.Durability = item3.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid3].Durability; client.Inventory.Add(item3, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item4 = new ConquerItem(true); item4.ID = itemid4; item4.Color = KhaledMohamed.Game.Enums.Color.White; item4.Plus = 12; item4.SocketOne = Game.Enums.Gem.SuperThunderGem; item4.SocketTwo = Game.Enums.Gem.SuperGloryGem; item4.Durability = item4.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid4].Durability; client.Inventory.Add(item4, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item5 = new ConquerItem(true); item5.ID = itemid5; item5.Color = KhaledMohamed.Game.Enums.Color.White; item5.Plus = 12; item5.Durability = item5.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid5].Durability; client.Inventory.Add(item5, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd);
//ConquerItem item6 = new ConquerItem(true); // item6.ID = itemid6; // item6.Color = KhaledMohamed.Game.Enums.Color.White; // item6.Bless = 7; client.Inventory.AddSoul(500009, 800616, 6, 12, 12, 1, true, false);//Bow // item6.AddSoul = 801004; // item6.Enchant = 251; // item6.Plus = 12; // item6.SocketOne = Game.Enums.Gem.SuperDragonGem; // item6.SocketTwo = Game.Enums.Gem.SuperDragonGem; // item6.Durability = item6.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.BaseInformations[itemid6].Durability; // client.Inventory.Add(item6, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd);
break; } #endregion } break; } #endregion
تحت كل كلمة
كود PHP:
client.Inventory.AddSoul(101309, 822071, 6, 12, 12, 1, true, false);//armor p6
هتضيف ده و تعدل علي اول رقم و تمسح القديم و تسيب الجديد
كود PHP:
client.Inventory.Add(101309, 12, 1);
مثال
دلوقتي قابلني ده
كود PHP:
client.Inventory.AddSoul(bebo, 822071, 6, 12, 12, 1, true, false);//armor p6
هاخد منه اول رقم بس الي هوه موضح في المثال بكلمة بيبو
و احطه مكانه الكود ده
كود PHP:
client.Inventory.Add(bebo, 12, 1);
يبقي عملنا ايه مسحنا الكود الي فوق و حطينا الي تحت
|