Nathanat3r 2 Posted June 13, 2020 Report Share Posted June 13, 2020 SO i've basically just moved the kraken to its correct map area on my server using the teleportshandler.java and now when i tele to the npc they're all there but it dcs me and sends me back home rev is 474 error throwing up is: [2020-06-13 06:30:11] java.lang.NullPointerException [2020-06-13 06:30:11] at com.xxx.rs2.entity.pathfinding.StraightPathFinder.canAttackOver(StraightPathFinder.java:30) [2020-06-13 06:30:11] at com.xxx.rs2.entity.pathfinding.StraightPathFinder.isInteractionPathClear(StraightPathFinder.java:67) [2020-06-13 06:30:11] at com.xxx.rs2.entity.following.Following.getCombatFollowLocation(Following.java:93) [2020-06-13 06:30:11] at com.xxx.rs2.entity.following.Following.updateWaypoint(Following.java:271) [2020-06-13 06:30:11] at com.xxx.rs2.entity.player.Player.reset(Player.java:1726) [2020-06-13 06:30:11] at com.xxx.rs2.entity.World.process(World.java:404) [2020-06-13 06:30:11] at com.xxx.core.GameThread.cycle(GameThread.java:131) [2020-06-13 06:30:11] at com.xxx.core.GameThread.run(GameThread.java:146) thanks in advance Link to comment Share on other sites More sharing options...
Fosh 2 Posted June 13, 2020 Report Share Posted June 13, 2020 You're teleporting to it too close. Try moving the tele spot. Link to comment Share on other sites More sharing options...
Nathanat3r 2 Posted June 13, 2020 Author Report Share Posted June 13, 2020 Am I actually being that foolish haha, let me update and I'll get back to you Link to comment Share on other sites More sharing options...
Nathanat3r 2 Posted June 13, 2020 Author Report Share Posted June 13, 2020 16 minutes ago, Nathanat3r said: Am I actually being that foolish haha, let me update and I'll get back to you Nah didn't seem to work, I can't seem to attack the kraken after I moved it from black maps to actual location ? but as soon as I get close enough to attack it just dcs me still Link to comment Share on other sites More sharing options...
Nathanat3r 2 Posted June 13, 2020 Author Report Share Posted June 13, 2020 (edited) This is the hidden content, please Sign In or Sign Up that's the layout I've put the Kraken in not sure if that helps Edited June 13, 2020 by Nathanat3r Link to comment Share on other sites More sharing options...
Nathanat3r 2 Posted June 13, 2020 Author Report Share Posted June 13, 2020 Right so i got it to stop kicking me the only issue i have now is i can't attack the pools for some reason in the new location but if i move the mob data back to the old place where there was no maps then i'm able to attack again which is really weird; this is what they're spawned with case 250058://Kraken TaskQueue.queue(new Task(5) { @Override public void execute() { int[][] DATA = { { 493, 2275, 10034 }, { 493, 2275, 10038 }, { 493, 2284, 10034 }, { 493, 2284, 10038 }, { 496, 2278, 10035 } }; for (int i = 0; i < DATA.length; i++) { Mob mob = new Mob(player, DATA[0], false, false, false, new Location(DATA[1], DATA[2], player.getZ())); mob.setCanAttack(false); player.face(mob); } stop(); } @Override public void onStop() { player.whirlpoolsHit = 0; player.send(new SendMessage("Welcome to Kraken's cave.")); } }); return true; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now