Jump to content

Boris

Script Writer
  • Posts

    177
  • Joined

  • Last visited

  • Days Won

    19

Posts posted by Boris

  1. The loop is a bit of a mess. Try to use else if statements for every method.

     

    i.e. 

     

    if (Inventory.Contains(1973)) {
                    dropItems();
    } else if (Player.getMyPlayer().getCurrentHealth() >= 4){
                thieve();
    } else if (Player.getMyPlayer().getCurrentHealth() <= 4 && !Inventory.Contains(CAKE_IDS)) {
                stealFromStall();
            }

     

    When your loop makes sense you can start debugging with the console and system.out.println() in each function to see why it isnt switching to the right one.

     

    Also you're using ints instead of a void. make your methods void, and then no need to return, use sleeps instead.

  2. From a scripters point of view, I can do jack shit with this request. Please elaborate what scripts you would like to see and what they need to do. and where. Just some general information would help.

  3. 2 hours ago, Weight said:

    Does this not work anymore? It doesn't appear as a script for me anymore.

    Not sure, i dont support this script anymore. Feel free to modify and release it yourself.

×
×
  • Create New...