Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • Wonder whats going wrong.


    Kirito
     Share

    Recommended Posts

    So i'm running into some errors while testing my script

     

     

     

    Script code

     

     

    package kiritossimplepowerchopper;
     
    import org.dreambot.api.script.AbstractScript;
     
    import java.awt.Color;
    import java.awt.Font;
    import java.awt.Graphics;
     
    import org.dreambot.api.methods.Calculations;
    import org.dreambot.api.methods.map.Tile;
    import org.dreambot.api.methods.skills.Skill;
    import org.dreambot.api.script.Category;
    import org.dreambot.api.script.ScriptManifest;
    import org.dreambot.api.script.listener.PaintListener;
    import org.dreambot.api.utilities.Timer;
    import org.dreambot.api.wrappers.interactive.GameObject;
     
     
     
     
    @ScriptManifest(author = "Kirito", name = "Simple Power Chopper", version = 1.0, description = "Simply cuts tree's anywhere and drops them.", category = Category.WOODCUTTING)
    public class PowerChopper extends AbstractScript implements PaintListener{
     
    @Override
    public void onStart() {
     
    getCamera().rotateToPitch(383);
    getSkillTracker().start(Skill.WOODCUTTING);
    }
     
    private long startTime = System.currentTimeMillis();
       private int logschopped = 0;
       public State State;
       private final Tile startTile = getStartTile();
     
    private enum State {
    CHOP, DROP, GET_AXE, WALK_TREE, NO_STATE
    };
     
     
     
    public State getState() {
    GameObject tree = getGameObjects().closest(log -> log.getID() == 13445);
    if (tree.isOnScreen() && !getInventory().isFull()
    && getInventory().contains(item -> item.getName().contains("axe"))) {
    return State.CHOP;
    } else if (getInventory().isFull()) {
    return State.DROP;
    } else if (!getInventory().contains(item -> item.getName().contains("axe"))) {
    return State.GET_AXE;
    } else if (!tree.isOnScreen() && !getInventory().isFull()
    && getInventory().contains(item -> item.getName().contains("axe"))) {
    return State.WALK_TREE;
    }
    return State.NO_STATE;
    }
     
     
    private String stateParser() {
            if (getState() == State.CHOP) {
                return "CHOPPING";
            } else if (getState() == State.DROP) {
                return "Dropping!";
            } else if (getState() == State.WALK_TREE) {
                return "Walking to Tree";
            } else if (getState() == State.GET_AXE) {
                return "Getting a AXE";
            } else if (getState() == State.NO_STATE) {
                return "No idea";
            }
            else return "incompatible";
        }
     
     @Override
       public int onLoop() {
           GameObject tree = getGameObjects().closest(log -> log.getID() == 13445);
          State = getState();
           switch(State){
               case CHOP:
                   chop(tree);
                   break;
               case DROP:
                  drop();
                   break;
               case GET_AXE:
                   get_axe();
                   break;
               case WALK_TREE:
                   walk_tree();
                   break;
               case NO_STATE:
                   break;
           }
           return 500;
       }
     
     
      @Override
       public void onExit()
       {
       }
     
       private double progressBar()
       {
           return ((double) (getSkills().getExperience(Skill.WOODCUTTING) - getSkills().getExperienceForLevel(getSkills().getRealLevel(Skill.WOODCUTTING)))
                   / (getSkills().getExperienceForLevel(getSkills().getRealLevel(Skill.WOODCUTTING) + 1) - getSkills().getExperienceForLevel(getSkills().getRealLevel(Skill.WOODCUTTING)))) * 100;
       }
     
     
    @Override
    public void onPaint(Graphics g)
    {
     
        g.setColor(new Color(48, 48, 48, 180));
        g.fillRect(5, 240, 370, 99);
        g.setFont(new Font(Font.MONOSPACED, Font.ROMAN_BASELINE, 14));
        g.setColor(Color.GREEN);
        g.drawString("Simple Power Chopper   -", 10, 260);
        g.drawString("Runtime: " + Timer.formatTime(System.currentTimeMillis() - startTime), 220, 260);
        g.drawString("Exp/hr: " + getSkillTracker().getGainedExperiencePerHour(Skill.WOODCUTTING) , 10, 280);
        g.drawString("Exp gained: " + getSkillTracker().getGainedExperience(Skill.WOODCUTTING), 10, 300);
        g.drawString("Levels gained: " + getSkillTracker().getGainedLevels(Skill.WOODCUTTING) , 220, 320);
        g.drawRect(10, 310, 100, 15);
        g.fillRect(10, 310, (int) progressBar(), 15);
        g.drawString("Logs Chopped: " + logschopped, 220, 300);
        g.drawString("State: " + stateParser(), 220, 280);
    }
     
     
     
    public void chop(GameObject tree) {
        int logID = 440;
            if (getInventory().contains(i -> i.getName().contains("axe"))  && !getInventory().isFull()) {
                if (getLocalPlayer().distance(tree) >3) {
                    getWalking().walk(tree);
                    sleepUntil(() ->!getLocalPlayer().isMoving(), 300);
                }else if (!getLocalPlayer().isAnimating() && !getLocalPlayer().isMoving() && tree.exists() && tree.isOnScreen()) {
                    int logCount = getInventory().count(438);
                    tree.interact("Chop-down");
                        if(getLocalPlayer().isAnimating()) {
                            sleepUntil(() -> getInventory().count(logID) > logCount, Calculations.random(10000, 15000));
                            logschopped++;
                        }
                }
            } else if (getInventory().isFull()) {
                State = State.DROP;
            }
        }
     
    private void drop(){
    getInventory().dropAllExcept(f -> f != null &&f.getName().contains("axe"));
    }
     
    private void walk_tree() {
        if (getLocalPlayer().distance(startTile) > 10 && !getInventory().isFull() && getInventory().contains(item -> item.getName().contains("axe"))) {
            getWalking().walk(startTile);
            sleepUntil(() -> getLocalPlayer().getTile().equals(startTile), Calculations.random(500, 1000));
            if (getLocalPlayer().distance(startTile) < 5) {
                State = State.CHOP;
            }
        }
    }
     
    private void get_axe(){
        if (getInventory().contains(i -> i.getName().contains("axe"))) {
            State = State.WALK_TREE;
        } else {
            if (getLocalPlayer().distance(getBank().getClosestBankLocation().getCenter()) > 5) {
                if (getWalking().walk(getBank().getClosestBankLocation().getCenter())) {
                    sleepUntil(() -> !getLocalPlayer().isMoving()
                            || getClient().getDestination().distance(getLocalPlayer()) > 8, Calculations.random(4500, 6500));
                }
            } else {
                if (getBank().isOpen()) {
                    if (getBank().withdraw(i -> i.getName().contains("axe"))) {
                        sleep(Calculations.random(400, 800));
                        getBank().close();
                        State = State.WALK_TREE;
                    }
                } else {
                    getBank().open();
                    sleepUntil(() -> getBank().isOpen(), Calculations.random(2000, 2500));
                    if (getBank().withdraw(i -> i.getName().contains("axe"))) {
                        sleep(Calculations.random(400, 800));
                        getBank().close();
                       State = State.WALK_TREE;
                    }
                }
            }
        }
    }
    }
    

     

     

     

     

     

     

     

     

    Errors:

     

     

    [ERROR]00:19:56: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:19:58: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:19:59: Exception has occurred while running! Please report error to developer if problem persists: java.util.ConcurrentModificationException at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) at java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.util.stream.ReferencePipeline.collect(Unknown Source) at org.dreambot.api.methods.interactive.GameObjects.all(GameObjects.java:63) at org.dreambot.api.methods.interactive.Interactables.all(Interactables.java:59) at org.dreambot.api.methods.interactive.Interactables.closest(Interactables.java:103) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:83) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:01: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:04: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:06: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:09: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:12: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:14: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:16: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:19: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:21: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:22: Exception has occurred while running! Please report error to developer if problem persists: java.util.ConcurrentModificationException at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) at java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.util.stream.ReferencePipeline.collect(Unknown Source) at org.dreambot.api.methods.interactive.GameObjects.all(GameObjects.java:63) at org.dreambot.api.methods.interactive.Interactables.all(Interactables.java:59) at org.dreambot.api.methods.interactive.Interactables.closest(Interactables.java:103) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:83) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:24: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:27: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:29: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:32: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:34: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:36: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:39: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:41: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:43: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:51) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:84) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:20:44: Exception has occurred while running! Please report error to developer if problem persists: java.util.ConcurrentModificationException at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) at java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.util.stream.ReferencePipeline.collect(Unknown Source) at org.dreambot.api.methods.interactive.GameObjects.all(GameObjects.java:63) at org.dreambot.api.methods.interactive.Interactables.all(Interactables.java:59) at org.dreambot.api.methods.interactive.Interactables.closest(Interactables.java:103) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:83) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [INFO]00:20:45: Stopping script: Simple Power Chopper  

     


     

    Edited by Kirito
    Link to comment
    Share on other sites

    insert null check in your filter

    what do u mean with "filter"?

     

    this?

     

    public void chop(GameObject tree) {
        int logID = 440;
            if (getInventory().contains(i -> i.getName().contains("axe"))  && !getInventory().isFull() && tree != null) {
                if (getLocalPlayer().distance(tree) >3) {
                    getWalking().walk(tree);
                    sleepUntil(() ->!getLocalPlayer().isMoving(), 300);
                }else if (!getLocalPlayer().isAnimating() && !getLocalPlayer().isMoving() && tree.exists() && tree.isOnScreen()) {
                    int logCount = getInventory().count(438);
                    tree.interact("Chop-down");
                        if(getLocalPlayer().isAnimating()) {
                            sleepUntil(() -> getInventory().count(logID) > logCount, Calculations.random(10000, 15000));
                            logschopped++;
                        }
                }
            } else if (getInventory().isFull()) {
                State = State.DROP;
            }
        }
    Edited by Kirito
    Link to comment
    Share on other sites

    this GameObject tree = getGameObjects().closest(log -> log.getID() == 13445);

     

    to GameObject tree = getGameObjects().closest(log -> log!=null && log.getID() == 13445);

    Link to comment
    Share on other sites

    this GameObject tree = getGameObjects().closest(log -> log.getID() == 13445);

     

    to GameObject tree = getGameObjects().closest(log -> log!=null && log.getID() == 13445);

    now i'm getting this annoying error

     

     

    [ERROR]00:57:33: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:44) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:77) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:57:36: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:44) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:77) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:57:38: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:44) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:77) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:57:41: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:44) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:77) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]00:57:42: Exception has occurred while running! Please report error to developer if problem persists: java.util.ConcurrentModificationException at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) at java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.util.stream.ReferencePipeline.collect(Unknown Source) at org.dreambot.api.methods.interactive.GameObjects.all(GameObjects.java:63) at org.dreambot.api.methods.interactive.Interactables.all(Interactables.java:59) at org.dreambot.api.methods.interactive.Interactables.closest(Interactables.java:103) at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:43) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:77) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)  
    Link to comment
    Share on other sites

    PowerChopper.java line 44

    this is my line 44

    if (tree.isOnScreen() && !getInventory().isFull() && getInventory().contains(item -> item.getName().contains("axe"))) {
    Edited by Kirito
    Link to comment
    Share on other sites

    replace it with

    if (tree != null && tree.isOnScreen() && !getInventory().isFull() && getInventory().contains(item -> item != null && item.getName() != null && item.getName().contains("axe"))) {
    Link to comment
    Share on other sites

     

    replace it with

    if (tree != null && tree.isOnScreen() && !getInventory().isFull() && getInventory().contains(item -> item != null && item.getName() != null && item.getName().contains("axe"))) {

    now i'm getting an error on line 76

     

    [ERROR]01:12:55: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:50) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:76) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]01:12:57: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:50) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:76) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]01:12:59: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:50) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:76) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]01:13:01: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:50) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:76) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)
    [ERROR]01:13:03: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at kiritossimplepowerchopper.PowerChopper.getState(PowerChopper.java:50) at kiritossimplepowerchopper.PowerChopper.onLoop(PowerChopper.java:76) at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:244) at java.lang.Thread.run(Unknown Source)  
    Link to comment
    Share on other sites

     Share

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.