Leaderboard
Popular Content
Showing content with the highest reputation on 10/01/14 in all areas
-
Rule #1: When goldfarming, keep your method secret at all times. Sorry.3 points
-
Disable user input and it won't bring it up. VIP won't do anything since I put it in the script :p3 points
-
No, strategicially invest it so it can grow faster than the rate of inflation.2 points
-
2 points
-
save it and do what? Look at it? It just feels good to buy stuff like this from an online game2 points
-
2 points
-
Fucking choose one, PS Going with enabling randoms and sitting in bee hive random for 2 hours ISN'T the correct choice, please try again2 points
-
I know it was completely retarded to bot 20 accounts on the same ip, They lasted 4 hours all together. It was the free woodcutter and some random monk killer that was also free.2 points
-
2 points
-
2 points
-
2 points
-
2 points
-
1 point
-
1 point
-
1 point
-
1 point
-
i'd love it, legit-bot my way to 99 str and atk currently doin this 70k ish atk xp/h1 point
-
1 point
-
You call me out to fight you then say I won't be able to catch you?you just said that you'd run away when I come to fight you by saying I can't catch you you punk ass mofo. Gtfo and go study math.1 point
-
Man, you suck at math, you'd want to be mod THEN be mod - it obviously looks that way since you put yourself as mod after you putnyourself as admin which means you want a demote - and then think I'd fight you?I don't fight with the mentally disabled. ;)1 point
-
1 point
-
Glad to see you planning ahead ^_^ That's a big mistake I see lots of beginner goldfarmers make when they cash in they're first return.1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
This update features a handful of new tools for scripters along with improvements to interactions. Additionally, a large portion of the bot has undergone many revisions in support of our future projects. Both scripters and botters should feel the positive effects of this release. If you would like to learn how to script, please visit these tutorials: Setup guide: http://osbot.org/forum/topic/60538-setup-instructions-to-start-scripting-very-easy/ Basic script guide: http://osbot.org/forum/topic/60535-osbot-script-skeleton-the-minimum-code-to-make-a-script/ OSBot 2.2.28 @Alek's changes: API - Scripters Only -Added localWalker methods walkPath(List<Position>) and walkPath(Position[]) -Added localWalker method waitUntilIdle() -Added localWalker method findPosition(Position p); (Finds a position halfway between you and the target) -Added Utilities class --Added utilities method getMinValue(int[]); (Finds the position of the smallest int in an array) --Added utilities method int[] convertIntegers(List<Integer>) -Added MoveMouseEvent(RS2InterfaceChild child) -Added NPC method hover() -Patched ItemContainer hover() method -Patched all Interactable hover() methods -All Interactable hover() methods are now boolean type Notes: The walkPath() method is very inclusive and may contain some bugs on the initial release. All - Scripters and Botters InteractionEvent by default checks if an entity is on screen before attempting to walk to it. Previously if an entity was on screen but met the distance threshold criteria, it would still walk to the entity. Scripters can override the isVisible default check by setting the walkingDistanceThreshold in InteractionEvent. Notes: The InteractionEvent change has been tested but as always, cannot be fully tested until it reaches the masses. Shout out to for all the bug reports! Thanks for using OSBot -The OSBot Team1 point
-
Are you sure you're ready to maintain two bots? I'm skeptical to say the least :\1 point
-
import java.net.HttpURLConnection; import java.net.URL; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.ProtocolException; import java.net.URLEncoder; import com.google.gson.JsonObject; import com.google.gson.JsonParser; public class PriceFetcher { public static double getAvgPrice(String q) { HttpURLConnection connection = null; BufferedReader rd = null; StringBuilder sb = null; String line = null; URL serverAddress = null; try { serverAddress = new URL("http://forums.zybez.net/runescape-2007-prices/api/item/" + URLEncoder.encode(q, "UTF-8")); connection = null; connection = (HttpURLConnection)serverAddress.openConnection(); connection.setRequestMethod("GET"); connection.setDoOutput(true); connection.setReadTimeout(10000); connection.setRequestProperty("User-Agent", "Bot"); connection.connect(); rd = new BufferedReader(new InputStreamReader(connection.getInputStream())); sb = new StringBuilder(); while ((line = rd.readLine()) != null) { sb.append(line + '\n'); } JsonParser parser = new JsonParser(); JsonObject obj = parser.parse(sb.toString()).getAsJsonObject(); if (obj.has("average")) { return obj.get("average").getAsDouble(); } else if (obj.has("error")) { System.out.println(obj.get("error").toString()); } } catch (MalformedURLException e) { e.printStackTrace(); } catch (ProtocolException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } finally { connection.disconnect(); rd = null; sb = null; connection = null; } return Double.NaN; } public static void main(String[] args) { System.out.println(getAvgPrice("0")); // => NaN System.out.println(getAvgPrice("Lobster")); // => 226.689 System.out.println(getAvgPrice("3+@@#$@.---")); // => NaN System.out.println(getAvgPrice("Blue partyhat")); // => 48370.227 } } Requires google-gson in your build path for parsing the JSON response!1 point