Jump to content

progamerz

Scripter II
  • Posts

    3466
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    100%

Everything posted by progamerz

  1. Thanks @LoudPacks,@Explv and @Cyberus. Usage: //Grabbing level getSkill("Acc_name", SKILL_ID).getLevel(); //Grabbing EXP getSkill("Acc_name", SKILL_ID).getXp(); Highscore.java import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; public final class Highscores { public static String username; private Highscores() { } private static final String BASE_URL = "http://services.runescape.com/m=hiscore_oldschool/index_lite.ws?player="; private static final int SKILL_COUNT = 24; private static final int ACTIVITY_COUNT = 3; public static Skill[] getSkills(final String playerName) { Skill[] skills = new Skill[SKILL_COUNT]; try (BufferedReader reader = new BufferedReader(new InputStreamReader(new URL(new StringBuffer(BASE_URL).append(URLEncoder.encode(playerName.replace((char)160, ' '), "UTF-8")).toString()).openStream()))) { for (int skill = 0; skill < SKILL_COUNT; skill++) { String[] skillEncodedSplit = reader.readLine().split(","); skills[skill] = new Skill(Integer.parseInt(skillEncodedSplit[0]), Integer.parseInt(skillEncodedSplit[1]), Integer.parseInt(skillEncodedSplit[2])); } } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return skills; } public static Skill getSkill(final String playerName, int skillId) { return getSkills(playerName)[skillId]; } public static Activity[] getActivities(final String playerName) { try { final Activity[] activities = new Activity[ACTIVITY_COUNT]; try (final BufferedReader reader = new BufferedReader(new InputStreamReader(new URL(new StringBuffer(BASE_URL).append(playerName).toString()).openStream()))) { for (int skill = 0; skill < SKILL_COUNT; skill++) { reader.readLine(); } for (int activity = 0; activity < ACTIVITY_COUNT; activity++) { final String[] activityEncodedSplit = reader.readLine().split(","); activities[activity] = new Activity(Integer.parseInt(activityEncodedSplit[0]), Integer.parseInt(activityEncodedSplit[1])); } } return activities; } catch (final IOException e) { throw new IllegalArgumentException("Username not valid"); } } public static Activity getActivity(final String playerName, int activityId) { return getActivities(playerName)[activityId]; } public static class Skill { private final int rank; private final int level; private final int xp; private Skill(final int rank, final int level, final int xp) { this.rank = rank; this.level = level; this.xp = xp; } public int getRank() { return rank; } public int getLevel() { return level; } public int getXp() { return xp; } } public static class Activity { private final int rank; private final int score; private Activity(final int rank, final int score) { this.rank = rank; this.score = score; } public int getRank() { return rank; } public int getScore() { return score; } } }
  2. Can i ask what u doing atm for 100k/hr? Small proggy on SDM!:
  3. He meant when u go to the Ardounge Castle it won't return to ardounge castle after bank
  4. Congrats on the 2 year keep it Up, GL all also gl to me :P!
  5. Here you go found out a good tutorial for u:
  6. Ok thanks as this password was same as my skype... so yeh anywayz thanks bro
  7. and what i want is that can u please search for the IP here? cause it should be obviously some1 here
  8. Actually he tried to change the pass but as i told u gmail traped him and gave me his details which is in the OP.
  9. PLZZZ MAKE THIS PRIVATE SO I DON'T GET INTO MORE PROBLEMS PLEASE!!! Some1 has hacked my skype and talked with a customer trying to scam my customer for 20m about accs: PLZZZ MAKE THIS PRIVATE SO I DON'T GET INTO MORE PROBLEMS PLEASE!!! [stuff hidden]
  10. Try bank = nearest and when to bank = no food and try hope so it will fix it.
  11. Just yesterday i tried it and it was working well? what have u put the settings as exactly?
  12. Doesn't move mouse outside but i selected it to do that, the logger says at first this: [INFO][Bot #1][06/23 08:59:39 PM]: "ab_mouse_outside" changed to "1" then when i clicked start button said this in the logger: [INFO][Bot #1][06/23 08:59:42 PM]: mouse outside: false So its probably not detecting the Move outside setting from the GUI. EDIT: NVM about that was using the checkbox in the tasks tab. but task switching doesn't work when i switch the styles my self it says this: the tasking was (40,40,40, 5 level gap so it got to 20 and i tried to switch to str after that it said what is below in the logger) [INFO][Bot #1][06/23 09:29:12 PM]: Found att button: 3 [INFO][Bot #1][06/23 09:29:12 PM]: Found att button: 3 [INFO][Bot #1][06/23 09:29:13 PM]: Found att button: 3 Thanks, Progamerz
  13. Nope but will be soon(Green Drags) Same for looting bag, they are currently in testing!
  14. Can u answer on skype please ?
  15. U can buy vouchers from http://osbot.org/forum/forum/227-vouchers/ for osgp .
  16. Ran out of likes nice update!!!
  17. MIRROR MODE is to DECREASE ban rates not to STOP ban rates. BOTTING = BANS.
  18. i didnt get trial yet?
  19. trial please? already had liked this thread since like when it was released or something so idk if it would work if i dislked and liked again. Thanks.
×
×
  • Create New...