Jump to content

Mysteryy

Scripter II
  • Posts

    2568
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    100%

Everything posted by Mysteryy

  1. Drawing tiles, such power. xD
  2. Anytime that I get a ban its a perm ban. Not sure how they decide who gets what length, but I guess we just get screwed over. t.t
  3. No. Without java installed, the code is useless. If java is not there to compile and run it, it means nothing and cant do anything.
  4. In your onStart method add this. Notice how you can consolidate your code into 2 lines. ^_^ bot.addMouseListener(new MouseListener() {//register a new MouseListener @Override public void mouseClicked(MouseEvent e) { if(minimizeRectangle.contains(e.getPoint())) minimized = !minimized; } @Override public void mousePressed(MouseEvent e) { } @Override public void mouseReleased(MouseEvent e) { } @Override public void mouseEntered(MouseEvent e) { } @Override public void mouseExited(MouseEvent e) { } });
  5. Dont forget to null check properly on stored variables, instead of pulling a new instance every time you call it. ^_^
  6. Maybe he is trying to tell us that he will scam. rekt
  7. Why not use names instead? Ids will change frequently as you have seen. ^_^
  8. Im gonna guess not, since I looked in the API and didnt see anything related to moving. Why do you need to check if the camera is moving? Unless you are multi threading in two things that will use camera movement, I cant really see a use for this. ^_^
  9. What about for those of us who are unable to run OSB with injection stealth enabled? Is there a fix for the "Invalid boot options" error?
  10. Why do you need to know the inventory name for it? Once it is in your inventory, there is no reason to interact with it. Assuming you are making a woodcutter. ^_^
  11. Welcome, I hope to see you more active. If you need help with anything let me know. ^_^
  12. You forgot to take it after I joined.
  13. Mysteryy

    Chatbox is down

    CoupaFew weeks ago. :P
  14. Mysteryy

    Chatbox is down

    Server update, when they are back up everything should be working better than before. ^_^
  15. Happens to me 9/10 times xD
  16. When you are null checking or interacting with an item/object etc. you should always store it, and then interact with the stored object. Each time you call .get() it will get a new instance, and that instance could be not null, then when you go to interact with another .get() it can be null. If that makes sense. Although you may have already knew this and just forgot or not noticed it. ^_^
  17. Looks like you put a decent amount of time making this up. Good job, hopefully you can get obstacle handling added into it. ^_^
  18. 10/10 should be placed in TWC. I was in chat middle manning.
  19. Awesome, I am sure many members will be excited to see this put into action. Other than this, I havent seen members having too many issues with osbot 2. ^_^
  20. This is my method for eating food, it might need a small change or two, but I have not yet had an issues with it, nor an exception thrown from it. It seems that you forgot to make sure the inventory tab is open. You cant interact with the food if your inventory tab isn't open. public boolean eatFood(String foodName){ Item food = script.inventory.getItem(foodName); if(food != null && script.inventory.contains(foodName)){ if(script.tabs.getOpen().equals(Tab.INVENTORY)) return food.interact("Eat"); else script.tabs.open(Tab.INVENTORY); } return false; }
  21. Ok. Also, look what eric said. Are you passing script to this class? Because if so it needs to be script.log() not log. ^_^
×
×
  • Create New...