Welcome to TRiBot Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

pureleaf

Registered
  • Content count

    15
  • Joined

  • Last visited

  • Feedback

    0%

Community Reputation

0 Neutral

About pureleaf

  • Rank
    New Botter

Recent Profile Visitors

321 profile views
  1. #1 curser on Tribot, isnt broken like almost all other curser scripts.
  2. ahh ok , thanks
  3. Cant seem to find out the requirements to start selling premium scripts.
  4. Questions about the script?
  5. hey saw your post about enfilade's Easel a while back. do you happen to have a download link?, thanks :)

     

  6. I'm using AtTemple in the run method as the "mainboolean"
  7. private boolean AtTemple() { if (Magic.isSpellSelected()) { grabwine(); } else { selectandhover(); } return true; } @Override public void run() { while (AtTemple()) { } } }
  8. im using the mainboolean in my run method, when i try to declare private boolean Mainboolean = true at the top of my code it wont acknowledge that it is ever used
  9. i just cant get the mainboolean to = true says is not used
  10. @montreal176 i get Class"main Boolean" is never used when i type public class main Boolean
  11. @montreal176 i tryed your example but cant set the main boolean to true?
  12. The script checks for a item value, if the value <1 the character logouts. My problem is after the character logs out the script continues to run and then start preforming the login bot. any suggestions on how i can end the script after the logout method returns true?
  13. thanks for the help guys, first week scripting thanks for the troubleshooting info....
  14. My code returns with a error "java.lang.ArrayIndexOutOfBoundsException: 0". it is because the item im trying to get has not spawned yet. how could i creat a array that will look for a item that is not spawned in yet?
  15. When my bot chops down a tree,it clicks where the tree just was even though its gone, heres my code..... public class Chopper extends Script implements Painting { private final int TREE_ID = 1276; private RSObject[] Trees; private RSObject NearestTree; private final int LOG_ID = 1511; @Override public void run() { while (atTrees()) { } } private boolean atTrees() { if (Inventory.isFull()){ dropwood(); } else { chopwood(); } return true; } private void dropwood() { if (Inventory.isFull()){ Inventory.drop(LOG_ID); } } private void chopwood() { //Finding the nearest tree within 8 units away Trees = org.tribot.api2007.Objects.findNearest(8, TREE_ID); //taking the closest tree found and setting it equal to "NearestTree" NearestTree = Trees[0]; //of the player is doinging nothing and is not moving click tree if(Player.getAnimation() == -1 && !Player.isMoving()){ //if the tree is on screen , click the tree /sleep for 1000 miliseconds if (NearestTree.isOnScreen()) { NearestTree.getModel().click(); sleep(1000); //else walk to the tree then click it } else { while (!Walking.walkTo(NearestTree.getPosition())); NearestTree.click(); } } }