Skip 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.

GaetanoH

Members
  • Joined

  • Last visited

Everything posted by GaetanoH

  1. Holy shit dude, very fast service, very nice dude to talk too. http://i.imgur.com/RwZprP7.gif
  2. The bot also keeps picking up black knifes even if I have the checkbox unchecked...
  3. - Normal client or Mirror client? normal - What is the issue? the bot looks for the hint arrow and the enemy is already dead and doesn't do anything - What is the script status, (can be seen in the paint) Killing animated armour/detected dead armour - Can you get a printscreen of it? Runescape just still shows the hint arrow and the enemy is already dead so therefor the bot can't find it and starts messing up
  4. As always thank you for the fast reply, I'll look into it later!
  5. Hello, so I've made a few scripts implementing the webwalking methods, the problem is, when the bot is in the Area he really always wants to click on a certain tile which makes it pretty obvious you're a bot, any suggestions on how to remove the clicking?
  6. Np man, it's my problem, I'll talk to you soon tho.
  7. Alright, I do have a CSGO Knife but it's 170$ so yeah I'll wait and farm some more RSGP on my main! No problem man, in some few days I'll make an order!
  8. Same here, it's been a while since I listened to Hardstyle tho! Good song
  9. I guess you're Dutch?
  10. Is there any way to pay without RSGP?
  11. Holy shit, thanks for the feedback tomorrow I'll get in to it! Thank you very much!
  12. Hello, I've been working on this for a while now and I still want to add these features. Able to cook all fishes Fish cooked TTL Add antiban But I still want some feedback, what should you guys've done better? import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.api.ui.RS2Widget; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.ConditionalSleep; import java.awt.*; import java.text.DecimalFormat; @ScriptManifest(name = "RogueDenCooker", author = "GaetanoH", version = 1.0, info = "", logo = "") public class RogueDenCooker extends Script { private int cookingXP = 0; private long startTime; public enum State { COOKING, BANKING; } public State getState(){ if(!bank.isOpen() && inventory.contains("Raw trout")){ return State.COOKING; } if(!inventory.contains("Raw trout")){ return State.BANKING; } return null; } @Override public void onStart() { log("Thanks for using my Rogue's Den Cooker, please start with enough food in the bank"); startTime = System.currentTimeMillis(); getExperienceTracker().start(Skill.COOKING); } @Override public void onExit() { } @Override public int onLoop() throws InterruptedException { switch(getState()){ case COOKING: RS2Object fire = getObjects().closest("Fire"); RS2Widget widget = getWidgets().get(307, 2); if(!isCooking()){ if(widget == null){ getInventory().getItem("Raw trout").interact("Use"); if(fire.isVisible() && myPlayer().isVisible()){ fire.interact("Use"); new ConditionalSleep(1500){ @Override public boolean condition() throws InterruptedException { return widget != null; } }.sleep(); } } else { widget.interact("Cook All"); } } break; case BANKING: NPC emeraldBenedict = getNpcs().closest("Emerald Benedict"); if(emeraldBenedict != null){ if(!bank.isOpen()){ emeraldBenedict.interact("Bank"); sleep(1500); if(bank.isOpen()){ bank.depositAll(); bank.withdraw("Raw trout", 28); bank.close(); sleep(random(300,400)); } } } break; } return 100; } public String formatTime(long ms){ long s = ms / 1000, m = s / 60, h = m / 60, d = h / 24; s %= 60; m %= 60; h %= 24; return d > 0 ? String.format("%02d:%02d:%02d:%02d", d, h, m, s) : h > 0 ? String.format("%02d:%02d:%02d", h, m, s) : String.format("%02d:%02d", m, s); } @Override public void onPaint(Graphics2D g) { Point mP = getMouse().getPosition(); g.drawLine(mP.x - 5, mP.y + 5, mP.x + 5, mP.y - 5); g.drawLine(mP.x + 5, mP.y + 5, mP.x - 5, mP.y - 5); long runTime = System.currentTimeMillis() - startTime; cookingXP = getExperienceTracker().getGainedXPPerHour(Skill.COOKING); g.drawString("Time running: " + formatTime(runTime), 10, 290); g.drawString("Experience/h: " + String.valueOf(cookingXP), 10, 310); g.drawString("Made by GaetanoH", 10, 330); } public boolean isCooking() { boolean isCooking = false; Timer timer = new Timer(1800); while (timer.isRunning() && !isCooking) { isCooking = myPlayer().getAnimation() != -1 ? true : isCooking; } return isCooking; } public class Timer { private long period; private long start; public Timer(long period) { this.period = period; this.start = System.currentTimeMillis(); } public long getElapsed() { return System.currentTimeMillis() - this.start; } public long getRemaining() { return this.period - this.getElapsed(); } public boolean isRunning() { return this.getElapsed() <= this.period; } public void setPeriod(long period) { this.period = period; } public void reset() { this.start = System.currentTimeMillis(); } public String format(long milliSeconds) { long secs = milliSeconds / 1000L; return String.format("%02d:%02d:%02d", secs / 3600L, secs % 3600L / 60L, secs % 60L); } } } Thanks in advance! Really enjoy the community so far, really helpful!
  13. Hello I have some questions regarding the animation when cooking, so I get it when your cooking you're isAnimating() == true but when your character "gets up" to get the other fish it stops animating so my bot spams click the fish on the fire... Any way on how I can fix this, using a conditional sleep isn't very good because I always have a random number of trouts/salmon in my inventory so this would make the bot slow. Thanks in advance!
  14. So how do you use an item on a fire?
  15. Yeah i saw what line it was but didn't see my mistake
  16. Oh yeah..., knew it was something small, thank you man! It was the fact that I checked if you had salmon/trout before fishing which ended up not working and just standing still
  17. Hello, so I'm busy making a trout/salmon fishing script I know it's far from finished but somehow the bot always seems to get a nullpointer exception and I can't seem to find the problem... Can somebody please help me out? Thanks in advance GaetanoH import org.osbot.rs07.api.map.Area; import org.osbot.rs07.api.map.Position; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.ConditionalSleep; import java.awt.*; /** * Created by Gaetano on 15/03/16. */ @ScriptManifest(name = "Salmon/Trout Fisher", author = "GaetanoH", version = 1.0, info = "", logo = "") public class Fisher extends Script { public enum State { FISHING, DROPPING; } public State getState(){ if(!inventory.contains("Raw trout") && !inventory.contains("Raw salmon")){ log("fishing"); return State.FISHING; } if(inventory.isFull() && inventory.contains("Raw trout") && inventory.contains("Raw salmon")){ log("dropping"); return State.DROPPING; } return null; } @Override public void onStart() throws InterruptedException { log("Welcome to my Barbarian Village Fisher/Cooker, start with a fly fishing rod with enough feathers, a tinderbox and a axe equipped."); } @Override public void onExit() throws InterruptedException { log("Thanks for using my script"); } @Override public int onLoop() throws InterruptedException { switch (getState()) { case FISHING: if(!myPlayer().isAnimating()){ getNpcs().closest("Fishing spot").interact("Lure"); } break; case DROPPING: getInventory().dropAllExcept("Fly fishing rod", "Feather"); break; } return random(500, 800); } @Override public void onPaint(Graphics2D g) { } }
  18. Thank you!
  19. GaetanoH posted a topic in Introductions
    Hello everyone, my name is GaetanoH, I'm 20 years old and a Java programmer, I've been lurking on the forums for a few months now. But I'm really liking to script for this bot and wanted to be more active, hope you guys enjoy my future scripts I'll write and I'll hope I have a good stay!
  20. Invalid or corrupt jar file mate! I get a incorrupt jar file error
  21. Can you make the clicking faster? If you can make it faster there is a way to make around 250k fletching xp per hour
  22. What are those money making methods? I never seem to be making money

Account

Navigation

Search

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.