Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

TheScrub

Members
  • Joined

  • Last visited

Everything posted by TheScrub

  1. pharoahe monch http://www.youtube.com/watch?v=gOGG0TPzApw blueprint more hip hop chill bump http://www.youtube.com/watch?v=SMWspBc_c1M logic http://www.youtube.com/watch?v=LZMt3Vd49bA g eazy justice -Australian winner of scribble jam 2005 SOL E-Dubble alot more aussie hip hop not going 2 list 2 many funkoars http://www.youtube.com/watch?v=IYpcfEaMQTU (this is how hip hop is meant to sound ) Hilltop hoods (fucking repping the city of churchs) One sixth - edit can't believe i forgot !!! Horrowshow tayyib ali hendersin eddy b huey mack http://www.youtube.com/watch?v=qaGL8ypKAlk luvi http://www.youtube.com/watch?v=TZiC8UHyCcM mase n mattic http://www.youtube.com/watch?v=onQHA6Hy20Q
  2. TheScrub replied to Basic's topic in Gallery
    Thank you will give good feedback
  3. TheScrub posted a topic in Snippets
    this method is useful for stuff like withdrawing ring of duelings so u can have an array of strings and it will search the bank and find the first one if not it will find the second third fourth fifth etc... or potions private String getBankItem(String items[]) { String item; if (client.getBank().isOpen()) { Item[] bankitems = client.getBank().getItems(); if (items.length > 0 && items != null) { for (String correctItem : items) { for (int i = 0; i < bankitems.length; i++) { if (bankitems[i].getName().contains(correctItem)) { item = correctItem; return item; } } } } } return null; }
  4. and also this is the snippet section some one please move to this to another section of the forums!
  5. link to an open source work of my mine http://osbot.org/forum/topic/12097-rfd-bank-soft-clay-open-source/
  6. centrelink is the Australian welfare (student payments)
  7. yer it's a shit song ur right not into that thats pop not hip hop but im happy with the purchase music i like http://www.youtube.com/watch?v=SMWspBc_c1M aus hip hop much more from triple j unearthed etc
  8. a lenovo g570 to a lenovo b590! the g570 http://www.notebookreview.com/default.asp?newsID=6190&review=lenovo+g570 b590 http://www.notebookcheck.net/Review-Lenovo-B590-MBX2JGE-Notebook.88518.0.html this was not earnt from gold farming this was earnt from saving me centrelink payments!
  9. TheScrub replied to Laz's topic in Archive
    v tabs yday 600 ea nice one lol inb4 i release my tab maker
  10. thanks i just wrote it for a single thing only used it once or twice thanks i will update the thread with ur revision of the code!
  11. so i'm making a script with a combat location in an odd shapped room and a rectangle won't work so i deiced to make a little class to for a polygon area -edit was rewritten by guy below me. import java.awt.Polygon; import org.osbot.script.rs2.map.Position; import org.osbot.script.rs2.model.Entity; public class PolygonArea { Polygon polygon; PolygonArea(Position... positions) { polygon = new Polygon(); addPositions(positions); } public boolean containsEntity(Entity e) { return polygon.contains(e.getX(), e.getY()); } public static void addPositions(Position... positions) { for (Position pos : positions) { polygon.addPoint(pos.getX(), pos.getY()); } } } How to use PolygonArea polygonArea = new PolygonArea(positionsArray); Check for entities in the area with this (NPC, Player, GroundItems, etc): if (polygonArea.containsEntity(entity)) { //do method } i still need to make a method to return the center of the polygon but i will touch on that later
  12. whoops basic math error lol thanks for the pickup!
  13. yer i have that on mine didn't update not many people post on my snippets will update in 2 mins
  14. this is useful for a mouse destination it's so you don't have to do maths because some people are bad at math /* * @param minX this is the top left hand corner of the rectangle * @param minY this is the top left hand corner of the rectangle * @param maxX this is the bottom right hand corner of the rectangle * @param maxY this is the bottom right hand corner of the rectangle */ private Rectangle returnRectangle(int minX, int minY, int maxX, int maxY){ int height = maxY-minY; int width = maxX-minX; Rectangle r = new Rectangle(minX, minY, width, height); return r; } use: MouseDestination md = new RectangleDestination(returnRectangle(20,30,40,50)); this will do the math for the height and width..... so the width and height in this example would return: width:20 height:20
  15. only like 700 left but i can make them if you want contact me though pm!
  16. 1 day the offensive expires in one year but you get unbanned in 1 day i'm pretty sure if you get a bot busting ban then another ban it's a perm ban not too sure though!
  17. Hello i'm selling b2p tabs min buy is like 250 but i'm willing to sell below market price message me or post on the topic B2P uses include: Ankous Barrows tunnels killers and most other combat scripts!
  18. upgrading this to a full working api class by the end of the week,
  19. lol so true haha you know it!
  20. Still needs more Weapons please post the infomation in this order "Name",Item ID,SpecPercent (the spec percent it uses)
  21. import org.osbot.script.Script; public class Spec_Attacks { Script script = Context.script; enum SpecWeapon { DragonDagger("Dragon dagger", 1215, 25), DragonScim("Dragon scimitar", 4587, 55), Whip("Abyssal whip", 4151, 50), Magic_Shortbow( "Magic shortbow", 861, 55), DragonDaggerP("Dragon dagger(p)", 1231, 25), DragonBattleaxe("Dragon battleaxe", 1377, 100); private final int id; private final int specpercent; private final String name; SpecWeapon(String name, int id, int specpercent) { this.name = name; this.id = id; this.specpercent = specpercent; } public String getName() { return name; } public int getId() { return id; } public int getSpecPercent() { return specpercent; } } public static int possibleSpecsForSpecBar(SpecWeapon Spec) { int remanningspec = Context.script.combat.getSpecialPercentage(); double d = remanningspec / Spec.getSpecPercent(); long l = Math.round(d); String s = String.valueOf(l); int specsforafullbar = Integer.parseInt(s); return specsforafullbar; } public static void SwitchWeaponTo(String name, Integer timeout) throws InterruptedException { String g[] = { "Wear", "Wield" }; long t = System.currentTimeMillis(); if (!Context.script.equipmentTab.isWieldingWeapon(name)) { for (String option : g) { Context.script.client.getInventory().interactWithName(name, option); } while (!Context.script.equipmentTab.isWieldingWeapon(name) && System.currentTimeMillis() - t < timeout) { Context.script.sleep(50); } } } } import org.osbot.script.Script; public class Context extends Script { public static Script script; } use in your script you will need to do this i'm using the context class as i got several class's that use api methods so it's easier. @Override public void onStart() { Context.script=this; } the first parameter is the name of the weapon or could have an Armour wouldn't matter and the 2nd parameter is for the dynamic sleep type thing in the spec attacks class i like 3000ms before it will retry if (Spec_Attacks.possibleSpecsForSpecBar(SpecWeapon.DragonDagger)>0){ Spec_Attacks.SwitchWeaponTo(SpecWeapon.DragonDagger.getName(), 3000); }
  22. 1k ea under 5k 5k+ 900-950 (depending on current prices) can't go lower sorry!
  23. TheScrub posted a topic in Archive
    pm me for price Current stock:22k~ Bulk is discounted obviously!
  24. Are you using a setting to determine which barrows brother is the tunnel?
  25. TheScrub replied to peter123456's topic in Projects
    Persian dick as always Peter: If you want to start scripting and learn some java i will link you to some of the basics: Java Keywords: http://docs.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html Wikipedia is best for the keywords as it gives a definition: http://en.wikipedia.org/wiki/List_of_Java_keywords Java parentheses: http://beginwithjava.blogspot.com.au/2008/07/parens-and-brackets-and-braces-oh-my.html explains the brackets you speak of.. Osbot API: www.osbot.org/api What is an API? http://en.wikipedia.org/wiki/Application_programming_interface Usefully java class's for scripting: http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html http://docs.oracle.com/javase/7/docs/api/java/lang/System.html Important for GUI'S! (User friendly is apart of scripting whether you like it or not) http://www.eclipse.org/windowbuilder/ And of course their is the osbot snippet section http://osbot.org/forum/forum/156-snippets/

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.