-
Posts
715 -
Joined
-
Last visited
-
Feedback
100%
Posts posted by Woody
-
-
is that Jesus?
-
1
-
-
To draw an arbitrary area on the minimap you could do:
Area area = myPlayer().getArea(4); Polygon p = new Polygon(); for(int i = 0; i < area.getPolygon().npoints; i++) { short[] mm = GraphicUtilities.getMinimapScreenCoordinate(bot, area.getPolygon().xpoints[i], area.getPolygon().ypoints[i]); p.addPoint(mm[0], mm[1]); } g.setColor(Color.RED); g.draw(p);
-
2
-
-
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);
-
1
-
-
How do I tell if hash is any good? I have some but I can only really smoke it with other stuff so I don't know strong it is.
Take a small piece, mix with tobacco and smoke it...
-
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.
-
HA! oh my gosh i'm dumb, ty!
I guess i'm confused. Shouldn't I return to different states?
Does:
int huntLvl = skills.getStatic(Skill.HUNTER);
check my hunter lvl?
or is that wrong?
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.
-
There's no logic in your script, that's why nothing happens.
Your getState() sucks. You don't check hunter lvl in your getState(), you should only write conditions and return to different states.
-
1
-
-
Cat
-
No because it caused more problems in other cases. It actually made several assumptions that leads to bugs. That's why it needed extra patches.
Edit: I also mentioned this to you before
Oh yea, now I remember, my bad.
By the way, the mouse tend to make a circle and sometimes two before clicking on the entity. Just some info.
-
It should be a lot better on .131+
I tested the interaction and it's better now. However, in the begging when it moves towards the entity, the mouse kinda lags for a very short time then normal movement.
The interaction in V .123 was really good, maybe you could go back to that?
-
I will try it out and come back with a report.It should be a lot better on .131+
-
"If I asked you if you would have sex with me, would the answer be the some this question?"
Works 95% and youll get some smooth pussy. The other 5% are girls who are too retarded ti answer; the question makes their brain explode.
-
Clearly you don't understand how enum and finite state machine works.
Read Apaec's tutorial and hopefully you'll understand it a bit better.
-
2
-
-
your os?
win 10
-
Enable Entity hover debug
-
hahaha crack head was a clever one. To answer, I definitely care about them man because of them ill be successful so get the fuck out of here with your pathetic insults. Are you compensating for something? Maybe a little slow, maybe can't get into school or maybe just a lazy ass fuck who likes to be someone else on the internet. Also, before you go on telling us to smoke crack or snort dope, were smoking a fucking plant. you know... like people do with tobacco, right? You ingest more negative things waking up taking your fucking ADHD medicine so you can trash us!
Come on man, it was only a joke. You don't have to go all in on me...
I'll be honest, you are right, this is me
Please don't make fun of me. It takes a lot of courage to post this picture.
-
We were just elected a new prime minister lol, he claims he is going to legalize it here shortly.
You must be pretty bored then, cause you ain't getting much from me lol and making yourself look like a tool. But carry on
If you didn't care about my posts then you wouldn't have quoted me at all. Just keep snorting that stuff, dope monger.
-
"An error occurred while loading hooks"
No log messages
-
1
-
-
This is what this section is for; spamming, flaming and being totally random. I enjoy posting here and make fun of people like you. The best thing is their reaction, I just love it.Kid.. you really that butt hurt you gotta come here and flame? Lol were you bullied when you were younger and this is your way of making yourself feel better? The image you're portraying of yourself is pretty sad.. lol
Nah man lol Ontario
-
1
-
-
Invest in a new computer and play csgo. It's reallt fun to play with friends, at least I think so
-
1
-
-
Who the fuck cares about your bachelor degrees?I smoke pot every day, multiple times a day. What does that say about me?
Not shit.
I am 2 semesters away from receiving two bachelor degrees and work at the same time.
I think thats pretty fucking awesome, don't you?
Crack head
-
I'm not quite sure, but i'm sure @Maldesto will tell you if needed be.
wth your name was purple like 20 seconds ago
-
Have a good day
gl with your awesome idea, bag bitch
-
Lol. You clearly understood what i meant, I am gonna assume you are roughly between ages 14 - 17. No knowledge on the benefits of cannabis. And putting your input where it doesn't belong
lol talk to me when your balls drop little guy
Wow dude, you really know me. Are you a wizard or something?
fuck this bs
Marijuana ll Weed ll Dabs ll Hash ll
in Spam/Off Topic
Posted
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.