Jump to content

dokato

Members
  • Posts

    129
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by dokato

  1. do bodyweight instead, much better
  2. Hi Im working on a bot that makes crude wooden chairs (lvl 1) in your house. The problem is, after opening the interface/menu with all the different chairs, I've got no clue how i should make my mouse go to the "Crude wooden chair" and let it select the "Build" option. Ive cheked the API on interfaces and menus and stuff but it's still a little confusing to me. Can anyone help me with this pls? ALRDY FIXED (since no one replied) I used the colorPicker for a boolean for the interface and moving mouse to rectangle stuff
  3. We'll do verified paypal I'll go first if ur trustworthy skype: kaisumaro
  4. So I want my mouse to move to a entity, right click on it and then move to an option from the "Choose option" menu but not click on it. I already have this for example: Entity door = objects.closest("Door"); EntityDestination mouseDoor = new EntityDestination(getBot(),door); getMouse().click(mouseChest, true); now the mouse just moves to the door and right clicks on it. But what should i add to make it even move to the "Open" action but not click on it yet?
  5. ok guys thank you!! i figured it out
  6. Ow sry my bad, i meant if that player is a random player who u dont know the name of, but just happens to be in that area. What to do then?
  7. fuck Obama But i can't, plz tell me how then spoonfeed me a bit
  8. Is it possible to determin wether ANOTHER player (someone you dont know the name of) is in a certain area with like a boolean? (for example the area where u are in). Is there a method for that or do u have to create something urself? for example: final Area YOUR_AREA = new Area(bla,bla,bla,bla); if(YOUR_AREA.contains(/*a player*/)){ //... }
  9. W00t worx good now thanx alot man, i love u u2 Mysteryy
  10. all i have is what i posted + some imported thingy's: import java.awt.event.MouseEvent; import java.awt.event.MouseListener; //it says is not used
  11. doesnt register, as expected
  12. Ok so I've got this somewhere in my script: boolean showPaint=true; public void mousePressed(MouseEvent e) { Rectangle hideButton = new Rectangle(473,346,41,32); if(hideButton.contains(e.getPoint())) { showPaint = !showPaint; } } and in my onPaint there is this: if(showPaint){ //paint stuff }else{ //something else } But that doesnt work. Do i have to put the method mousePressed(MouseEvent e) somewhere else? cuz i've no clue what to do.
  13. still doesnt work and the script doesnt startup
  14. no error at all the script doesnt start when i click start, even the paint doesnt show up unless i undo what ive added
  15. nope still doesnt work, i also tried some additional thing as well but nothing works
  16. Ok so i've made this unfinished gui using window builder and now I want it to just pop up when i start my script, nothing more. I've tried to make an object of it in my main script class and also experimented and tried a bunch of diffrent things but nothing works (the script wont even start up). my gui class: http://pastebin.com/38v3WGrE
  17. How can u determine if the player is interacting with a specific object? And i mean something else than isAnimating(). Is there another method for that? cuz i tried to search in api but found nothing.
  18. What is the best code to use if i'd like to interact with my amulet of glory in my house? Because if i try this: objects.closest("Amulet of Glory").interact("Karamja"); it will fail to click on it and it takes like a minute or more till it finaly clicks right.
  19. works fine for me THX alot bro
  20. If i'd like to capture when i recieve for example willog logs, is this the correct code to use? public void onMessage(String message) throws InterruptedException{ if(message.contains("logs")){ amountOfLogs++; } } i saw it this way in some other guides but it doesnt work
×
×
  • Create New...