Jump to content

YinZ

Trade With Caution
  • Posts

    841
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by YinZ

  1. YinZ

    Fucking wow

    They are definitely on their period. That must be it.
  2. YinZ

    Ranar Seeds

    Because that's how economics works. There's always a fluctuation in prices of high demand. ranarrs > ppots.
  3. Being a good civilian. Hiding from the outside. jk
  4. I want to check which of two tiles is higher. How would this be done? my brain hurts..
  5. YinZ

    Using Shops

    Create two seperate classes: One that creates the shop interface so that it can be closed etc The other to populate the shop with items.
  6. Rectangle r = new Rectangle(227, 444, 100, 8); this.client.moveMouseTo(new RectangleDestination(r), false, false, true); Used for moving mouse to position. I believe the min you can move mouse to is a 3x3 rectangle.
  7. Edit. Brain began working. Close
  8. I do this: set a boolean defined as: private boolean hide = false; Then need to set the area for when the mouse is clicked. Two rectangles are set, point p then gets the mouse click and if that point is in the rectangles opens/closes depending on what the boolean is set at. public void mouseClicked(MouseEvent e) { Point p; Rectangle close = new Rectangle(490, 346, 20, 25); Rectangle open = new Rectangle(490, 346, 20, 25); p = e.getPoint(); if (close.contains(p) && !hide) { hide = true; } else if (open.contains(p) && hide) { hide = false; } } Then the paint just checks the boolean to see if its false/true and shows the corresponding image and other gibberish. public void onPaint(Graphics g) { if (!hide) { //if boolean is currently not hiding then shows all information g = (Graphics2D)g; g.drawImage(img3, 7, 344, null); //other important information down here } else { //if boolean says hidden then draws image where you want it to be g.drawImage(img2, 490, 346, null); //usually just a simple 'X' or show paint } }
  9. Looks good. Although one thing that really annoys me is that the background aint transparent..
  10. Posts like this make me lol #scapegoat
  11. You need 100 post count to buy/sell we don't like scammers!
  12. RS2Object rock = closestObjectForName("rock"); if(rock != null) { if(rock.interact("mine") { RS2Object temp = closestObjectForName("rock"); //basically scans if the closest object is the same object you interacted with while(rock == temp && rock.exists()) { sleep(500); } } Something like that i believe
  13. Heres my uni campus card picture whilst im at uni over here in the UK!
  14. Fucking hate leechers.
  15. Dat Raw. love this stuff
  16. Haha, I was looking to buy one of these accounts. only 5m, seemed shady! Used my instincts!
×
×
  • Create New...