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


    SyntaxCheck

    Recommended Posts

    Posted

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

     

    Posted

    I keep getting this. Turn on fresh start if you dont already have it on or delete all your cached data pertaining to dream bot

    Posted

    Thanks for the hint, it was something to do with the RS cache. Fresh start and manually deleting the RS cache both worked!

    Archived

    This topic is now archived and is closed to further replies.

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