Thread: Combat Is bugged Help?

Results 1 to 2 of 2
  1. #1 Combat Is bugged Help? 
    Registered Member
    Join Date
    Jan 2016
    Posts
    14
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    So i'm Getting This Error On Eclipse .
    The Quoted things are the erros im getting and i have no clue on Fixing Them I Just bought a vps last night to start my server and i came acrossed this please anyone help?
    Jan 06, 2016 10:14:01 AM server.core.World handleError
    SEVERE: An error occurred in an executor service! The server will be halted immediately.
    java.lang.NullPointerException
    at server.clip.region.Region.getClipping(Region.java: 341)
    at server.model.players.PathFinder.findRoute(PathFind er.java:58)
    at server.model.players.PlayerAssistant.playerWalk(Pl ayerAssistant.java:4208)
    at server.model.players.PlayerAssistant.followNpc(Pla yerAssistant.java:2463)
    at server.model.players.Player.doFollow(Player.java:2 376)
    at server.model.players.Client.process(Client.java:89 5)
    at server.core.PlayerHandler.process(PlayerHandler.ja va:135)
    at server.Server$1.execute(Server.java:158)
    at server.core.GameEngine$1.run(GameEngine.java:47)
    at server.core.GameEngine$5.run(GameEngine.java:112)
    at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:266)
    at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.access$201(ScheduledThreadPoolE xecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.run(ScheduledThreadPoolExecutor .java:293)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    Region.java:341
    public static int getClipping(final int x, final int y, int height) {
    if (height > 3) {
    height = 0;
    }
    final int regionX = x >> 3;
    final int regionY = y >> 3;
    final int regionId = ((regionX / 8) << 8) + (regionY / 8);
    for (final Region r : regions) {
    if (r.id() == regionId) {
    return r.getClip(x, y, height);
    }
    }
    return 0;
    }
    pathfinder.java:58
    && (Region.getClipping(curAbsX, curAbsY - 1, c.heightLevel) & 0x1280102) == 0) {
    PlayerAssistant.java:4208
    public void playerWalk(int x, int y) {
    PathFinder.getPathFinder().findRoute(c, x, y, true, 1, 1);
    }
    } else if (otherX > c.getX() && otherY < c.getY()) {
    playerWalk(getMove(c.getX(), otherX - 1),
    getMove(c.getY(), otherY + 1));
    player.java:2376
    } else if (otherX > c.getX() && otherY < c.getY()) {
    playerWalk(getMove(c.getX(), otherX - 1),
    getMove(c.getY(), otherY + 1));
    Client.java:895
    public void process() {// get this to print out,
    super.process();
    doFollow(false);
    //getPA().sendFrame126("Players Online: "+PlayerHandler.getPlayerCount(), 640);
    if (stunTimer > 0) {
    if (stunTimer > 4)
    gfx100(80);
    stunTimer--;
    }
    playerhandler.java135
    player.process();? error?
    server.java158
    Server.playerHandler.process();
    gameengine.java:47
    task.execute(GameEngine.this);
    gameengine.java112
    runnable.run();
    executors.java:511
    public T call() {
    task.run();
    return result;
    }
    }
    futuretask.java:266
    result = c.call();
    scheduledthreadpoolexecutor.java:180
    private class ScheduledFutureTask<V>
    extends FutureTask<V> implements RunnableScheduledFuture<V> {
    scheduledthreadpoolexecutor.java1142:
    ScheduledFutureTask.super.run();
    threadpoolexecutor.java1142
    task.run();
    threadpoolexecutor.java617
    ThreadPoolExecutor
    thread.java745
    Thread
    Reply With Quote  
     

  2. #2  
    Registered Member Text's Avatar
    Join Date
    Nov 2012
    Posts
    302
    Thanks given
    61
    Thanks received
    27
    Rep Power
    21
    This is an error with clipping, maybe just set it to return 0 for now and debug. It looks like the error is with r.getClip() instead of r getClipping()
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. DC in Combat (PVP) bug, please help
    By Mojo! in forum Help
    Replies: 2
    Last Post: 07-29-2015, 09:47 PM
  2. Wilderness is bugged [Help]
    By Obelisk in forum Help
    Replies: 1
    Last Post: 09-01-2014, 09:36 AM
  3. Replies: 3
    Last Post: 04-11-2013, 02:16 AM
  4. armour is bugged cmon help.
    By superbombet in forum Help
    Replies: 0
    Last Post: 10-12-2010, 09:45 PM
  5. Replies: 4
    Last Post: 06-03-2010, 10:51 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •