Jump to content

Woody

Members
  • Posts

    715
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Woody

  1. Woody

    PC this main

    Anyone interested? Pm me
  2. Woody

    PC this main

    Yes Ya some nub got it for me
  3. Woody

    PC this main

    tell me what it is now, not what it would have been
  4. dress out like a muthafucka and go crazy
  5. credits to @Woody for mouse thingy thanks for update
  6. Everything in the API is allowed
  7. yes, it will break out of the loop. But you are using it wrong, you shouldn't break after every action. Just break and the end of your case.
  8. Man, cancer sucks... I don't really know you butI really, really hope you'll beat it, as I hope for all those who have cancer. You should go live your life to absolute maximum and enjoy doing what you like to do.
  9. Lol.. These kids get lazier and lazier. Account banned --> gf im neva goin to bot again, too much work Just create a new account and bot smart.
  10. Tbh, your code is really ugly to read; why do you have your "{" on a separate line? You shouldn't break after every action, it looks like you don't understand what break means in java. And yea, your logic still fails. Try a different approach on how to check for traps. Remember that someone else might set up a trap nearby you, and your script will think it's your characters trap. Find an empty position -> set up trap -> if trap is up -> save this position in a list as positions with trap -> loop through your list with positions and see if any position has an object on it, matching trap down. This was just an example. It's up to you how you want to do it.
  11. Woody

    please help:)

    Don't do this. It looks like there are some issues with the GUI. If it's not your script, just contact the script writer.
  12. Remember, getHealth will only return to a value if your health bar is visible, if the character is fighting. You can use widgets to get the character's HP; find the correct parent and child id for HP widget and translate the string to an int.
  13. You could roast the cigarette so the nicotine and other harmful things vaporize; you would get "healthier" tobacco. Trust me, I really, really hate tobacco but roasting the cigarette makes it better, at least I think so.
  14. My bad, @Bobrocket corrected me, but I found this public Point minimapTranslate(Position pos) { //Get local position coordinates int x = pos.getX() - getMap().getBaseX(); int y = pos.getY() - getMap().getBaseY(); //Get the players current offset from the provided position //Using grid coordinates we get a more accurate result when we're in //the process of walking between two tiles. //1 tile = 2 units, in rX and rY int rX = (x * 4 + 2) - (myPlayer().getGridX() / 32); int rY = (y * 4 + 2) - (myPlayer().getGridY() / 32); //Get the current minimap position and camera rotation offsets. //these are often changing even without moving/rotating the camera. //^ This is probably to prevent autoclicking int offset = client.accessor.getMinimapX(); int minimapAngle = client.accessor.getMinimapRotation(); int angle = minimapAngle + offset & 0x7FF; //Calculates the sine and cosine vars to be used for rotation from the //minimap center. The minimap zoom is also random and often changing. //These are scaled up to improve accuracy in the following calculations int sin = (GraphicUtilities.CAMERA_SIN[angle] * 256) / (client.accessor.getMinimapZoom() + 256); int cos = (GraphicUtilities.CAMERA_COS[angle] * 256) / (client.accessor.getMinimapZoom() + 256); //Standard trigonometry; calculate the offset from minimap centre //Then downscale the result by right shift. We use 16 instead of 8 due to the unit of //rX and rY being doubled in comparison to real X,Y coords int mX = rY * sin + rX * cos >> 16; int mY = rY * cos - rX * sin >> 16; //Return the point. 644 and 80 are the minimap X, Y coordinates return new Point(644 + mX, 80 - mY); } You can do g.drawOval(minimapTranslate(position.get(i)).x -4, minimapTranslate(position.get(i)).y -2, 6, 6);
  15. Take a small piece, mix with tobacco and smoke it...
  16. You could update huntLvl, my and mx in your loop. at main.onLoop(main.java:179) means there's an error in line 179 in your code. You have to check if entity is not null before interacting with it.
  17. Your getState() sucks. You don't check hunter lvl in your getState(), you should only write conditions and return to different states. Yes, only conditions in your getState. Yes, that is how you check your hunter level. However I'd do that in onStart(), same with "my" and "mx". EDIT: This is a good guide for you to learn something. Don't rush with making scripts; everyone started from the bottom.
×
×
  • Create New...