Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/09/17 in all areas

  1. RandomIncSudokuSolver Hello everyone, this is my first script I made for the OsBot client. It was my intention to learn the api. This script will try to solve the sudoku minigame, after solving it, it will buy runes. (Default settings are DEATH, NATURE and COSMIC runes). I'm too lazy to make a GUI at the moment. You can change the runes and the solve speed in the main Script class. There is a simple paint that tells you how many sudoku's you've solved and how much profit you've made. Don't run this script for too long and without the break handler! The sudoku minigame has a high ban rate... It will automatically detect your screen brightness and set it on the forth position (since it relies on color data). You need to start it next to Ali (it will not web walk or anything like that). Make sure you have enough money in your inventory. If it runs out, the script will be stopped. Source and jar download Feedback is welcome! Happy botting ~RandomInc Edit: I would like to apply for the script writer rank I, is this possible with current script?
    3 points
  2. Want to buy with OSGP? Contact me on Discord! Detailed feature list: - Chop & Bank (Presets) Preset locations for quick a start without too much settings to choice from (Barbarian assault, Castle wars, Catherby, Draynor, Edgeville, Falador-East, Gnome stronghold, Grand exchange, Hardwood grove, Mage training arena, Neitiznot, Port sarim, Rimmington, Seers, Varrock-East/West, Woodcutting guild, ...) - Chop & bank (Custom) Chop on any location of your choice Set a chop position and a chop radius Select the tree type you want to chop Banks at the closest bank possible - Chop & Drop Chop on any location of your choice Set a chop position and a chop radius Select the tree type you want to chop Drops all logs (unless fletching is used) Option to fletch your logs into arrow shafts OR bets item possible based on your level and Logs UIM mode (Only drops logs, carefull with bird nests etc.) - Redwood Option to drop logs instead of banking - Forestry support (Struggling sapling, Tree roots, Fox, Pheasant, Ritual circles, Leprechaun, Entlings, Beehive) - Log basket support - Bird nest pickup support - Axe special attack (Crystal, Dragon, Infernal, ...) - Progressive axe upgrading - Humanlike idles - Menu invokes - CLI support for goldfarmers Custom Breakmanager: - Setup Bot and break times - Randomize your break times - Stop script on certain conditions (Stop on first break, Stop after X amount of minutes, Stop when skill level is reached) - Worldhopping - Crucial part to botting in 2023! Script queueing: - Support queueing multiple script in a row - All Khal scripts support flawless transitions in between scripts - Start creating your acc in a few clicks from scratch to multiple 99's - Flawless CLI support - Learn more here: How to use CLI parameters: - Example Usage: -script 569:ScriptFile.BreakFile.DiscordFile SAVEFILE = Saved Filename BREAKFILE = Breakmanager Filename - SAVEFILE: Save file can be created in the GUI. Navigate to the tab you want to run and press "Save As CLI file". Please choose your filename wisely (No special characters) - BREAKFILE (Optional): Breakfile can also be create in the GUI, set the breaksettings you wish to use and press "Save new CLI BreakFile". Please choose your filename wisely (No special characters) - Final form (Note that with some bot managers you do not need to specify -script 569): -script 569:TaskList1.4515breaks (With breaks) -script 569:TaskList1.4515breaks.discord1 (With breaks & discord) -script 569:TaskList1..discord1 (NO breaks & discord) Proggies:
    2 points
  3. Alright thanks. Guess I need to made some small modifications. I'll apply tomorrow or the day after tomorrow.
    2 points
  4. 2 points
  5. Thanks! Yes, I have the script writer rank on another oldschool botting site (house rules say I cannot say the name..).
    2 points
  6. I've gone ahead and banned the user, if he wishes to return, he will have to refund.
    2 points
  7. Not mine: import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; public class Exchange { private static HashMap<Integer, Integer> cache = new HashMap<Integer, Integer>(); public static String getData(int itemID) { try { StringBuilder sb = new StringBuilder("https://api.rsbuddy.com/grandExchange?a=guidePrice&i="); sb.append(String.valueOf(itemID)); InputStream inputStream = new URL(sb.toString()).openStream(); InputStreamReader inputStreamReader = new InputStreamReader(inputStream); BufferedReader bufferedReader = new BufferedReader(inputStreamReader); String line; while ((line = bufferedReader.readLine()) != null) { if (line.contains("{")) { sb = new StringBuilder(line); sb.deleteCharAt(0); return sb.toString(); } } } catch (Exception e) { return e.getMessage(); } return null; } public static String[] parseData(String data) { ArrayList<String> holder = new ArrayList<String>(); String[] parts = data.split(","); //Now we have strings in format "x":y for (String s : parts) { s = s.replace("\"", ""); //Remove " - now in format x:y holder.add(s.split(":")[1]); //Extract y from format x:y } String[] ret = new String[holder.size()]; return holder.toArray(ret); } public static int getPrice(int itemID) { if (itemID == 995) return 1; if (cache.containsKey(itemID)) { return cache.get(itemID); } String[] data = parseData(getData(itemID)); int price = Integer.valueOf(data[0]); cache.put(itemID, price); return price; } } Use: Item item = getInventory().getItem("Coal"); int price = Exchange.getPrice(item.getId())
    2 points
  8. 2 points
  9. honesty is the best policy ;)
    2 points
  10. @Ace @Oven Mitts @Lagginglemon @Eagle Scripts @Failure @Hi Im Meako @TheDMan22 @AresScripts @lawf @Exylum @Deceiver @Maldesto @crico @tmanowen @maxvldz @evilhell @angus3 @montie @tr1zym @Tuhto @Han @Barnie @Joster @bazmorekentos @molier @Incarnationz @scaletta58 @gearing @socallmemaybe @logi @Solzhenitsyn @AddeyB @Sub_Zero @jython @Jammer @walterww @Drkohler @tranzystor3 @decal @diltom1998 @Fairy Tail @thepeople @roguehippo @Zulrah @Jungle_walk @payton9812 @Spore @SuikaBooty @YuhhMauls @Acke @dimka5112 @Kaarthal @BlindedIBall @remfu @cartel132 @johnny12303 @dorsai68 @dorsai67 @seeker @MockingJayG @jojangers @purplewatilla @killercrak @victoremidio159 @THS @BotLearn01010110 @whipz @ihadyourbaby @mongomongo @thatguycalledrob @fonchox @Theorems @Chris @Zappster @Keven And @ anyone else PSA: This script is now premium with a price of $1. If the script has disappeared from your list, that is why I will be working on adding some more features, including adding upper floors and dungeons to the map, some shortcuts to walk to the closest bank / GE, options to hide the paint and gui from CLI etc. Let me know if there are any updates you would like to see. Thanks!
    2 points
  11. Here is a simple class I have written to retrieve grand exchange information for specified osrs items, using the json file hosted by rsbuddy at: https://rsbuddy.com/exchange/summary.json Note the retrieval of this data should only be done once at the start of your script, and you should store the map for use later rather than re-calling the method. You may also get better performance using a JSON library. RSExchange.java import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.regex.Matcher; import java.util.regex.Pattern; public final class RSExchange { private final String ITEMS_JSON; public RSExchange() { ITEMS_JSON = getItemsJson().orElse(""); } private Optional<String> getItemsJson() { try { URL url = new URL("https://rsbuddy.com/exchange/summary.json"); URLConnection con = url.openConnection(); con.setRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36"); con.setUseCaches(true); BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream())); String json = br.readLine(); br.close(); return Optional.of(json); } catch (Exception e) { e.printStackTrace(); } return Optional.empty(); } public final Optional<ExchangeItem> getExchangeItem(final String itemName) { return getItemID(ITEMS_JSON, itemName).map(id -> new ExchangeItem(itemName, id)); } public final Map<String, ExchangeItem> getExchangeItems(final String... itemNames) { Map<String, ExchangeItem> exchangeItems = new HashMap<>(); for (final String itemName : itemNames) { getItemID(ITEMS_JSON, itemName).ifPresent(id -> exchangeItems.put(itemName, new ExchangeItem(itemName, id))); } return exchangeItems; } private Optional<Integer> getItemID(final String json, final String itemName) { return getItemFromJson(json, itemName).flatMap(this::getItemIDFromItemJson); } private Optional<String> getItemFromJson(final String json, final String itemName) { Matcher matcher = Pattern.compile("(\\{[^}]*\"name\"\\s*:\\s*\"" + Pattern.quote(itemName) + "\"[^}]*})").matcher(json); return matcher.find() ? Optional.of(matcher.group(1)) : Optional.empty(); } private Optional<Integer> getItemIDFromItemJson(final String json) { Matcher matcher = Pattern.compile("\"id\"\\s*:\\s*(\\d*)").matcher(json); return matcher.find() ? Optional.of(Integer.parseInt(matcher.group(1))) : Optional.empty(); } } ExchangeItem.java import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.util.Optional; import java.util.regex.Matcher; import java.util.regex.Pattern; public final class ExchangeItem { private final String name; private final int id; private int overallAverage = -1; private int buyAverage = -1; private int sellAverage = -1; private int buyingQuantity; private int sellingQuantity; public ExchangeItem(final String name, final int id) { this.name = name; this.id = id; updateRSBuddyValues(); } public final String getName() { return name; } public final int getId() { return id; } public final int getBuyAverage() { return buyAverage; } public final int getSellAverage() { return sellAverage; } public final int getBuyingQuantity() { return buyingQuantity; } public final int getSellingQuantity() { return sellingQuantity; } public void updateRSBuddyValues() { try { URL url = new URL("http://api.rsbuddy.com/grandExchange?a=guidePrice&i=" + id); URLConnection con = url.openConnection(); con.setRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36"); con.setUseCaches(true); BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream())); String json = br.readLine(); br.close(); getItemValue("overall", json).ifPresent(overallAverage -> this.overallAverage = overallAverage); getItemValue("buying", json).ifPresent(sellAverage -> this.sellAverage = sellAverage); getItemValue("selling", json).ifPresent(buyAverage -> this.buyAverage = buyAverage); getItemValue("buyingQuantity", json).ifPresent(buyQuantity -> this.buyingQuantity = buyQuantity); getItemValue("sellingQuantity", json).ifPresent(sellingQuantity -> this.sellingQuantity = sellingQuantity); } catch (Exception e) { e.printStackTrace(); } } private Optional<Integer> getItemValue(final String key, final String json) { Matcher overallAvgMatcher = Pattern.compile("\"" + key + "\"\\s*:\\s*(\\d*)").matcher(json); if (overallAvgMatcher.find()) { return Optional.of(Integer.parseInt(overallAvgMatcher.group(1))); } return Optional.empty(); } public final String toString() { return String.format("Name: %s, ID: %d, Overall AVG: %d gp, Buying AVG: %d gp, Selling AVG: %d gp, Buying Quantity: %d, Selling Quantity:%d", name, id, overallAverage, buyAverage, sellAverage, buyingQuantity, sellingQuantity); } } Usage: final RSExchange rsExchange = new RSExchange(); rsExchange.getExchangeItem("Yew logs").ifPresent(System.out::println); This would print out Name: Yew logs, ID: 1515, Overall AVG: 355 gp, Buying AVG: 355 gp, Selling AVG: 354 gp, Buying Quantity: 90576, Selling Quantity :71726
    1 point
  12. As the title state, im looking for some partners in botting/farming. I currently have a large supply of p2p accounts coming in daily with all the stats you can imagine. I don't have the capacity nor the scripts at the moment to run a larger amount of bots and im looking for people who have. if this is something that might interest you, hit me up at discord zeslicer#2700 and we can talk.
    1 point
  13. Thanks for supporting this great script!
    1 point
  14. There is a little bit of a process to get Scripter rank I. You receive Scripter I rank when you get a script uploaded to the SDN (Script Delivery Network). Check out the 4 articles under the announcements here: https://osbot.org/forum/forum/181-open-sdn-upload-requests/
    1 point
  15. Had to choose between passing the script around or using a static class with 5 ish variables. Amh, I know it isn't perfect, but it looks clean if it doesn't get too big imo.
    1 point
  16. Looks very good! Thanks for sharing with our users
    1 point
  17. Understood - I only skimmed through the code, but it looked pretty clean! I look forward to reading through the logic of your sudoku solver in a bit!
    1 point
  18. someone in a den of Chinese gold farmers is dedicated to controlling the mouse and keyboard of your bot remotely.
    1 point
  19. i heard Juggles writes the best scripts. And theyre free! dont support monopolies, help the little guys out!
    1 point
  20. Since the web walker is not as reliable as path walking (as it has to dynamically generate a path, and there is more that can go wrong), The script navigates the sand crab area using a local network of paths for maximum reliability. If you start the script elsewhere, or if the script cannot detect it's current approximate location, it will default on the web walker. If started at sandcrabs (in any area), the script should never use the web walker. For refreshing, a path is used, but exact tiles clicked will vary with external factors such as camera angle and latency. Hopefully that answers your question (: Apa Glad you got it sorted! (:
    1 point
  21. As mentioned before. You have to achieve a certain rank to release paid scripts. Having it on your website as a walk around is a no go so i'll be removing your thread for now.
    1 point
  22. Look at the bump rule before bumping. Now you should be releasing this as a free script because right now it could be counted as a private script because it has a price tag and you cannot sell to more than one person if this is counted as a private script. Then again its sketchy to order from your site because of personal information requirement and you dont have an SSL cert on your site either. What I suggest for you to do is release it here as a free script, get s1 rank and start releasing scripts on osbots SDN, get S2 rank and release premium scripts if you are interested in making money from script sales. Im sure that you dont mean any harm but still, shouldhave contacted a staff member for clarification. @Decode
    1 point
  23. Oh my... How I wish that I had your setup... I don´t know shit about mining btc haha, but I sure wish I had the cash and experience to get started.
    1 point
  24. Need digsite quest Bone voyage Quest x2 Quote me pm or post here thanks
    1 point
  25. Looks like a great script! Damn construction is so expnsive ? And click intensive Glad there's this bot to relieve my hand from all the clicking ha
    1 point
  26. Czar I have purchased your Pest Script and I have got to say it is good! but I have found 2 errors in it. Sometimes the character stops at the boat and doesnt even enter the boat. 2nd Flaw is sometimes the bot goes into the middle next to knight and just stands there and does nothing. This happens sometimes. If a possible fix is in order you best believe all those other scripts will be purchased thanks for your time and hard work.
    1 point
  27. Absolutely, I'll add an option tonight
    1 point
  28. I am buying 200m 07GP. Looking for rates around $0.80 -> $0.90 Only doing PayPal UNLESS you cover BTC conversion fees and find someone to exchange it. Only going first with trusted users. Regards
    1 point
  29. Buying 25m Join my discord to sell me. I'm online right now.
    1 point
  30. @Divergent07 is doing this for me, thanks for all your offers!
    1 point
  31. What do you need? : in aid of myreque ,royal trouble, kings ransom, throne of miscellania ALL ON AN IRONMAN Payment method? : osrs Going first or middleman? : first What is your Skype? :billy.rooke Do you agree to the TOS? :yes
    1 point
  32. Sysm's level 3's are better than Theminis' level 3's!
    1 point
  33. Mirror client version 2.4.144 Console output / terminal output Nothing Crash report if a crash occurred No crash, just bot like behaviour Script that you ran my own Hooks that failed none JVM/Browser bit version (32 / 64) Code used: for (Item item : api.store.getItems()) { for (Rune rune : runesToBuy) { if (item.getId() == rune.getRuneId()) { int amount = api.store.getAmount(item.getId()); if (amount > 0) { api.store.buy(item.getName(), amount); } } } } Behaviour: Mouse will move to empty spot, or won't move at all. It will buy a few runes from the first type. than it stops working.. Location: Shop from Ali Morrisane's in Al kharid EDIT: GIF: https://i.imgur.com/gCccjeo.gif EDIT 2: I'm currently using widgets, and it works great too. But I would still very much like the store api to get fixed. (Or am I doing something wrong here?)
    1 point
  34. Cheers for letting me know of the new changes. It's only a dollar? Sure I'll buy it. Looking forward to seeing the floor/dungeon additions.
    1 point
  35. Well i did full inv of sharks, banked 5 and it worked, strange think needs space for chest reward, thanks anyways!
    1 point
  36. i can vouch for Sysm, I purchased lv 3's and they lasted the longest. Edit
    1 point
  37. sysm best lvl 3's better than pulseimpulse lvl 3
    1 point
  38. Started using it; works great! Will definitely be purchasing! Anyone have advice for frequency of use to avoid the ban hammer?
    1 point
  39. Woke up this morning to a bot busting moderate offence on one of my gold farmers. I've had over 30 perms so far and not one 2 day. Surprisingly my other account that is built the same, and does the exact same methods, and even shares the ip didn't get a ban. However, I nmz quested the one that didn't get banned yesterday so I suppose a couple quests really make that difference. Anyway, excited that I finally got a 2 day and not a perm. Sucks it couldn't be a 2 day on a main I lost earlier last month. Anyone else getting banned? I've heard nmz scripts were getting targeted, and i'm assuming with all the content that's being pushed out it weeds out some bots?
    1 point
  40. Any chance for trial? interested in getting a new script that gets updated/runs smoothly
    1 point
  41. i'd like to try it out with a trial before buying
    1 point
  42. Which script did you use? The scripter has to add it
    1 point
  43. close: sudo apt-get install default-jre
    1 point
  44. Buying 30m at .94/m Paypal
    1 point
  45. Using Digital Ocean for OSBot Referral code Since I took the time to write this, I’m gonna be a shill and say use my referral code: https://www.digitalocean.com/?refcode=49d74b3ac319 This will give you $10 in free credits along with giving me $25 once you deposit $25 real monies. I believe you only need to deposit $5 to get the $10 credit, else hookup a credit card (don’t quote me). Fast Method (alternative to all the stuff below) I made a script that will take care of all these issues for you. Simply setup a VPS (as below), and once you have a SSH Terminal run: apt-get install curl bash <(curl -sL http://git.io/vWPiu) - It will ask you for a username, password, and VNC password. Enter these. - Wait for it to say something about rebooting. - Reboot, wait 10 seconds and connect to <dropletip>:5901 with a VNC client and enter your VNC password. - Login to OSBot client. This scripts source can be viewed by visiting http://git.io/vWPiu or https://gist.github.com/Lem0ns/52ccbf8d5038e8f2f446 Making the VPS This only has to be done once, then all future VPSs will be ready on creation! Step 1 - Create the Droplet Give it a hostname, then choose any size you’d like. I personally use the 512mb droplets as they are enough for the scripts I am using. If you need more resources you may want to get a larger package, this is mostly experimentation. Select a region, then pick “Ubuntu” as the OS. I personally use 14.04 32-bit as its easiest to work with and has long term support. Step 2 - While we wait You will learn this screen lies, and just always says “30 seconds”. While we wait, please download PuTTY if you are on windows: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe This program allows us to execute commands in a remote setting. If you are on linux/mac you will just use the ‘ssh’ terminal command. Step 3 - Connect to VPS We are now ready to connect using PuTTY! Open putty.exe and you’ll be faced with: Enter the IP of your VPS then hit “Open”, then on the window that pops up “Yes”. Now login as “root” and enter the password you got in the email they sent you. Once you login it will ask you to change your password, do so. Note this is NOT the account we will be using, but make it secure regardless and unique if possible. Step 4 - Make a non-sudo user Now you should have a prompt. First thing we are going to do is make a new user. Note when I give commands that # and $ are not part of it, just shows its entered into a prompt. # adduser botter This will prompt you to enter a password and some details (Just hit enter for nothing), then enter for Yes (captial letter = default choice). Now we have a non-sudo user. To fix this, simply do: # adduser botter sudo Now disconnect and reconnect as that user (botter). Step 5 - Installing a desktop environment Now we need to make it so we have a GUI. We will install lxde, as its lightweight and does what we need: $ sudo apt-get update For those interested, the # turned to $ as this user is not root. Running the command will spew a list of urls (these list all the packages available in repos). Wait until it finishes, then: $ sudo apt-get install lxde This will display a large block of text (a ton of packages it will install, don’t worry). Just hit enter and then wait as your desktop is installed. Step 6 - Installing VNC Now we install VNC: $ sudo apt-get install x11vnc Now it needs a password file to authenticate users, create one by doing: $ x11vnc -storepasswd /home/botter/vncpasswd It will prompt you with a password, then a confirmation on the location of the file. After this, we need to add this command to the startup. Run: $ sudo nano /etc/rc.local and after all the blue comments but before the green exit 0, put: x11vnc -forever -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth /var/run/lxdm/lxdm-\:0.auth -rfbauth /home/botter/vncpasswd Now press Ctrl-X and then the Y key, and enter. Finally, we do: Step 7 - Setup swap space Just as a precaution, and since 512mb is so small, we setup some swap space to make our lives easier. Just enter all these commands and tada, swap: $ sudo fallocate -l 4G /swapfile $ sudo chmod 600 /swapfile $ sudo mkswap /swapfile $ sudo sysctl vm.swappiness=10 $ sudo nano /etc/fstab That last command edits a file, at the end of it put: /swapfile none swap sw 0 0 Now for all this to take effect, we must restart: $ sudo reboot This will reboot the server with the new LXDE desktop environment, VNC, and swap in action! Step 8 - Connecting via VNC If you don’t have a VNC client, or even if you do, I suggest TigerVNC for connecting. Its pretty damn fast, and most of the time I get 20fps+ on a connection. Download from https://bintray.com/tigervnc/stable/tigervnc/1.4.3 When you open it TigerVNC, enter your IP into the box and press connect. It will prompt you for a password, use the password you made. You should now see your VPS desktop! Step 9 - Install Java 8 Open a terminal over VNC, or reconnect using putty. Either way, once your ready, enter: $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer This will begin the Java installer, which will ask you to accept the license and then will download and install the package. After this is complete, you got java! Step 10 - Install Chromium I like to have a browser installed, so: $ sudo apt-get install chromium-browser Step 11 - Download OSBot I make some scripts which ease this process. First start up leafpad, then make a file containing: #!/bin/bash wget http://osbot.org/mvc/get -O osbot.jar Save this to the desktop as “OSBotUpdate.sh”, now make a new file and put: #!/bin/bash if ls osbot\ *.jar 1> /dev/null 2>&1; then mv osbot\ *.jar osbot.jar fi java -jar osbot.jar Save this file as “OSBotRun.sh”. Now, go to your desktop and change both files Permissions to allow executing by the owner only. Just right-click the file, Properties, then the second tab and select “Owner only” in the Execute dropdown. Step 12 - Creating a backup to use when creating new Droplets Do anything you want to be easily replicated onto other servers before this! You can always take another snapshot, so don’t worry too much. Now go to DigitalOcean’s website and power off the machine. Then click on “Snapshots”, give it a name, and click “Take Snapshot”. It will take a while, once the process is done you can startup the VPS and start botting. Note I didn’t have you login to OSBot as it wipes the user info on new VPSs. Step 13 - Creating more VPSs Now when you create a VPS, go to the “Snapshot” section and select your snapshot instead of choosing Ubuntu. Thats it!
    1 point
×
×
  • Create New...