pretty self explanation the only issue Im facing is scripts keep returning null when it suppose the script like hontale_keroben..
it would be nice if someone is able to give me clue on getting this working as of now it works nice..
you can use it to help you find npcs in the map without going through so much just to find the npc id in that map or you can check if a npc is there in map all by !npcinmapCode:public static class NpcInMap extends CommandExecute { public int execute(MapleClient c, String[] splitted) { List<MapleNPC> mNpc = c.getPlayer().getMap().getAllNPCs(); for (MapleNPC mNpc2 : mNpc) { c.getPlayer().dropMessage(6, " Npcs ID: " + mNpc2.getId() + " Npcs Name: " + mNpc2.getName() + " Scripts Name: " + NPCConversationManager.getInstance().getScript()); } return 1; } }
this work for odin based/lithium based source.
have fun.




Reply With Quote


