EDIT: I have fixed the errors, but when ingame the actual examine does not work, however, if i spawn a man and right click and press 'talk to' it will open the drops for the npc,
Printable View
EDIT: I have fixed the errors, but when ingame the actual examine does not work, however, if i spawn a man and right click and press 'talk to' it will open the drops for the npc,
Use an IDE, [Only registered and activated users can see links. Click Here To Register...]
Quote:
Originally Posted by harryl [Only registered and activated users can see links. Click Here To Register...]
ive been trying to use eclipse but when i go to run the server i cant even run it lol - it says could not find or load main class Launcher
so the "talk to" option is working as the code was intended? just not in the right option?Quote:
Originally Posted by lower211 [Only registered and activated users can see links. Click Here To Register...]
so in your NpcHandler class,
you surely have handled the NPC to show the examine?
if "talk to" is the first option, you must have your code handled in
where it should be handled inCode:public static void handleOption1(final Player player, InputStream stream) {
which is still in the NpcHandler class. just further down...Code:public static void handleExamine(final Player player, InputStream stream) {
if you need any more help, feel free to pm me.