Jump to content

TheMachine

Registered
  • Content count

    231
  • Joined

  • Last visited

  • Feedback

    100%

Community Reputation

17 Good

About TheMachine

  • Rank
    Experienced Botter
  1. TheMachine

    Scripting help - Stuck

    Right, oops I forgot to mention that.
  2. TheMachine

    Scripting help - Stuck

    Yes you will need to purchase VIP in order to run any scripts for old school runescape.
  3. TheMachine

    Scripting help - Stuck

    You probably added the wrong .jar. Did you add the .jar that you downloaded as a dependency? Watch this tutorial video 1, it explains how to set up the correct dependencies. You need the tribot.jar that is in your Appdata folder. Look here: https://tribot.org/forums/topic/23701-videos-how-to-make-tribot-scripts-covers-everything-you-need-to-know-to-get-started/ Let me know if you still need help. @khaleesi
  4. TheMachine

    Best way to determine if character is at the bank

    You may want to make that a smaller range than 20. 20 tiles is pretty far away, you could be a good clip from a bank at 20 tiles. If I were you I would just use areas to determine if you are in a bank, but thats just the way I like to do it. Obviously you need to check if the bank booth is there also. @Zallen93
  5. TheMachine

    TRiBot Release 9.131_0

    If you log in inside of the mine the portal loads correctly, but once you leave and come back into the mine, it is null. Not sure if you already knew this, but I just noticed it. I still cry every time. t.t Thanks for the update though. @TRiLeZ
  6. TheMachine

    Hover() method for each skill

    I agree. It would be nice to have this option.
  7. TheMachine

    TRiBot Release 9.130_0

    @TRiLeZ I cry everytime. t.t
  8. TheMachine

    Ending a script.

    while(mainBoolean){ while(otherBoolean && mainBoolean){ } while(someOtherBoolean && mainBoolean){ } } Then if you change mainBoolean to false it will kill all of them. Why dont you just do that?
  9. TheMachine

    Ending a script.

    So why not kill the loop that you are trying to stop? I am not sure I understand what you are doing, you can still just kill the main loop by setting the boolean to false.
  10. TheMachine

    Ending a script.

    Why not use the while(boolean) method so it will kill itself naturally?
  11. TheMachine

    Posting source and maintaining it

    Use github via intellij. When you go to commit your files just deselect that ones that you dont want to be posted on github. Its that simple.
  12. TheMachine

    How do i?

    For checking if you have an axe, you can just do this implement MessageListening07, and add in the missing methods then use the serverMessageReceived method to check for the message below public class MachineWoodCutter extends Script implements Painting, MessageListening07 { //other code here} @Override public void serverMessageReceived(String s) { if(s.contains("You get some")){ logsCut++; } if(s.contains("You do not have an axe")){ println("You do not have an axe to chop with. Stopping the script."); this.runScript = false; } }If you do this, it will stop the script if for any reason you are unable to chop a tree, including if your axe beaks or you don't have one in your inventory. So it kills 2 birds with one stone. There are of course many other ways to do it, but this one is simple. @daoudwis
  13. TheMachine

    A premium cooking script

    Why not just buy vip, its 6.50.
  14. Ohh lmao. I was confused. xD
  15. private boolean isMoving(RSPlayer p){ final RSTile tmp = p.getAnimablePosition(); If p is null, then you cant use p.getAnimablePosition(). Why would you remove that null check.
×