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
  • Attacking NPC resulting in log message: Cached Animation BZipProcess is null!


    SyntaxCheck

    Recommended Posts

    I am working on my first simple chicken killing script and I am seeing a bunch of "Cached Animation BZipProcess is null!" messages in the output log. Below is my script and after the code below I basically just sleep until the NPC dies. Each time my code below runs I see those errors. Are these messages from the Dreambot API? I can't imagine they are a result of the two IF lines?

    NPC targetNpc = api.getNpcs().closest((Filter<NPC>) npc -> npc != null && npc.getName().equals(npcName) && startingArea.contains(npc) && npc.getInteractingCharacter() == null && npc.getHealthPercent() > 0);
    if (targetNpc != null) {
    	api.log("NPC found....");
    	double distanceToNpc = api.getLocalPlayer().getTile().distance(targetNpc.getTile());
    	api.log("...Calced distance " + distanceToNpc + "....");
    	if (distanceToNpc <= maxNpcDistance) {
    		api.log("...Interact....");
    		//attack target NPC
    		if (targetNpc.interact("Attack")) {
    			api.log("Attack NPC....");

    Output log for the above 

    NPC found....
    ...Calced distance 2.0....
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    ...Interact....
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Cached Animation BZipProcess is null!
    Attack NPC....

     

    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
    ×
    ×
    • 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.