the dialogue works great.... idk why though but it only works on certain npcs, for example, here is my packet 155
the npc im trying to add a dialogue to a custom officer (npcid 380) but the dialogue only works if i add the NpcWanneTalk to the pking shop (npcid 555), also, when i click on the npc, it is supposed to print their npcid, but for most npcs that i spawn, it always prints "NPCID: 112" instead of their true id.... any ideas?Code:case 155: //first Click npc int NPCSlot = (misc.HexToInt(inStream.buffer, 0, packetSize) / 1000); int NPCID = server.npcHandler.npcs[NPCSlot].npcType; faceNPC(NPCSlot); boolean PutNPCCoords = false; switch(NPCID) { case 2261: // zamorak mage abyss = true; selectoption("@[email protected] you like to teleport to the abyss?", "Yes", "No", ""); break; case 2262: //magic shop PutNPCCoords = true; WanneShop = 32; break; case 944: // pking shop PutNPCCoords = true; WanneShop = 42; break; case 552: // weapon shop PutNPCCoords = true; WanneShop = 47; break; case 550: //ranging shop PutNPCCoords = true; WanneShop = 11; break; case 796: // ModZone shop PutNPCCoords = true; WanneShop = 46; break; case 3117: // armor shop PutNPCCoords = true; WanneShop = 44; break; case 2167: // team capes 1 PutNPCCoords = true; WanneShop = 33; break; case 2168: // team capes 2 PutNPCCoords = true; WanneShop = 34; break; case 555: //pking shop PutNPCCoords = true; WanneShop = 39; break; case 380: PutNPCCoords = true; NpcWanneTalk = 1; break; case 1332: //lobster and swordfish PutNPCCoords = true; server.skillHandler.fishing("lobster", 40, 900, 377, "lobster pot", 301, 1332, 619, playerId); break; } misc.println("NPCID: "+NPCID); if (PutNPCCoords == true) { skillX = server.npcHandler.npcs[NPCSlot].absX; skillY = server.npcHandler.npcs[NPCSlot].absY; } break;





