Everything posted by Swizzbeat
-
Anyone wanna team up with swizz?
Seems like everyone is going in to groups, who wants to have me in theirs
-
Dispute Risky
Disputed member: @risky Thread Link: chat box Explanation: He asked to buy my account so I let him on it to confirm the stats and stuff, then said the below. Evidence:
-
Got dumped..
I don't get this reference @OP in all seriousness just hang out with friends and live your life like normal. Go to parties, get smashed, find a hotter girl than she was and forget you ever knew her.
-
biggest bank showen yet?
You do know Greece has one of the worst economies right now :p
-
Add lower tier donation ranks such as 25$ donator
Support, however I don't understand why people think they should get a different colored name/PiP based on different donation amounts. Just keep the yellow name for all types of donations, and change the text to reflect the amount you donated as well as the color at the bottom (ex. blue for $100 donor, black for $50 donor, etc).
- All Food Support
-
All Food Support
No I like seeing stack traces it makes me feel sophisticated Corey with an e.
-
All Food Support
for (Item current : client.getInventory().getItems()) { if (Arrays.asList(current.getDefinition().getActions()).contains("Eat")) { client.getInventory().interactWithId(current.getId(), "Eat"); } } pls
-
#rekt
Isn't some kid serving like 20 years for telling a kid to kill himself on RuneScape? But yet we let murderers get out early for "good behavior"
-
Checking if a door is closed and open if it's closed
Arrays.asList(door.getDefinition().getActions()).contains("Open");
-
Anyone who knows about Pro Hormones and or Steroids read this!
Are you legitimately retarded?
-
Greetings OSbot :)
Share cash I tb'd
-
Is this bad?
I used to get these during lacrosse conditioning, so I know your pain. If you're only getting them from physical activity it's safe to say their just shin splints and, like mostly everyone else on this thread said, they will go away in time.
-
Good idea? or impossible?
So a mercher....?
-
Anyone here who knows this?
Why would you need to do this?
-
Smoking Rock Detection
Hmm I never even thought of height, thanks.
-
inb4 New Designer || ImaRawrrr GFX Jobs
The arrangement is nice but the "graphics" aspect of it is basic. There's not much you can do with a script paint.
-
Smoking Rock Detection
public boolean checkIfMiningSmokingRock() { if (myPlayer().isAnimating()) { RS2Object rock; Position myPosition = myPlayer().getPosition(); switch (myPlayer().getRotation()) { case 0: //SOUTH rock = getRockAtPosition(new Position(myPosition.getX(), myPosition.getY() - 1, 0)); break; case 511: case 512: //WEST case 513: rock = getRockAtPosition(new Position(myPosition.getX() - 1, myPosition.getY(), 0)); break; case 1023: case 1024: //NORTH case 1025: rock = getRockAtPosition(new Position(myPosition.getX(), myPosition.getY() + 1, 0)); break; case 1535: case 1536: //EAST case 1537: rock = getRockAtPosition(new Position(myPosition.getX() + 1, myPosition.getY(), 0)); break; } return rock != null && !arrayContainsPrimitiveInt(MINABLE_ROCK_ID_ARRAY, rock.getId()); //method is not needed if the rock id's are stored in a list, #contains() would work fine } return false; } private RS2Object getRockAtPosition(Position position) { for (RS2Object current : client.getCurrentRegion().getObjects()) { if (current != null && current.getName().contains("Rock") && position.equals(current.getPosition())) { return current; } } return null; } private boolean arrayContainsPrimitiveInt(int[] array, int integer) { for (int current : array) { if (current == integer) return true; } return false; } FYI switch statement looks like that because when mining you're rotation isn't "exactly" what it's supposed to be and may be off by +- 1. This should give people a good idea on how to implement smoking rock detection into their own mining scripts.
-
Possibility to move Veteran date forward?
No support the rank is called Veteran for a reason
-
NPC Last location
If it's not null, store it in a Position variable?
- SMiner 3
-
Hide and unhiding paint.
You need to create a Rectangle object to reference the area where your hide paint button is, and a boolean value to reflect whether it was clicked to show or hide the paint. Then override the mousePressed listener like so (obviously creating the needed variables): @Override public void mousePressed(MouseEvent e) { if (hidePaintRectangle.contains(e.getPoint())) { showPaint = !showPaint; } }
-
Retrieve Player Skill Levels
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.util.HashMap; import java.util.Map; /** * Created with IntelliJ IDEA * User: Anthony * Date: 4/1/2014 */ public class SkillChecker { private static final String URL_BASE = "http://services.runescape.com/m=hiscore_oldschool/hiscorepersonal.ws?user1="; public static Map<String, Integer> retrievePlayerLevelForSkill(String playerName, String... skillNames) throws IOException { Map<String, Integer> skillPairs = new HashMap<String, Integer>(); BufferedReader reader = new BufferedReader(new InputStreamReader(new URL(URL_BASE + playerName.replace(" ", "_")).openStream(), "UTF-8")); String stringRead; while ((stringRead = reader.readLine()) != null) { for (String current : skillNames) { if (stringRead.equalsIgnoreCase(current)) { for (int i = 0; i < 2; i++) { reader.readLine(); } skillPairs.put(current.toUpperCase().charAt(0) + current.substring(1), Integer.parseInt(reader.readLine().replace("<td align=\"right\">", "").replace("</td>", ""))); break; } } } reader.close(); return (skillPairs.size() > 0) ? skillPairs : null; } } I'm not very familiar with data streams so for some of you this may look disgusting. Please provide me with any ways to improve it
-
Great Crossfit Workout
Obviously 50 pounds IRL. You just gotta keep going with it! I found watching bodybuilding videos on YouTube helps, as well as going to the gym on a regular basis with friends.
-
Great Crossfit Workout
Every minute, on the minute, perform 5 pull ups 10 push ups 15 air squats for 25-30 rounds. Beginners can obviously decrease the amount of reps to something along the lines of 3, 6, 9 (respectively) and hardcore workout freaks can bump it up to a higher amount. I did this the other day and it's safe to say it's one of the hardest cardio based workouts I've ever done.