Leaderboard
Popular Content
Showing content with the highest reputation on 11/20/17 in all areas
-
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
-
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
-
โโโโโโโโโโโโโโ 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
-
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
-
3 points
-
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:nogui2 points
-
completed Tai Bwo Wannai for @bkg this afternoon thank you!2 points
-
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.png1 point
-
24 hour progress report!! Setup Window Highly intuitive and visual, and easy to use! Portal Prediction knows which portals are going to drop - prioritises them! Full Void in <24 hours It takes only 850 points for full void, go go go! Screenshots & Results1 point
-
1 point
-
Molly's Orber This script is designed to make earth orbs and air orbs for over 350k gp/ph with the added benefit of getting over 30k mage exp per hour! Buy HERE Requirements: - 66 mage for air orbs, 60 for earth orbs. - 40+ hp recommended(especially at low def) Features: - Supports using mounted glory in house(requires house teleport tablets) - Supports eating any food at bank, when under a set hp - Hopping out of bot worlds - Recovers from deaths(respawn point must be lumbridge) - Emergency teleporting when under a set hp - Stamina potion usage, the bot will use one dose prior to each run - World hopping in response to being pked to prevent pkers from farming. -Ability to bring one food with you in case you drop below the emergency teleport hp, script will still tele if you drop below it and have already eaten your food. -Enabling run when near black demons to prevent some damage. -Re-equipping armor in inventory on death. Setup: Start at Edge bank, have all supplies next to each other in your bank, preferably in the front tab at the top. You must have the item "Staff of air" for air orbs or "Staff of earth" for earth orbs. Have a fair amount of cosmic runes and unpowered orbs, glories, as well as some food to eat as the bot walks past black demons and will take some damage. FOR EARTH ORBS YOU MUST HAVE ANTIDOTE++. If you are using house mounted glory option set render doors open to "On" under your house options in Runescape. CLI setup: Proggies:1 point
-
Don't use PayPal? Want to use RSGP? Contact @Juggles on Skype (Joey-Bots) for a voucher.1 point
-
1 point
-
1 point
-
This bot is honestly 100 percent worth it. Supports everything you need at sand crabs1 point
-
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
-
thas a good deal tbh all you need is 60 wc, then go to kourend and go in. so yep!1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
What Chris said, or if you only need one of keyTyped, keyPressed or keyReleased: getBot().getCanvas().addKeyListener(new KeyAdapter() { @Override public void keyTyped(KeyEvent e) { super.keyTyped(e); } }); I'm not sure if canvas is the correct place to add the listener, but if it works, it works I guess.1 point
-
1 point
-
1 point
-
1 point
-
Character.getInteracting() only works if the other Entity is a Character, aka a Player or NPC. To detect which rock is being mined, you can get a good guess via the players rotation. Note you can be mining a rock and not be near the rock under some circumstances, so don't consider this 100% reliable. private RS2Object getRock(Player p) { Position facing = p.getPosition(); int rotation = p.getRotation(); // Determine offset if (rotation < 256) facing = facing.translate( 0, -1); else if (rotation < 768) facing = facing.translate(-1, 0); else if (rotation < 1280) facing = facing.translate( 0, 1); else if (rotation < 1792) facing = facing.translate( 1, 0); else facing = facing.translate( 0, -1); // Search objects at facing position for "Rocks" return getObjects().get(facing.getX(), facing.getY()) .stream().filter(o -> "Rocks".equals(o.getName())) .findFirst().get(); } I haven't tested this code but should be a good start.1 point
-
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! Apa1 point
-
1 point
-
1 point
-
vouch for @zuzel111 who already commented, he's the man to go with!1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
Personally I just do a long ass sleep until either: The player has levelled up / in dialogue There are no more bars to smelt For example: if (clicked widget or whatever) { new ConditionalSleep(60_000, 600) { @Override public boolean condition() { return !canSmeltBar() || getDialogues().isPendingContinuation(); } }.sleep(); } Where canSmeltBar() just returns whether or not the inventory contains the required ores to smelt a bar.1 point
-
Hey @Molly, Trial would be much appreciated, would like to see how good it is at blackjacking! Cheers1 point
-
1 point
-
I ain't gonna spend x amount of GP for an account that will be recovered after a week. Goodbye fren1 point
-
Have you read & agreed to my ToS*? :yes Age? :24 Do you agree to discuss about the deposit? : yes What is your Skype ? :ill pm it What are you applying for? (Powerleveller/Quester/Minigames) :powerlevel, questing, void Do you have any experience with a service? : no but ive played this game since 03 and have a few accounts. have done most of the quests many times If yes, are you willing to supply proof in PM / Skype? :1 point
-
My VPN extension which caused the same error. Might wanna look at that if it's still not working.1 point
-
Shit guide. Reported for selling weed. I have premium antiban methods that literally hack jagex1 point