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. not too good but w/ee public static Position[] generateStraightPath(Position start, Position end) { ArrayList<Position> path = new ArrayList<Position>(); int currentX = start.getX(); int currentY = start.getY(); int endX = end.getX(); int endY = end.getY(); int dX = (currentX < endX) ? 1 : -1; int dY = (currentY < endY) ? 1 : -1; while (currentX != endX || currentY != endY) { if (currentX != endX) { currentX += dX; } if (currentY != endY) { currentY += dY; } path.add(new Position(currentX, currentY, 0)); } return path.toArray(new Position[0]); } what does it do? for example using generateStraightPath(new Position(5, 10, 0), new Position(10, 20, 0)) it will spit this path out (E the element in the array) Visual demo of how it would look (IM SO GOOD @ PAINT!!!): as you see it goes diagonal until it reaches the same x then goes straight up
  2. Thanks guys i understand that there meant to be upper case like the oracle doc example "MONDAY","TUESDAY" etc just forgot idk what you guy's are meaning by the id's as it's the interface child id and should be used in you're casting method as such just a quick example i wrote up private void castSpell(Spells i) throws InterruptedException { if (!mageTabIsOpen()) { magicTab.open(); sleep(300); } else if (mageTabIsOpen()) { if (client.getInterface(i.getParent()) != null) { RS2InterfaceChild s = client.getInterface(430).getChild(i.getChild()); if (s.isVisible() && s != null) { s.interact("Cast"); sleep(300); } } } } as you can see i used static sleeps as this is only an example but you see how it works also with the name i thought you had to have the name to use the spell but you don't but you can use it like other people said for combo boxs etc really nice idea!
  3. how so?
  4. TheScrub posted a topic in Snippets
    well i finished it and decided to share because I'm nice took like 20 mins to write this shit down!!! enum Spells { HomeTeleport("Lunar Home Teleport", 0, 16), BakePie("Bake Pie", 65, 15), CurePlant("Cure Plant", 66, 31), MonsterExamine("Monster Examine", 66, 6), NpcContact("NPC Contact", 67, 4), CureOther("Cure Other", 68, 1), Humidify("Humidify", 68, 7), MoonClanTeleport("Moonclan Teleport", 69,20), TeleGroupMoonclan("Tele Group Moonclan", 70, 32), CureMe("Cure Me", 71, 23), HunterKit("Hunter Kit", 71, 8), WaterbirthTeleport("Waterbirth Teleport", 72, 24), TeleGroupWaterbirth("Tele Group Waterbirth",73,33), CureGroup("Cure Group",74,3), StatSpy("Stat Spy",75,9), BarbarianTeleport("Barbarian Teleport",75,0), TeleGroupBarbarian("Tele Group Barbarian",76,34), SuperglassMake("Superglass Make",77,25), KhazardTeleport("Khazard Teleport",78,18), TeleGroupKhazard("Tele Group Khazard",79,35), Dream("Dream",79,10), StringJewellery("String Jewellery",80,22), StatRestorePotShare("Stat Restore Pot Share",81,27), MagicImbue("Magic Imbue",82,13), FertileSoil("Fertile Soil",83,2), BoostPotionShare("Boost Potion Share",84,26), FishingGuildTeleport("Fishing Guild Teleport",85,17), TeleGroupFishingGuild("Tele Group Fishing Guild",86,36), PlankMake("Plank Make",86,11), CatherbyTeleport("Catherby Teleport",87,21), TeleGroupCatherby("Tele Group Catherby",88,37), IcePlateauTeleport("Ice Plateau Teleport",89,28), TeleGroupIcePlateau("Tele Group Ice Plateau",90,38), EnergyTransfer("Energy Transfer",91,5), HealOther("Heal Other",92,29), VengeanceOther("Vengance Other",93,19), Vengance("Vengance",94,14), HealGroup("Heal Group",95,30), SpellbookSwap("Spellbook Swap",96,12); private final int level; private final int childid; private final String name; Spells(String name, int level, int childid) { this.name = name; this.level = level; this.childid = childid; } public String getName() { return name; } public int getLevel() { return level; } public int getChild() { return childid; } public int getParent() { return 430; } }
  5. Thanks for the feedback but for 3.99 dont you think it should at least have banking? i mean the script itself was pretty diffcult to make u dont even know how long i just spent perfecting wht i hvae soo far haha ohh if it's a paid script well then banking must be in it incase u disconnect and lose ropes/nets i might have a go at making one of these thanks!
  6. there's no real point in adding banking as the swamp lizards have very little value in old school as theres no summoning
  7. TheScrub replied to TheScrub's topic in Archive
    no one picked up the typo "dessert"
  8. TheScrub replied to TheScrub's topic in Archive
    yer i belive a small fee would get rid of alot of people in the area but also i like to give back to the community this will be the 2nd script that's pricing/choosing will be decided by the community's response by me!
  9. TheScrub posted a topic in Archive
    as i got another week and a little left I'm thinking to pump out another script out detects if you're in the dessert or not b2p tabs potion support food support prayer support food support spec support selling food/potions to store and buying them back custom looting saving presets/loading presets friendly User interface feel free to suggest more options so I'm thinking there will be a poll on top of the page on if there will be pricing or not
  10. Released!
  11. update just made some quick methods will only get the safe if the players aren't already on the locations http://pastebin.com/MWkGHfcm
  12. Finished the gui with action listeners Source: http://pastebin.com/9sy2mqdN
  13. Quick update working on the Gui still adding action listeners any ideas give tell me this is run on eclipse so it doesn't have the osbot look and feel
  14. This Thread will now show progress and snippets, explanation of the snippets as this is more of an community orientated task
  15. The Winner is Free Wall Safe Script i will be working on this from tomorrow on expect release for weekend!
  16. ok i will update my super heater then
  17. would be balloon method and walking
  18. Please help me decide on what i should do on my next script!!!! Options: Free Wallsafer Paid (like $2 one time) Free unicow killer Paid (like $2-3) Paid Law RuneCrafter (like $5-6)
  19. TheScrub replied to TheScrub's topic in Snippets
    yer didn't see it in the docs and thought someone might need this and have no clue what to do lol..
  20. TheScrub posted a topic in Snippets
    a lot of people releasing these walking snippets so i figured seeming the api doesn't have a method to reverse a path i would release 1 here u go simple but helpful! private Position[] reversePath(Position[] path) { ArrayList<Position> pos = new ArrayList<Position>(); Position[] target = null; for (int i= 0;i<path.length;i++){ pos.add(path[path.length-i-1]); } target = pos.toArray(new Position[pos.size()]); return target; }
  21. This guy is very trusted imo i can vouch for wewt!
  22. just updated with alittle more features
  23. added more features such as switching channels
  24. nah thats pircbot's api my source is still compiled in class's if you de-compiled it w/eee.......

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.