Jump to content
RF-Dev | RF Online Development

Mascoty

Member
  • Content Count

    2
  • Joined

  • Last visited

  1. int i; string npc_name; for(i = 0; i < header.blocks; i++) { switch(i){ case 0: npc_name = "Green Eye"; break; case 1: npc_name = "Madison"; break; case 2: npc_name = "Cecil Atkin"; break; case 3: npc_name = "El Luna"; break; case 4: npc_name = "Charlie"; break; case 5: npc_name = "Taha Azlani"; break; case 6: npc_name = "Monk"; break; case 7: npc_name = "Jaden"; break; case 8: npc_name = "Jules"; break; case 9: npc_name = "Ashton Shar"; break; case 10: npc_name = "Durba"; break; case 11: npc_name = "Jun"; break; case 12: npc_name = "Tatar"; break; case 13: npc_name = "Eldon Carter"; break; case 14: npc_name = "Honakan"; break; case 15: npc_name = "Alen Benter"; break; case 16: npc_name = "Brook"; break; case 17: npc_name = "Kalusa"; break; case 18: npc_name = "Lane Mors"; break; case 19: npc_name = "Unmanned Transaction"; break; case 20: npc_name = "Unmanned Transaction"; break; case 21: npc_name = "Unmanned Transaction"; break; case 22: npc_name = "Unmanned Transaction"; break; case 23: npc_name = "Asha Mirab"; break; case 24: npc_name = "Rezzo Gihon"; break; case 25: npc_name = "Miti"; break; case 26: npc_name = "Jaire Clagen"; break; case 27: npc_name = "Gijol Logue"; break; case 28: npc_name = "Banan Lys"; break; case 29: npc_name = "Fairy"; break; case 30: npc_name = "SynPask"; break; case 31: npc_name = "Epona Idun"; break; case 32: npc_name = "Noa Del"; break; case 33: npc_name = "Elli Ieeda"; break; case 34: npc_name = "Abnova Haim"; break; case 35: npc_name = "Minohr"; break; case 36: npc_name = "Zeraf"; break; case 37: npc_name = "Jamer"; break; case 38: npc_name = "Quiane Kahn"; break; case 39: npc_name = "Methud"; break; case 40: npc_name = "Hoder"; break; case 41: npc_name = "Muni"; break; case 42: npc_name = "Rir"; break; case 43: npc_name = "Unmanned Transaction"; break; case 44: npc_name = "Unmanned Transaction"; break; case 45: npc_name = "Unmanned Transaction"; break; case 46: npc_name = "Mabon Bahn"; break; case 47: npc_name = "Aias"; break; case 48: npc_name = "Miti"; break; case 49: npc_name = "NC-2901"; break; case 50: npc_name = "NC-3589A"; break; case 51: npc_name = "NC-27801B"; break; case 52: npc_name = "NC-5985"; break; case 53: npc_name = "NC-66333"; break; case 54: npc_name = "NC-90018A"; break; case 55: npc_name = "NC-5874"; break; case 56: npc_name = "NC-110110B"; break; case 57: npc_name = "NC-20551A"; break; case 58: npc_name = "NC-69800"; break; case 59: npc_name = "NC-854125"; break; case 60: npc_name = "NC-441100"; break; case 61: npc_name = "Adjutant 001B"; break; case 62: npc_name = "NC-13567"; break; case 63: npc_name = "NC-49001"; break; case 64: npc_name = "NC-44484A"; break; case 65: npc_name = "Unmanned Transaction"; break; case 66: npc_name = "Unmanned Transaction"; break; case 67: npc_name = "Unmanned Transaction"; break; case 68: npc_name = "Unmanned Transaction"; break; case 69: npc_name = "NC-57571B"; break; case 70: npc_name = "NC-255"; break; case 71: npc_name = "Miti"; break; case 72: npc_name = "Miti"; break; case 73: npc_name = "Miti"; break; case 74: npc_name = "Miti"; break; case 75: npc_name = "MISCELLANEOUS"; break; case 76: npc_name = "MISCELLANEOUS"; break; case 77: npc_name = "MISCELLANEOUS"; break; case 78: npc_name = "MISCELLANEOUS"; break; case 79: npc_name = "TOOL"; break; case 80: npc_name = "TOOL"; break; case 81: npc_name = "TOOL"; break; case 82: npc_name = "TOOL"; break; case 83: npc_name = "TOOL"; break; case 84: npc_name = "TOOL"; break; case 85: npc_name = "TOOL"; break; case 86: npc_name = "NC-35234"; break; case 87: npc_name = "TOOL"; break; case 88: npc_name = "Bo Hammer"; break; case 89: npc_name = "Ziz Oadasha"; break; case 90: npc_name = "Lothan the 3rd"; break; case 91: npc_name = "TOOL"; break; case 92: npc_name = "Gapaeng Schirak"; break; case 93: npc_name = "Maku Luketa"; break; case 94: npc_name = "NC-359804F"; break; case 95: npc_name = "Large UMT"; break; case 96: npc_name = "Large UMT"; break; case 97: npc_name = "Large UMT"; break; case 98: npc_name = "Large UMT"; break; case 99: npc_name = "Large UMT"; break; case 100: npc_name = "Large UMT"; break; case 101: npc_name = "Garulung"; break; case 102: npc_name = "Accloma"; break; case 103: npc_name = "Hansen"; break; case 104: npc_name = "AR14-31-0496"; break; case 105: npc_name = "Rockwell"; break; case 106: npc_name = "Railia"; break; case 107: npc_name = "AR24-33-2581"; break; case 108: npc_name = "Draka Bell"; break; case 109: npc_name = "Casandra"; break; case 110: npc_name = "AR33-32-1173"; break; case 111: npc_name = "Caden"; break; case 112: npc_name = "Sara Meser"; break; case 113: npc_name = "AR12-32-2003"; break; case 114: npc_name = "Asehan"; break; case 115: npc_name = "Syris"; break; case 116: npc_name = "AR23-14-5513"; break; case 117: npc_name = "Reel Mars"; break; case 118: npc_name = "Louian Cury"; break; case 119: npc_name = "AR31-11-9983"; break; case 120: npc_name = "Carrion"; break; case 121: npc_name = "Beny"; break; case 122: npc_name = "AR11-18-6345"; break; case 123: npc_name = "Tosca"; break; case 124: npc_name = "Nora"; break; case 125: npc_name = "AR22-54-5078"; break; case 126: npc_name = "Nayan Cadea"; break; case 127: npc_name = "Isillia"; break; case 128: npc_name = "AR14-31-0486"; break; case 129: npc_name = "Nosta Bell"; break; case 130: npc_name = "Daesa"; break; case 131: npc_name = "AR24-33-2601"; break; case 132: npc_name = "Gem Master"; break; case 133: npc_name = "Jewel Master"; break; case 134: npc_name = "Stone Master"; break; case 135: npc_name = "Wadin"; break; case 136: npc_name = "Porty"; break; case 137: npc_name = "Kaska Dune"; break; case 138: npc_name = "Casper SilverWind"; break; case 139: npc_name = "AW63-33-7148"; break; case 140: npc_name = "PA71-02-1316"; break; case 141: npc_name = "Crea Windom"; break; case 142: npc_name = "Valkyrie Rootso"; break; case 143: npc_name = "Emperial Dragon Knight"; break; case 144: npc_name = "Dark Warder"; break; case 145: npc_name = "Dark Desolator"; break; case 146: npc_name = "Dark Annihialtor"; break; case 147: npc_name = "Emperial Dragon Knight"; break; case 148: npc_name = "Dark Berserker"; break; case 149: npc_name = "Dark Sniper"; break; case 150: npc_name = "Dark Chandra"; break; case 151: npc_name = "Emperial Dragon Knight"; break; case 152: npc_name = "Dark Zealot"; break; case 153: npc_name = "Dark Redeemer"; break; case 154: npc_name = "Dark ArchMagus"; break; case 155: npc_name = "Feriod"; break; case 156: npc_name = "T-310"; break; case 157: npc_name = "CouponMan"; break; case 158: npc_name = "Mether"; break; case 159: npc_name = "CouponMan"; break; case 160: npc_name = "Lavendor"; break; case 161: npc_name = "CouponMan"; break; case 162: npc_name = "Temple of Honor"; break; case 163: npc_name = "Temple of Honor"; break; case 164: npc_name = "Temple of Honor"; break; case 165: npc_name = "Captured Keeper"; break; case 166: npc_name = "Captured Keeper"; break; case 167: npc_name = "Captured Keeper"; break; case 168: npc_name = "PointItemNPC"; break; case 169: npc_name = "PointItemNPC"; break; case 170: npc_name = "PointItemNPC"; break; case 171: npc_name = "Sly"; break; case 172: npc_name = "Honkey"; break; case 173: npc_name = "HornBart"; break; case 174: npc_name = "David Kham"; break; case 175: npc_name = "Jhan Chrisdoff"; break; case 176: npc_name = "Gamawood"; break; case 177: npc_name = "Nandereul"; break; case 178: npc_name = "Biato"; break; case 179: npc_name = "Trust"; break; case 180: npc_name = "Muni"; break; case 181: npc_name = "Crown"; break; case 182: npc_name = "Max Crown"; break; case 183: npc_name = "Ordinary"; break; case 184: npc_name = "Stupor"; break; case 185: npc_name = "Griantinu"; break; case 186: npc_name = "X"; break; case 187: npc_name = "AS01-R1-3814"; break; case 188: npc_name = "aP0P-CR-1944"; break; case 189: npc_name = "AS05-R1-D971"; break; case 190: npc_name = "Skin Trouble"; break; case 191: npc_name = "Unmanned Collecting Machine"; break; case 192: npc_name = "Wave of Dimension"; break; case 193: npc_name = "Relics of Snatcher"; break; case 194: npc_name = "Relics of Snatcher"; break; case 195: npc_name = "Relics of Snatcher"; break; case 196: npc_name = "Najal's vicious mind"; break; case 197: npc_name = "AS01-R1-1131"; break; case 198: npc_name = "Young"; break; case 199: npc_name = "As02-R1-547022"; break; case 200: npc_name = "Hoont"; break; case 201: npc_name = "Radis"; break; case 202: npc_name = "Crodiam"; break; case 203: npc_name = "Jun"; break; case 204: npc_name = "As03-R1-141733"; break; case 205: npc_name = "SetchuCream"; break; case 206: npc_name = "Poreann"; break; case 207: npc_name = "AS08-R1-Q109"; break; case 208: npc_name = "AS03-R1-08A4"; break; case 209: npc_name = "Baffrium"; break; case 210: npc_name = "Silverun"; break; case 211: npc_name = "SnaryHorn"; break; case 212: npc_name = "Romul"; break; case 213: npc_name = "Research Switch Gear"; break; case 214: npc_name = "Hologram Machine 1"; break; case 215: npc_name = "Hologram Machine 2"; break; case 216: npc_name = "Hologram Machine 3"; break; case 217: npc_name = "Hologram Machine 4"; break; case 218: npc_name = "Hologram Machine 5"; break; case 219: npc_name = "Hologram Machine 6"; break; case 220: npc_name = "Floating Bike"; break; case 221: npc_name = "Remote Map and Compass"; break; case 222: npc_name = "A piece of diary"; break; case 223: npc_name = "Locked Carrier"; break; case 224: npc_name = "First Heap of Earth"; break; case 225: npc_name = "Second Heap of Earth"; break; case 226: npc_name = "Third Heap of Earth"; break; case 227: npc_name = "Fourth Heap of Earth"; break; case 228: npc_name = "Fifth Heap of Earth"; break; case 229: npc_name = "Damaged Piece of Tale"; break; case 230: npc_name = "Damaged Piece of Wing"; break; case 231: npc_name = "Damaged Engine"; break; case 232: npc_name = "Damaged Piece of Head"; break; case 233: npc_name = "Damaged Navigation"; break; case 234: npc_name = "Load Package"; break; case 235: npc_name = "Load Package"; break; case 236: npc_name = "Load Package"; break; case 237: npc_name = "Breathing Rock"; break; case 238: npc_name = "FG-02-3341"; break; case 239: npc_name = "FG-02-1918"; break; case 240: npc_name = "FG-02-3811"; break; case 241: npc_name = "FG-02-4221"; break; case 242: npc_name = "23rd Marker"; break; case 243: npc_name = "27th Marker"; break; case 244: npc_name = "23rd Marker"; break; case 245: npc_name = "27th Marker"; break; case 246: npc_name = "Redo"; break; case 247: npc_name = "Rinovo"; break; case 248: npc_name = "Rusus"; break; case 249: npc_name = "Retro"; break; case 250: npc_name = "Q-83A5"; break; case 251: npc_name = "PCSA"; break; case 252: npc_name = "_"; break; case 253: npc_name = "_"; break; case 254: npc_name = "_"; break; case 255: npc_name = "_"; break; case 256: npc_name = "_"; break; case 257: npc_name = "PWA"; break; case 258: npc_name = "PCSB"; break; case 259: npc_name = "_"; break; case 260: npc_name = "_"; break; case 261: npc_name = "_"; break; case 262: npc_name = "_"; break; case 263: npc_name = "_"; break; case 264: npc_name = "PWB"; break; case 265: npc_name = "PCSC"; break; case 266: npc_name = "_"; break; case 267: npc_name = "_"; break; case 268: npc_name = "_"; break; case 269: npc_name = "_"; break; case 270: npc_name = "_"; break; case 271: npc_name = "PWC"; break; case 272: npc_name = "Kaska Dune"; break; case 273: npc_name = "Casper Silverwind"; break; case 274: npc_name = "AW63-33-7148"; break; case 275: npc_name = "PA71-02-1316"; break; case 276: npc_name = "Crea Windom"; break; case 277: npc_name = "Valkyrie Rootso"; break; case 277: npc_name = "Valkyrie Rootso"; break; } switch(npc_name) { case "NC-66333": item.total_items -= 3; item.item[11].code = 0; item.item[12].code = 0; item.item[13].code = 0; break; case "NC-5985": item.total_items -= 3; item.item[11].code = 0; item.item[12].code = 0; item.item[13].code = 0; break; case "El Luna": item.total_items -= 3; item.item[11].code = 0; item.item[12].code = 0; item.item[13].code = 0; break; case "Charlie": item.total_items -= 3; item.item[11].code = 0; item.item[12].code = 0; item.item[13].code = 0; break; case "Fairy": item.total_items -= 3; item.item[11].code = 0; item.item[12].code = 0; item.item[13].code = 0; break; case "SynPask": item.total_items -= 3; item.item[11].code = 0; item.item[12].code = 0; item.item[13].code = 0; break; } }
  2. Mascoty

    RF GameCP V2

    use "localhost\\sqlexpress, 1433" in config.php or use 127.0.0.1, in php7 + change all functions ereg_replace to > str_replace remove upgrade = "" in if condition if ($item_name == '' || $item_price < 0 || $item_dbcode == '') { in user_itemshop.php
×