Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/20/17 in Posts

  1. Hello OSBot Community! I'm an old school runescape player. Im 21 now, i played when i was around 13-14 and have recently started playing OSRS again. Since then and now i've learnt a thing or 2 about coding (mostly C# / ASP.NET / PHP) and am now employed as a full time software developer. Coming back into the OSRS scene with these fresh set of skills i thought it would be fun to have a play around with bots. After doing my research and trying out a few bot clients i stumbled across OSBot. The active community here and features this client provides clearly indicated to me ive ended up in the right place! So after downloading the OSBot client and trying out a few scripts, getting familiar with how this all works (i have no previous botting exp) i decided to start writing my first script. Knowing how similar java is to C# i figured i should be able to pick it up pretty easily. Following a guide on here i managed to set up my IDE and start playing around with the API. Im having great fun so far and i hope to release a free Basic Combat script in the near future. Shout outs to : @Explv for the Guide on getting me set up (Awaiting the GUI section to be completed ) @Apaec for his Guide too and for helping me out along the way. Although ive only been here a day or two, I've really enjoyed my time here and am looking forward to being part of this awesome community.
    4 points
  2. Grid position is going to be a bad indicator, as it is simply a more accurate representation of the local position (think sub-positions). Each position has a 128x128 grid used for animations/moving characters. In your example: 6784 / 128 = 53 6272 / 128 = 49 Which is the same values for the local x/y. They seem static as the local/grid positions are the same relative to the loaded region. There are a few ways to handle instances areas. You can just use local position if it doesn't change from instance to instance, but if the region doesn't contain the entire instance, it won't work. You can find the furthest reachable east X and furthest reachable south Y, then use that as "0,0" and offset from that position. Or you can use an object that has a unique position, or a collection of objects, and get a point of reference from there. Edit: To add to IDontEB, you can use that but the API has a translate method for positions: Position offsetPos = barrier.getPosition().translate(-5, -2);
    4 points
  3. ────────────── PREMIUM SUITE ────────────── ─────────────── FREE / VIP+ ─────────────── ──────────────────────────────────────────────────────────── ⌠ Sand crabs - $4,99 | Rooftop Agility - $5,99 | AIO Smither - $4,99 | AIO Cooker - $3,99 | Unicow Killer - Β£3,99 | Chest Thiever - Β£2,99 | Rock crabs - $4,99 | Rune Sudoku - $9,99 ⌑ ⌠ AIO Herblore - FREE & OPEN-SOURCE | Auto Alcher - FREE | Den Cooker - FREE | Gilded Altar - FREE | AIO Miner - VIP+ ⌑ ──────────────────────────────────── What is a trial? A trial is a chance for you to give any of my scripts a test run. After following the instructions below, you will receive unrestricted access to the respective script for 24 hours starting when the trial is assigned. Your trial request will be processed when I log in. The trial lasts for 24 hours to cater for time zones, such that no matter when I start the trial, you should still get a chance to use the script. Rules: Only 1 trial per user per script. How to get a trial: 'Like' this thread AND the corresponding script thread using the button at the bottom right of the original post. Reply to this thread with the name of the script you would like a trial for. Your request will be processed as soon as I log in. If i'm taking a while, i'm probably asleep! Check back in the morning Once I process your request, you will have the script in your collection (just like any other SDN script) for 24 hours. Private scripts: Unfortunately I do not currently offer private scripts. ________________________________________ Thanks in advance and enjoy your trial! -Apaec.
    3 points
  4. As the others have said, canReach is how you'd detect if you can reach the given Entity/Position. Using this to find the closest reachable goblin would look like: getNpcs().closest(n -> "Goblin".equals(n.getName()) && getMap().canReach(n));
    3 points
  5. Mirror mode does support dialogue interactions
    3 points
  6. Before buying, please ensure you check-out with the correct script. Swapping scripts is not possible. View in store $4.99 for lifetime access Features: All spawns - Supports every multi-crab spawn point both along the south coast of Zeah and Crab Claw Isle All combat styles - Supports Ranged, Magic and Melee combat training. The script will not bank runes of any type Saving GUI - Intuitive, re-sizeable and fully tool tipped GUI (Graphical User Interface) allowing you to tailor the script session to your needs, with configuration saving / loading Human replication - Designed with human simulation in mind - multiple options to replicate human behaviour available in the GUI Setup customiser - Inventory customiser allows you to visually see your trip setup CLI support - The script can be started from the command line All potions - Supports all relevant potion types (including divine potions!), multiple potion types simultaneously and varying potion ratios Healing in a range - Dual slider allows you to specify a range within which to consume food. Exact eat percentages are calculated using a Gaussian distributed generator at run time Healing to full at the bank - When banking, the script will eat up to full hit points to extend trip times Safe breaking - Working alongside the OSBot break manager, the script will walk to safe place approximately two minutes before a break starts to ensure a successful log out Anti-crash - Smart crash detection supports multiple anti-crash modes (chosen in the GUI): Hop worlds if crashed - the script will walk to a safe place and hop worlds until it finds a free one, at which point it will resume training Force attack if crashed - the script will fight back and manually fight pre-spawned sand crabs until the crasher leaves Stop if crashed - the script will walk to a safe place and stop Ammo and Clue looting - Clue scroll and Ammo looting system based on a Gaussian-randomised timing scheme All ammo - Supports all OSRS ammo types and qualities Spec activation - Special attack support for the current weapon to maximise your exp per hour Auto-retaliate toggling - The script will toggle auto-retaliate on if you forget Move mouse outside screen - Option to move the mouse outside the screen while idle, simulating an AFK player switching tabs Refresh delay - Option to add a Gaussian-randomised delay before refreshing the chosen session location, simulating an AFK player's reaction delay Visual Paint and Logger - Optional movable self-generating Paint and Timeout Scrolling Logger show all the information you would need to know about the script and your progress Progress bars - Automatically generated exp progress bars track the combat skills that you are using Web walking - Utilises the OSBot Web alongside a custom local path network to navigate the area. This means the script can be started from anywhere! Safe banking - Custom banking system ensures the script will safely stop if you run out of any configured items Safe stopping - Safely and automatically stops when out of supplies, ammo or runes Dropping - Drops useless/accidentally looted items to prevent inventory and bank clutter All food - Supports pretty much every OSRS food known to man. Seriously - there's too many to list! ... and many more - if you haven't already, trial it! Things to consider before trying/buying: Mirror mode - currently there appear to be some inconsistencies with behaviour between Mirror mode and Stealth Injection meaning the script can behave or stop unexpectedly while running on Mirror. I would urge users to use the script with Stealth Injection to ensure a flawless experience! Since Stealth Injection is widely considered equally 'safe' to mirror mode and comes with a host of other benefits such as lower resource usage, this hopefully shouldn't be a problem. Using breaks - the script supports breaks and will walk to a safe place ready to log out approximately two minutes before a configured break starts. However, upon logging back in, your spot may no longer be open. If you configure the crash mode to be either 'Hop if crashed' (default) or 'Stop if crashed', this will not prove to be a problem. However if using 'Force attack if crashed', the script will attempt to take back the spot by crashing the occupying player and manually attacking spawned sand crabs. Be aware that players have a tendency to report anti-social behaviour such as this! Avoiding bans - while I have done my utmost to make the script move and behave naturally, bans do occasionally happen, albeit rarely. To minimise your chances of receiving a ban, I would strongly suggest reviewing this thread written by the lead content developer of OSBot. If you take on board the advice given in that thread and run sensible botting periods with generous breaks, you should be fine. That being said, please keep in mind that botting is against the Oldschool Runescape game rules, thus your account will never be completely safe and you use this software at your own risk. Setting the script up - I have done my best to make the GUI (Graphical User Interface) as intuitive as possible by making all options as self explanatory as I could, however if you are not sure as to what a particular setting does, you can hover over it for more information. If that doesn't help, just ask on this thread! Web-walking - alongside a network of paths, the script moves around with the OSBot web-walking system, using it when in unknown territory. While it has proven very reliable, there are naturally some areas for which the web-walker may struggle. As a result, prior to starting the script, I would highly recommend manually navigating your player close to the sand crabs bank, however in practice, anywhere on Zeah should be fine. Script trials: I believe that trying a script before buying is paramount. After trying the script, hopefully you will be convinced to get a copy for yourself, but if not you will have gained some precious combat experience! If you're interested in a trial, please follow the instructions on my trials thread which can be found here. Gallery: Start up GUI (Graphical User Interface): Paint (optional, movable and self-generating): User screenshots: Recent Testimonials: Starting from CLI: This script can be started from the command line interface. There is a single parameter, which can take two (and only two) values: 'gui' or 'nogui'. 'gui' will start the script and show the gui, 'nogui' will skip the GUI setup and start the script using your save file as the configuration. To start from CLI with 'nogui', the script requires a valid GUI save file to be present - if you haven't already, start the script manually and configure the GUI to suit your needs. Then hit 'Save configuration' and in future starting from CLI will use these configured settings. The script ID is 886. Example CLI startup: java -jar "osbot 2.4.137.jar" -login apaec:password -bot apaec@example.com:password:1234 -debug 5005 -script 886:nogui
    2 points
  7. completed Tai Bwo Wannai for @bkg this afternoon thank you!
    2 points
  8. NEW: Released Chop & Firemake plugin Added 8 Forestry events!!!!!!!! Easy 99, Next! Map Chooser System Progress Results! Help How to use this with Bot Manager? Script ID is 631, and the parameters will be the profile you saved in the setup window, e.g. oak15.txt I want a new feature added? Make a post below and I am always listening, within reason! The bot is doing something I don't like? Make a post below and I will adjust the code to match your play style!
    1 point
  9. NEW! supports new south + east shortcuts, new hopper (upstairs), and mouse invokes!!! (just like runelite!) 'the intelligent choice' By Czar 34-99 Mining on video!! Agility Shortcut Setup Window Preview 70 hours run time https://i.imgur.com/wiF6VPO.png
    1 point
  10. Script Version: 40.0 | Last Updated: 10/11/2023 [MM/DD/YYYY] LEADERBOARDS: https://cnar.dev/projects/edragons/leaderboard.php Script Progress Pictures Script Development Updates Script Manual GUI Settings (Disable Ad-block to see Images) Gui Saving / Loading: When selecting 'Save settings' a pop up directory will show up. Set a file name under "File name:" then click 'ok' or 'save'. It will save as a .txt file. When selecting 'Load settings' a pop up directory will show up. Simply find your saved .txt file and click it. Once selected, select 'ok' or 'load'. Safe-Spotting Mode: Please start the script at your preferred safe spot when selecting this option and pressing start OR load your saved settings.txt file to auto fill your safe spot! Looting Bag Mode: If toggled, it will use random behavior when adding bones or hides to the Looting Bag! If you happen to die the script will have added it to the lootlist and retrieve it once it spawns on dragon death and continue using it!. Loot distance: Default = 10 Tiles away from your player. Set your custom distance if you prefer. Loot range ammo: Loots the ammo type you have equipped if you are ranging! Default = Stack of 5 Bolts on floor Special Attack: Uses special attack during combat [Main weapon support only!] Deathwalk Mode: Handles death and regears with the equipment set from on start of the script. Current Modes Supported [BETA]: Under production. No guarantee that it is 100%. Green Dragons: West wilderness East wilderness Graveyard wilderness Lava maze wilderness Myth guild [BETA] Blue Dragons: Taverly Watchtower Ogre enclave Heroes' guild Myth guild [BETA] Black Dragons: Taverly Lost city chicken shrine Myth guild [BETA] Metal Dragons: Brimhaven Brutal Dragons: Black dragons in zeah catacombs [BETA] Blue dragons in zeah catacombs [BETA] Red dragons in zeah catacombs [BETA] Mode Help Blue Dragons Supported safespots for taverly mode only. *Other modes can use any spot* Near the agility pipe | Less traffic but with lower profit/hr Inside the Expanded blue dragon room Items | Requirements Anti-dragon shield Ranged/Melee/Magic support! Food Prayer potions *Blowpipe mode taverly mode* Summer Pie *Taverly mode* Falador teleports *Taverly mode* Dusty key *Taverly mode* Dueling rings *Watchtower mode or Heroes guild mode* Games necklaces *Heroes guild mode* Black Dragons Supported safespots Anywhere in the dragon area. Items | Requirements Anti-dragon shield Ranged/Magic support only! Food Anti-poisons *If taverly mode* Falador teleports *If Taverly mode* Dusty key *If Taverly mode* Raw chicken *Lost city mode* Green Dragons Ranged/Melee/Magic support! Supported safespots Graveyard: Anywhere in the myth guild or lava maze dragon area. Items | Requirements East Dragons: Dueling ring *Not optional* Games necklace *Optional* Glory *Optional* Metal Dragons Items | Requirements Select Bury bones option + Dragon bones in loot table to bury bones! Banking is not supported. Please start at the dragon room. It will randomly choose a metal dragon. Range / Magic only support Brutal Dragons Items | Requirements Ranging potions Extended antifire potions Prayer potions Food prayer > 43 rope tunnel route unlocked Start at blast mine bank At this time it will auto grab my set amount of prayer pots. Full GUI customization will come soon. CLI Information Script ID: 898 Create your own file & save under c/users/osbot/data as filename.txt Mode names "Blue dragons(Taverly)", "Blue dragons(Watchtower)", "Blue dragons(Heroes guild)", "Blue dragons(Myth guild)", "Black dragons(Taverly)", "Black dragons(Lost City)", "Black dragons(Myth guild)", "Green dragons(West)", "Green dragons(Graveyard)", "Green dragons(Lava maze)", "Green dragons(Myth guild)", "Metal dragons(Brimhaven)", "[BETA]Brutal dragons(Black)" Food names "Trout", "Salmon", "Tuna", "Potato with cheese", "Lobster", "Swordfish", "Jug of wine", "Monkfish", "Shark", "Manta ray", "Tuna potato", File creation template *See gui for options* *Create your own for validation*: #Dragon GUI Settings #Fri Mar 30 20:14:43 EDT 2018 checkSummerPieActive=false checkEatToFull=true textFoodAmount=1 checkBurningAndGlory=false checkRanarrWeed=true radioWorldHopper=false radioStrengthPotionRegular=false checkRegularWalker=false radioAttackPotionSuper=false radioSpecialAttack=false checkAdamantHelm=true checkWalkToBank=false checkGloryAndGames=false checkLootingBag=false radioMagicPotion=false radioSafeSpot=true radioRangePotion=true radioStrengthPotionSuper=false textWorldHopCount=7 checkRespawnTeleport=false comboDragonsMode=Blue dragons(Watchtower) radioCombatPotion=false checkAutoEatAt=false checkNatureRune=true textEatAt=60 checkAdamaniteOre=true checkBuryBones=false checkGamesAndDueling=false radioAntipoisonPotion=false checkRubyDiamondCombo=false checkSafetyTeleport=false checkRuneDagger=true checkLootAmmo=true radioAttackPotionRegular=false checkBlowpipeActive=false radioAntifirePotion=false checkDragonhide=true checkDragonBones=true checkGloryOnly=false textLootDistance=10 safeSpot=2443,3083,0 checkAntiPK=false checkClueScroll=false checkBurningAndDueling=false comboFoodType=Shark checkDeathwalking=false Bug Report Template Status in the paint(Screenshot): Client Version: "Osbot x.x.x" Client Type(Mirror Mode OR Stealth Injection): Inventory layout: Equipment layout: GUI settings (Screenshot(s)): What is the error that is occurring? How can I replicate this error? Logger output (Screenshot): GRAB YOUR OWN DYNAMIC SIGNATURE HERE https://cnar.dev/projects/edragons/users/All_Users.png //This gives you the all users image (600x200) I encourage you to display your signatures and linked to the thread! Would appreciate that To get your own just do (Case sensitive) https://cnar.dev/projects/edragons/users/YourNameHere.png if your osbot name has spaces (ex. Cool doot 33) https://cnar.dev/projects/edragons/users/Cool doot 33.png PURCHASE HERE
    1 point
  11. Explv's Scripting 101 Prerequisite: basic knowledge of Java 1. Setting up the Java Development Kit and an Integrated Development Environment (IDE) 2. The Script Skeleton 3. Building the script 4. The Script class continued 5. The MethodProvider class, accessing the Inventory, Bank, Player, etc. instances 6. Positions, areas and moving the player 7. Entities (Players, RS2Objects, NPCs and GroundItems) 8. Interactions 9. Sleeping 10. Items and ItemContainers (Inventory, Bank, Equipment, Store, ...) 11. Filtering 12. Widgets 13. Configs 14. Adding a paint 15. Putting it all together, an example script (Smelting iron bars in Al-kharid) 16. Adding a GUI
    1 point
  12. Explv's Map A map tool to allow the simple creation of areas, poly areas, paths and positions. GITHUB: https://github.com/Explv/Explv.github.io WEBSITE: http://explv.github.io/ NOW SUPPORTS DUNGEONS (Type the dungeon name into the search box): If you would like to assist me with identifying dungeons and other areas The first set of areas is around 2868, 4658, 0 (you can go there by typing the coordinates into the boxes at the top right). Move the map around and you will see a bunch of areas without names. The second set of areas is around 2875, 9452, 0 Provide me with the name of the dungeon, and the x, y coordinates
    1 point
  13. Don't use PayPal? Want to use RSGP? Contact @Juggles on Skype (Joey-Bots) for a voucher.
    1 point
  14. 1 point
  15. start getting slayer with early lvls, 55 slayer is leaf-bladed sword better then brine sabre. If your going to get prayer have it quested, priest in peril and dont finish restless ghost just get ammy and stop so u can have dt done at 11 prayer (then get 13 urself). I like training at ammonite crabs, there slightly better then sands easy to afk and pretty empty. they also drop fossils which i used to get my thieving up, which with questing and a little Pyramid plunder made 53 thiev easy af. I personally cannoned at caged ogres (easy to get a spot) 1-86 got all my hp from str. my range is always higher then people my cb lvl and str is the same as them (if not higher) im usually 1-4 hp lvls off but i have better max hits then them. Also 1-13 prayer firecapes are great imo i got mine from zuziel he was very fast with it. have ur mage match ur range lvl. Helps in magic defence against rusher's (idk where i head it from but seems true). Wear the best gear u can i use halo and cwars top. pretty easy to afk cwars and play another acc or boost urself with another acc. halo services are pretty cheap too. Look up atk xp quests do what u can should have u at 45 atk get remaining urself. completing easy achievement diaries, and one small favor help alot with slayer lvls, and deff cannon any task u can. i prolly missed plenty of stuff but its pretty easy to figure out urself. If u end up failing the acc sell it here and start again lol
    1 point
  16. This bot is honestly 100 percent worth it. Supports everything you need at sand crabs
    1 point
  17. I thought it may be as simple as this! was looking for a method on the NPC object rather than the map. THANKS!
    1 point
  18. thas a good deal tbh all you need is 60 wc, then go to kourend and go in. so yep!
    1 point
  19. I did the same, I got 70-94 range cannon only and only costed like 60m
    1 point
  20. Hey! (: I really need to get around to updating that guide... keep putting it off!
    1 point
  21. 1 point
  22. Rofl Guess he thought you were the OO. So @Swedens guess that depends on you how trusted you think I am.
    1 point
  23. getBot().getCanvas().addKeyListener(new KeyListener() { @Override public void keyTyped(KeyEvent e) { } @Override public void keyPressed(KeyEvent e) { } @Override public void keyReleased(KeyEvent e) { } }); https://docs.oracle.com/javase/tutorial/uiswing/events/keylistener.html
    1 point
  24. 1 point
  25. can i have a trial please
    1 point
  26. Here is an example I came up with. Note that this is completely untested, but hopefully should help you understand what I meant in my previous comment. import org.osbot.rs07.api.map.Area; import org.osbot.rs07.api.map.Position; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author = "Explv", name = "Example", info = "", logo = "", version = 0.1) public final class ExampleScript extends Script { /* This is getMap().getBaseX() and getMap().getBaseX() when the player is standing in boat at the start of Pest Control in the instance when all Positions and Areas were collected */ private static final int BOAT_REGION_BASE_X = 1234; private static final int BOAT_REGION_BASE_Y = 1234; // This position was collected in the same instance as the above base x and base y private static final Position PORTAL_POSITION = new Position(1, 2, 0); // This area was collected in the same isntance as the above base x and base y private static final CustomArea EXAMPLE_AREA = new CustomArea(1, 2, 3, 4); // These are the offsets from the current instance positions and the above positions private int offsetX = 0; private int offsetY = 0; // Determines if we have updated the above offsets in the current instance private boolean offsetsUpdated = false; @Override public int onLoop() throws InterruptedException { if (inPestControlGame()) { if (!offsetsUpdated) { offsetX = BOAT_REGION_BASE_X - getMap().getBaseX(); offsetY = BOAT_REGION_BASE_Y - getMap().getBaseY(); offsetsUpdated = true; } } else { offsetsUpdated = false; } if (!getInstancedArea(EXAMPLE_AREA).contains(myPosition())) { getWalking().walk(getInstancedArea(EXAMPLE_AREA)); } return 600; } private boolean inPestControlGame() { // Maybe check a widget exists or something return true; } private Position getInstancedPosition(final Position position) { return position.translate(offsetX, offsetY); } private Area getInstancedArea(final CustomArea area) { return area.translate(offsetX, offsetY); } } // Creating a CustomArea class so that we can store the start and end position // and also add a handy translate method class CustomArea extends Area { private Position startPosition, endPosition; public CustomArea(int x1, int y1, int x2, int y2) { super(x1, y1, x2, y2); startPosition = new Position(x1, y1, 0); endPosition = new Position(x2, y2, 0); } @Override public Area setPlane(final int z) { super.setPlane(z); startPosition = new Position(startPosition.getX(), startPosition.getY(), z); endPosition = new Position(endPosition.getX(), endPosition.getY(), z); return this; } public Area translate(final int offsetX, final int offsetY) { return new Area(startPosition.translate(offsetX, offsetY), endPosition.translate(offsetX, offsetY)); } }
    1 point
  27. Glad it's running smoothly! As Theorems said, you can move it around or even move it off the screen. Alternatively you can disable it before starting the script in the settings menu. Cheers! Apa
    1 point
  28. Isn't the paint moveable though? just drag it with your cursor.
    1 point
  29. If you start OSBot using CLI and add a debug parameter, the System.out lines will be written in the terminal / command prompt. This could be useful when adding non-API related stuff to your script and you don't wanna pass around the MethodProvider instance everywhere just to debug using the logger.
    1 point
  30. and support gem rocks? in shilo village?
    1 point
  31. vouch for @zuzel111 who already commented, he's the man to go with!
    1 point
  32. just botted all quests was fucking great. had to pause and replay a few times but got plenty of questspoints haha
    1 point
  33. once again, because it never hurts to tell again @zuzel111 is the man
    1 point
  34. I'm getting ready to release the ALPHA version of Eagle's Peak. An ALPHA version will still most likely contain bugs, so PLEASE BABYSIT YOUR BOTS! You can run Eagle's Peak alone in the GUI, or with progression. The bot will automatically go complete the quest at 27 hunter if the option to do the quest is toggled. If you DON'T have the items required for the quest, please make sure you select the option to buy the items from the GE! Other bug fixes and additions include: β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” Hunter Updates v7.8: β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” ALPHA version of Eagle’s Peak quest. (Please report the bugs to me) New method of detecting if your bank already contains items on the purchase list for the Grand Exchange New way to check the price total of the Grand Exchange list Updated the script to eat at 70% hp instead of 50% Rewrote one tick timers Fixed a bug if you were doing progression and the bot used webwalking, the bot would get stuck moving locations You may now run Varrock museum by itself, as well as the new Eagle’s Peak quest from the GUI without hunting anything Rewrote parts of the trap detection system to use less CPU Fixed a banking problem after dying while hunting Black chinchompas Added new checks during Black chinchompa hunting if you are under attack while trying to check/dismantle your box traps
    1 point
  35. I'll consider it if it's really that useful Authed
    1 point
  36. Just to clarify, there was a problem because you recovered the account. It was your email on the account that you used here at osbot. So trying to say you didn't recover is just you lying.
    1 point
  37. I ain't gonna spend x amount of GP for an account that will be recovered after a week. Goodbye fren
    1 point
  38. Shit guide. Reported for selling weed. I have premium antiban methods that literally hack jagex
    1 point
Γ—
Γ—
  • Create New...