I have a couple of NPCs that might be useful to some people this is all for elite Coemu
first one is a plus 12 NPC that gives out full plus 12 but they are low level. all of these should go under handler then NPCs then OLDStyle.cs
Code:
#region plus 12 npc case 30096: //richard { if (LinkBack == 0) { Text("yo i can give you plus 12 crap hurry and choose you class before the gaurds find me.", CSocket); //Remove one ) and add, CSocket Link("Trojan", 1, CSocket); Link("Warrior", 2, CSocket); Link("Archer", 3, CSocket); Link("tao", 4, CSocket); Link("Ninja", 5, CSocket); Link("weapons", 6, CSocket); Link("Im sry i dont like illegal stuff.", 255, CSocket); Face(19, CSocket); End(CSocket); } else if (LinkBack == 1) { AddItem(130009, 12, 7, 255, 13, 13, 1, CSocket);//LeatherArmor AddItem(410009, 12, 7, 255, 13, 13, 1, CSocket);//SteelBlade AddItem(480009, 12, 7, 255, 13, 13, 1, CSocket);//JustClub AddItem(120009, 12, 7, 255, 13, 13, 1, CSocket);//LightNecklace AddItem(150009, 12, 7, 255, 13, 13, 1, CSocket);//IronRing AddItem(160019, 12, 7, 255, 13, 13, 1, CSocket);//OxhideBoots AddItem(118009, 12, 7, 255, 13, 13, 1, CSocket);//GuardCoronet AddItem(202009, 12, 7, 255, 13, 13, 1, CSocket);//startower AddItem(201009, 12, 7, 255, 13, 13, 1, CSocket);//heavenfan } else if (LinkBack == 2) { AddItem(131009, 12, 7, 255, 13, 13, 1, CSocket);//OxhideArmor AddItem(480009, 12, 7, 255, 13, 13, 1, CSocket);//JustClub AddItem(900109, 12, 7, 255, 13, 13, 1, CSocket);//dragonshield AddItem(120009, 12, 7, 255, 13, 13, 1, CSocket);//LightNecklace AddItem(150009, 12, 7, 255, 13, 13, 1, CSocket);//IronRing AddItem(160019, 12, 7, 255, 13, 13, 1, CSocket);//OxhideBoots AddItem(111009, 12, 7, 255, 13, 13, 1, CSocket);//IronHelmet AddItem(202009, 12, 7, 255, 13, 13, 1, CSocket);//startower AddItem(201009, 12, 7, 255, 13, 13, 1, CSocket);//heavenfan } else if (LinkBack == 3) { AddItem(133009, 12, 7, 255, 13, 13, 1, CSocket);//DeerskinCoat AddItem(500009, 12, 7, 255, 13, 13, 1, CSocket);//BambooBow AddItem(120009, 12, 7, 255, 13, 13, 1, CSocket);//LightNecklace AddItem(150009, 12, 7, 255, 13, 13, 1, CSocket);//IronRing AddItem(160019, 12, 7, 255, 13, 13, 1, CSocket);//OxhideBoots AddItem(113009, 12, 7, 255, 13, 13, 1, CSocket);//BadgerHat AddItem(202009, 12, 7, 255, 13, 13, 1, CSocket);//startower AddItem(201009, 12, 7, 255, 13, 13, 1, CSocket);//heavenfan } else if (LinkBack == 4) { AddItem(134009, 12, 7, 255, 13, 13, 1, CSocket);//TaoRobe AddItem(421009, 12, 7, 255, 13, 13, 1, CSocket);//PeachBacksword AddItem(121009, 12, 7, 255, 13, 13, 1, CSocket);//PerfumeBag AddItem(152019, 12, 7, 255, 13, 13, 1, CSocket);//PeachBracelet AddItem(160019, 12, 7, 255, 13, 13, 1, CSocket);//OxhideBoots AddItem(114009, 12, 7, 255, 13, 13, 1, CSocket);//DestinyCap AddItem(202009, 12, 7, 255, 13, 13, 1, CSocket);//startower AddItem(201009, 12, 7, 255, 13, 13, 1, CSocket);//heavenfan } else if (LinkBack == 5) { AddItem(135009, 12, 7, 255, 13, 13, 1, CSocket);//LowerNinjaVest AddItem(601009, 12, 7, 255, 13, 13, 1, CSocket);//MetalKatana AddItem(601009, 12, 7, 255, 13, 13, 1, CSocket);//MetalKatana AddItem(120009, 12, 7, 255, 13, 13, 1, CSocket);//LightNecklace AddItem(150009, 12, 7, 255, 13, 13, 1, CSocket);//IronRing AddItem(160019, 12, 7, 255, 13, 13, 1, CSocket);//OxhideBoots AddItem(112009, 12, 7, 255, 13, 13, 1, CSocket);//FortitudeVeil AddItem(202009, 12, 7, 255, 13, 13, 1, CSocket);//startower AddItem(201009, 12, 7, 255, 13, 13, 1, CSocket);//heavenfan } else if (LinkBack == 6) { AddItem(601009, 12, 7, 255, 13, 13, 1, CSocket);//MetalKatana AddItem(601009, 12, 7, 255, 13, 13, 1, CSocket);//MetalKatana AddItem(421009, 12, 7, 255, 13, 13, 1, CSocket);//PeachBacksword AddItem(500009, 12, 7, 255, 13, 13, 1, CSocket);//BambooBow AddItem(480009, 12, 7, 255, 13, 13, 1, CSocket);//JustClub AddItem(410009, 12, 7, 255, 13, 13, 1, CSocket);//SteelBlade AddItem(420009, 12, 7, 255, 13, 13, 1, CSocket);//VanSword } } break; #endregion
Code:
#region cloudsaint cps case 19862://cloudsaint { if (LinkBack == 0) { Text("Would like to exchange gold for cps?", CSocket); Link("50kkgold for 5kcps", 1, CSocket); Link("Nah No thanks!!", 255, CSocket); End(CSocket); } else if (LinkBack == 1) if (CSocket.Client.Money >= 50000000) { Money(-50000000, CSocket); CPs(+5000, CSocket); } else { Text("How dare you try to rip me off! Get lost, Or get my money!", CSocket); Link("I'm sorry, I didn't realize.", 255, CSocket); End(CSocket); } } break; #endregion
Code:
#region guild conducter 1 case 104827: // Guild Map-GC 1 { if(LinkBack == 0) { Text("Hello I can teleport you to Twin city, \nnFor a tiny fee of 500 gold!", CSocket); Link("Sure here ya are.", 1, CSocket); Link("No Thanks!", 255, CSocket); End(CSocket); } else if(LinkBack == 1) if(CSocket.Client.Money >=500) { Teleport(1002, 439, 338, 0, CSocket); Money(-500, CSocket); } else { Text("I'm sorry you do not have the required Gold.", CSocket); Link("Okay, I will be back when I have 500 Gold.", 255, CSocket); End(CSocket); } } break; #endregion #region guild conducter 2 case 104821: // Guild Map-GC 2 { if(LinkBack == 0) { Text("Hello I can teleport you to Mystic Castle, \nFor a tiny fee of 500 gold!", CSocket); Link("Sure here ya are.", 1, CSocket); Link("No Thanks!", 255, CSocket); End(CSocket); } else if(LinkBack == 1) if(CSocket.Client.Money >=500) { Teleport(1001, 272, 181, 0, CSocket); Money(-500, CSocket); } else { Text("I'm sorry you do not have the required Gold.", CSocket); Link("Okay, I will be back when i have 500 Gold.", 255, CSocket); End(CSocket); } } break; #endregion #region guild conducter 3 case 104815: // Guild Map-GC 3 { if(LinkBack == 0) { Text("Hello I can teleport you to Ape Mountain, \nFor a tiny fee of 500 gold!", CSocket); Link("Sure here ya are.", 1, CSocket); Link("No Thanks!", 255, CSocket); End(CSocket); } else if(LinkBack == 1) if(CSocket.Client.Money >=500) { Teleport(1011, 240, 243, 0, CSocket); Money(-500, CSocket); } else { Text("I'm sorry you do not have the required Gold.", CSocket); Link("Okay, I will be back when i have 500 Gold.", 255, CSocket); End(CSocket); } } break; #endregion #region guild conducter 4 case 104809: // Guild Map-GC 4 { if (LinkBack == 0) { Text("Hello I can teleport you to Bird Island, \nFor a tiny fee of 500 gold!", CSocket); Link("Sure here ya are.", 1, CSocket); Link("No Thanks!", 255, CSocket); End(CSocket); } else if (LinkBack == 1) if (CSocket.Client.Money >= 500) { Teleport(1015, 705, 564, 0, CSocket); Money(-500, CSocket); } else { Text("I'm sorry you do not have the required Gold.", CSocket); Link("Okay, I will be back when i have 500 Gold.", 255, CSocket); End(CSocket); } } break; #endregion
Code:
#region MysticMerchant case 12121: { if (LinkBack == 0) { Text("Hello " + CSocket.Client.Name + ", I have many good things to sell you for cheap.\n What would you like?", CSocket); Link("DragonBall [10,000,000]", 10, CSocket); Link("Super Prayer Stone[65,000,000]", 11, CSocket); Link("Super Dragon Gem [50,000,000]", 12, CSocket); Link("Super Phoenix Gem [50,000,000]", 13, CSocket); Link("Super Rainbow Gem [50,000,000]", 14, CSocket); Link("Super Violet Gem [35,000,000]", 15, CSocket); Link("Next Page.", 1, CSocket); Link("Just passing by.", 255, CSocket); Face(1, CSocket); End(CSocket); } else if (LinkBack == 1) { Text("Hello " + CSocket.Client.Name + ", I have many good things to sell you for cheap.\n What would you like?", CSocket); Link("Super Moon Gem [35,000,000]", 16, CSocket); Link("Super Kylin Gem [28,000,000]", 17, CSocket); Link("Super Fury Gem [35,000,000]", 18, CSocket); Link("Previous Page.", 0, CSocket); Link("Just passing by.", 255, CSocket); Face(1, CSocket); End(CSocket); } #region DragonBall else if (LinkBack == 10) { if (CSocket.Client.Money >= 10000000) { if (CSocket.Client.Inventory.Count <= 39) { Money(-10000000, CSocket); AddItem(1088000, 1, CSocket); } else { Text("Im Sorry but you dont have enough space in your bag.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } else { Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } #endregion #region Super Praying Stone else if (LinkBack == 11) { if (CSocket.Client.Money >= 65000000) { if (CSocket.Client.Inventory.Count <= 39) { Money(-65000000, CSocket); AddItem(1200002, 1, CSocket); } else { Text("Im Sorry but you dont have enough space in your bag.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } else { Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } #endregion #region Super DragonGem else if (LinkBack == 12) { if (CSocket.Client.Money >= 50000000) { if (CSocket.Client.Inventory.Count <= 39) { Money(-50000000, CSocket); AddItem(700013, 1, CSocket); } else { Text("Im Sorry but you dont have enough space in your bag.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } else { Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } #endregion #region Super PheonixGem else if (LinkBack == 13) { if (CSocket.Client.Money >= 50000000) { if (CSocket.Client.Inventory.Count <= 39) { Money(-50000000, CSocket); AddItem(700003, 1, CSocket); } else { Text("Im Sorry but you dont have enough space in your bag.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } else { Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } #endregion #region Super RainbowGem else if (LinkBack == 14) { if (CSocket.Client.Money >= 50000000) { if (CSocket.Client.Inventory.Count <= 39) { Money(-50000000, CSocket); AddItem(700033, 1, CSocket); } else { Text("Im Sorry but you dont have enough space in your bag.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } else { Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } #endregion #region Super VioletGem else if (LinkBack == 15) { if (CSocket.Client.Money >= 35000000) { if (CSocket.Client.Inventory.Count <= 39) { Money(-35000000, CSocket); AddItem(700053, 1, CSocket); } else { Text("Im Sorry but you dont have enough space in your bag.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } else { Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } #endregion #region Super MoonGem else if (LinkBack == 16) { if (CSocket.Client.Money >= 35000000) { if (CSocket.Client.Inventory.Count <= 39) { Money(-35000000, CSocket); AddItem(700063, 1, CSocket); } else { Text("Im Sorry but you dont have enough space in your bag.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } else { Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } #endregion #region Super KylinGem else if (LinkBack == 17) { if (CSocket.Client.Money >= 28000000) { if (CSocket.Client.Inventory.Count <= 39) { Money(-28000000, CSocket); AddItem(700043, 1, CSocket); } else { Text("Im Sorry but you dont have enough space in your bag.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } else { Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } #endregion #region Super Fury else if (LinkBack == 18) { if (CSocket.Client.Money >= 35000000) { if (CSocket.Client.Inventory.Count <= 39) { Money(-35000000, CSocket); AddItem(700023, 1, CSocket); } else { Text("Im Sorry but you dont have enough space in your bag.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } else { Text("Im Sorry but you dont have enough Gold to buy this item.", CSocket); Link("Ok Thanks.", 255, CSocket); Face(1, CSocket); End(CSocket); } } #endregion break; } #endregion
just tell me if they helped and worked.