Jump to content
Existing user? Sign In

Sign In



Sign Up

Any Ideas?


Nathanat3r

Recommended Posts

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Contact

ltlimes

RSPS Partners

RedemptionRSPS

What is a RSPS?

A RSPS, also known as RuneScape private server, is an online game based on RuneScape, and controlled by independent individuals.

Popular RSPS Servers

oldschoolrsps Runewild RedemptionRSPS

Disclaimer

Runesuite is not affiliated with runescape, jagex, rune-server and runelocus in any way & exists solely for educational purposes.

×
×
  • Create New...