Jump to content

dreameo

Scripter II
  • Posts

    410
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    100%

Everything posted by dreameo

  1. enable logger, try loading script and (take a pic of logger results)
  2. Learn java, it'll help but making a bot requires mainly boolean logic.
  3. Yeah, there will be a lot of methods that you use often, keep them clean and separate. Reduces code duplication and makes life easier. Ex: a timer class
  4. It's a good solution, just be clear on how you write it so you don't get confused later (variable naming). time variables have to be global. private boolean idleFor(int millis){ if(myPlayer().isAnimating() || myPlayer.isMoving()) { timeSinceAction = System.currentTimeMillis(); } else { timeSinceIdle = System.currentTimeMillis(); } return timeSinceAction + millis < timeSinceIdle; }
  5. dreameo

    Closed

    Have you tried using widgets?
  6. Activate the logger and see what the logs say.
×
×
  • Create New...