Jump to content

Swizzbeat

Members
  • Posts

    7986
  • Joined

  • Last visited

  • Days Won

    58
  • Feedback

    100%

Everything posted by Swizzbeat

  1. If you deal drugs at all you're a complete faggot. Like that's what I want to do with my life, get kids hooked on drugs. inb4retardcomments "marijuana isn't bad dude y so stupid"
  2. The ID changes as well, so trying to grab the closest rock for that ID would return null or a new rock completely if a surrounding rock shares the same ID.
  3. Yet another mindless game
  4. This won't work. You have to write a getInteracting method to check the height of what you're interacting with.
  5. I don't think there is a method for this currently, however if you create byte array and loop through typing each key individually you could set your own speed.
  6. Idk why but something about her is just hella sexy.
  7. So you just met a random girl on RS and said let's meet up IRL and bang? I like you.
  8. I have a lot of people ask me what the code is for my mouse cursor, so I mine as well post this. MousePathPoint class: import java.awt.Point; //CREDITS TO ENFILADE class MousePathPoint extends Point { private long finishTime; private double lastingTime; private int alpha = 255; public MousePathPoint(int x, int y, int lastingTime) { super(x, y); this.lastingTime = lastingTime; finishTime = System.currentTimeMillis() + lastingTime; } //added by Swizzbeat public int getAlpha() { int newAlpha = ((int) ((finishTime - System.currentTimeMillis()) / (lastingTime / alpha))); if (newAlpha > 255) newAlpha = 255; if (newAlpha < 0) newAlpha = 0; return newAlpha; } public boolean isUp() { return System.currentTimeMillis() >= finishTime; } } Class variables in main class: private int mX, mY; private long angle; private BasicStroke cursorStroke = new BasicStroke(2); private Color cursorColor = Color.WHITE; private AffineTransform oldTransform; Code to put in your onPaint: Graphics2D g = (Graphics2D) g1; //replace g1 with Graphics variable name oldTransform = g.getTransform(); mX = client.getMousePosition().x; mY = client.getMousePosition().y; g.setRenderingHints(new RenderingHints(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON)); //MOUSE TRAIL while (!mousePath.isEmpty() && mousePath.peek().isUp()) mousePath.remove(); Point clientCursor = client.getMousePosition(); MousePathPoint mpp = new MousePathPoint(clientCursor.x, clientCursor.y, 300); if (mousePath.isEmpty() || !mousePath.getLast().equals(mpp)) mousePath.add(mpp); MousePathPoint lastPoint = null; for (MousePathPoint a : mousePath) { if (lastPoint != null) { g.setColor(new Color(255, 255, 255, a.getAlpha())); //trail color g.drawLine(a.x, a.y, lastPoint.x, lastPoint.y); } lastPoint = a; } if (mX != -1) { g.setStroke(cursorStroke); g.setColor(cursorColor); g.drawLine(mX-3, mY-3, mX+2, mY+2); g.drawLine(mX-3, mY+2, mX+2, mY-3); g.rotate(Math.toRadians(angle+=6), mX, mY); g.draw(new Arc2D.Double(mX-12, mY-12, 24, 24, 330, 60, Arc2D.OPEN)); g.draw(new Arc2D.Double(mX-12, mY-12, 24, 24, 151, 60, Arc2D.OPEN)); g.setTransform(oldTransform); }
  9. I want to watch it but Cosmos is on at the same time
  10. This is hilarious, good thinking on your part ;)
  11. Support, I do remember actually being confused when I made my account because I thought I had to select one to even register.
  12. Just override the toString()
  13. So essentially you're making a miner :p Write you're own method to grab the current object you're interacting with and check the ID.
  14. What condition are you trying to look for?
  15. But yet we should remove the TWC rank from past scammers.... Once a scammer always a scammer (and we all know who I'm referring to)
  16. Yo momma must be one hell of a drug lord
  17. I don't do drugs soooooo it's safe to say this has never happened to me :p
×
×
  • Create New...