Everything posted by Swizzbeat
-
Making few freebies.
Omg you legend, I'll add that to my siggy once I figure out how I'm going to display my scripts now that were only allowed up to 3 images in signatures
-
Very Unreliable Scripters
While I do feel like @Sigma is being a total ass about the whole thing and coming off as a complete dick, I agree with @Pain that his points are valid. Let's be honest, probably the only scripters here that could build any type of business grade application are the developers, @Alek, the people in AT Team, and @Pandemic. That's it. I do think @Sigma needs to stop calling out just OSBot scripters, as this same lack of knowledge applies to almost every scripter on every client (including *).
-
Universal Mine
Looks awesome! I'm releasing my miner very shortly, great to see more competition
-
Timekeeper is an asshole
Support let's rape him.
-
Polygon Area
import org.osbot.script.rs2.map.Position; import org.osbot.script.rs2.model.Entity; import java.awt.*; /** * Created with IntelliJ IDEA * User: Anthony * Date: 3/23/2014 */ public class PolygonArea { private Polygon polygon; public PolygonArea(Position... positions) { polygon = new Polygon(retrieveXPoints(positions), retrieveYPoints(positions), positions.length); } public boolean contains(Entity entity) { return polygon.contains(entity.getX(), entity.getY()); } public boolean contains(Position position) { return polygon.contains(position.getX(), position.getY()); } private int[] retrieveXPoints(Position[] positions) { int[] xPoints = new int[positions.length]; for (int i = 0; i < positions.length; i++) xPoints[i] = positions[i].getX(); return xPoints; } private int[] retrieveYPoints(Position[] positions) { int[] yPoints = new int[positions.length]; for (int i = 0; i < positions.length; i++) yPoints[i] = positions[i].getY(); return yPoints; } } Probably could be improved as well as have had more methods implemented/overridden but here's a basic class for creating a polygon area instead of being stuck with just a simple square.
-
Very Unreliable Scripters
I have zero desire to write scripts for *, the only reason I did was because a friend needed it. Sorry I don't want to sit there and scan the API for every little tiny thing I need. Why are you making it sound like I said OSBot's API documentation was terrible? The only thing I said was that people never provide reasons why it isn't up to their standards (which you just have thank you very much). It sounds as though you think you can do better, so why don't you? Also, validate is a completely valid name for a method that validates something. English evidently isn't your first language:
-
Count to 50 before a staff post!
20
- so...
-
Making few freebies.
Signature/Avatar/Bot Paint/Script Icon for me Do I have to choose?
-
Very Unreliable Scripters
Have you ever even used OSBot's API? People love to bash on it but I don't see them posting any reasons why it's terrible. If a certain method isn't working then make your own, it's very easy with the generic methods such as grabbing the items in your inventory, getting the mouse destination of a game entity, etc.Also, how does RuneScapes code pertain to any of this? You sound like a very intelligent kid, and if I remember correctly you've posted some brilliant code on these forums, but posts like these destroy your credability and make you look like a child. There's no reason to use derogatory language to try to make yourself sound cool considering most of the people on this thread are just trying to have a discussion. Oh and at anyone who says * is better, it's not. I've used their API and it's just as bad.
-
Very Unreliable Scripters
If I may make one last comment here, I think the majority of people are confusing scripting and programming actually are and how they relate. Scripting (in the context of creating bot scripts) can be done with MINIMAL Java knowledge and someone with a month of Java experience can make a fully functional flawless script. Yes the code may be terrible, however in my opinion if it works it works. Programming on the other hand involves not only a flawless application, but also designed upon a framework with scalability and proper conventions, design patterns, etc. With that being said yes I do think scripters should have a much richer knowledge of how to program, but it shouldn't be a requirement for putting a premium script out there. My very first script I ever wrote (about a month into learning Java as well) is now the most sold premium script on OSBot and has been performing without any bugs for 4+ months now without a single update. Considering it was made on nested if/else statements I think that is evidence enough that scripting and programming are two entirely different things.
-
Very Unreliable Scripters
When I get hit by a bus, die and cannot update my scripts, I will be sure to remember this.
- Why?
-
Why?
Agreed, the current staff team thinks these forums are their life.
- @Pain
-
|Maldesto IRL | FaceCam Hacked | Leaked Photo|
Last time I saw him he grew the beard out a little bit more.
-
What are you listening to right now?
Porn. I'll post some actual music later ;)
-
Retrieving all interactable objects
Just grab all the objects in the area and perform a getActions check.
-
Fuck everything.
Ahh I remember these times. That's why I always did my saving after every little change I made :p
-
peasants
You killed profits for fletching scripts lel
-
#TeamFuckChatbox
Reported for offensive language.
-
#TeamFuckChatbox
Support, I do agree most kids get butthurt to easily.
- Music Section
-
Do/Would You Shave Your Pubic Hair?
My massive cock length makes up for the laziness that is me never shaving.
-
Painting in onStart
Yeah I was trying to avoid doing this because of, like you said, the obfuscation. I'll try this code out and see what I can do thanks EDIT: Tried both this code out as well as getting the canvas directly and they both just lead to an onStart error being supressed. Here's the message when I log the BotCanvas: bx[canvas0,0,0,765x503,invalid] EDIT EDIT: Nevermind found the real issue. It's grabbing the canvas context fine but for some reason when I'm trying to get the bounding box of a specific object it's returning null...