Everything posted by Swizzbeat
-
Uber Dragon
I wish people would stop using static for everything and learn the ways of OOP.Btw learnToCamelCase.
-
Uber Dragon
Obviously, but I highly doubt you learned anything changing some colors around. Especially if it's for a school project you should have made something errr less "plagarized".
-
Uber Dragon
Please this is the first link on Youtube for Java game dev. Everyone and their mother has seen it.
-
Uber Dragon
Lol two weeks ago you didn't know what an array was.
-
OSBot 2.1.11
Mine occasionally takes a few seconds after it says "loaded equipment callbacks" or whatever but it doesn't ever just freeze there for an extended amount of time.
-
OSBot 2.1.11
Instead of working on additional features like web walking can you guys fix the core API? And RANDOMS are an issue....
-
LLLLLLLLLLOOOOOOOOOOOOOOOOOOOOLLLLLLLLLLLLLL
lol it does look like a portal
-
Suggestion: TWC = Repfuck
Am I the only one who supports this?
-
Simple Osbot 2 Script Skeleton
Just so I'm clear for what happens on the stack as well, does anything pushed onto the stack from a method immediately get popped off once those variables go out of scope (ie. exiting a method)? So in that case, it wouldn't matter how many primitive data types you create in a method since they will be popped off and not there lingering in the heap.
- :facep:
-
Simple Osbot 2 Script Skeleton
At least add the rest of the access modifiers if you added one of them Also, in my opinion instantiating variables looks better if done from within the constructor instead of right up top. That's opinionated though :p
-
Simple Osbot 2 Script Skeleton
The exception thrown will be logged to the console output anyway, so it seems pretty redundant to add a try/catch block :p
-
Simple Osbot 2 Script Skeleton
Why throw onLoop in a try/catch block if all you're doing is printing an exception is thrown (no help for debugging what so ever) Create BasicStroke as class variable so there aren't 40+ of them being created every second and killing the GC Create an int variable to hold mouse x/y coords so you're not retrieving 8 of the same Point object (same reason as above)
-
drawing and saving on image?
public class ProgressReport { private Image image; private ProgressReport(Image image) { this.image = image; } public static ProgressReport getReport(Script sI) throws AWTException { Canvas c = sI.bot.getCanvas(); return new ProgressReport(new Robot().createScreenCapture(new Rectangle(c.getX(), c.getY(), c.getWidth(), c.getHeight()))); } public boolean save(String filename) throws IOException { Graphics imageGraphics = image.getGraphics(); imageGraphics.setColor(Color.BLACK); imageGraphics.fillRect(7, 458, 71, 15); return ImageIO.write((BufferedImage) image, "png", new File(filename + ".png")); } } That's what I have however my issue is that I can't seem to grab the canvas with the script paint on it before the script exits From what you can see above I tried using Toolkit as well but even that doesn't get the paint. Also, what is the original gameBuffer representing?
-
The Great Transition Forward - OSBot 2
I hope community isn't angry when I get hit by a bus tomorrow
-
drawing and saving on image?
Create image -> draw shapes or whatever on it -> save image with those graphic modifications That's what I'd like to do. nevermind got it lol if anyone wants to clue me in on how to grab script paint in the onExit method before the bot itself clears it that would be great
-
AIOFighter development, JAVAFX, WEBWalking, etc
If you need a high level I can get you one with 111 combat.
-
The Great Transition Forward - OSBot 2
Perfectly stated.Unlike you botters, what we do takes a lot more skill and ingenuity than a couple mouse clicks or mindlessly playing a game. You have no idea what it's like to literally sit there and stare at documentation on bitwise operators/shifts just for the sake of gaining knowledge to make your scripts that much better (and programming knowledge as well). It's a tiring task which is why you see 99% of this site classified as script users while the other 1% make them. tl;dr fuck george clooney
-
Woodcutter Suggestions
It's actually less work for the user + reduced ban rates. Custom path means no one else is using it, plus even creating specific locations in general is extremely limiting.
-
Woodcutter Suggestions
Or be like me and be a true AIO: All user to create multiple paths and save them.
-
If i get an answer for this, I'll pay YOU $15,00 PP.
idk why people lose twc in the first place lol
-
The Great Transition Forward - OSBot 2
Do you people not realize that OSB2 NEEDS to happen? After scripting with it for a couple days now I really see the benefit it is going to have towards botting in general. The mouse movements are more human like and overall it seems to be pretty undetectable. Also, in case anyone is not aware, the only reason they started development on a brand new bot in the first place was because the original was poorly constructed. It is in all of our best interests that they started anew.
-
Alpha Preview - VerifiedPuroPuro
What pathing algorithm did you use to plot the route between you and the imp?
-
What is the lowest ID you've seen, what item had ID 1?
The real question is why are you still using ID's brah.
-
onPaint
They switched the argument to Graphics2D in OSB2. For the love of God just use one catch block.