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.

Vilius

Scripter II
  • Joined

  • Last visited

Everything posted by Vilius

  1. Damn all of these people cannot show you a simple snippet, smh int[] slot = { 0, 4, 1, 5 }; for(int i : slot){ if(getInventory().getItemInSlot(i).getName().equals("whatever")) getInventory().getItemInSlot(i).interact("Drop"); } Just replace the slot array with the slots you want to be dropped.
  2. Xubuntu hands down
  3. Thats the whole point of having super classes, that they have their own custom methods. What you can do is overload the methods to have diff params depending on the entities super class.
  4. Vilius replied to jens4626's topic in Spam/Off Topic
    You should read their terms of service first then ask for help, most likely they have something in the tos against making proxies from the vps. Edit: I see you got suspended for phishing, you can prove that you didnt have apache or anything web related installed, stuff like that might help.
  5. Vilius replied to Qubit's topic in Requests
    Took a shot at the login screen, anything can be changed to your liking. To be fair, even your login screen looks bloated as hell, not even speaking of other screens. EDIT: Could do more tomorrow, need to hit the bed.
  6. Vilius replied to Adapt's topic in Spam/Off Topic
    Why change it to that? The current one looks simple and modern, the new one you propose looks like its from 2000's. Just my two cents.
  7. Well it should be clicking correctly, most likely the first if statement is wrong. But Im guessing you want it to shif click drop, which osbot already does if you enable it in game :b
  8. Yeah unlike you buying some lame ass wireless headphones, macs, consoles OT: Nice to see Lithuanians here and the trip looked like it was fun :b
  9. My guess he was putting the class files into the root directory of OSBot rather than the sub directory of scripts.
  10. Yeah, raspberry pi 3 is outdated but still decent, the newer version should be great :p
  11. buy a raspberry pi to play rs on the go
  12. I have to correct myself, my first example should work with random(2) instead of random(1), because random(int i) is generating a number exclusively, meaning it generates a number between 0-1 and never returns a 1, doing random(2) would generate 0-1 without including the number 2. random(int min, int max) is inclusive meaning that it will include the numbers defined in the parameters. Example: random(1, 3) would generate 1, 2, 3.
  13. I edited my post, it was fucked up for some reason, the spoilers dont seem to work for me haha
  14. Random doesn't mean that it scatters everything evenly, flipping a coin a 100 times and getting tails 99 times out of 100 is still random, flip was random and the result was random. Changing it to the examples that I posted below might not do any difference. If you want something different you can try: if((Math.random()<0.5)? false: true) method1(); else method2(); result would be after 100 iterations (true being first method is called, false being method2) true, true, false, true, false, true, false, true, false, true, false, false, false, false, false, false, false, true, false, true, true, false, false, false, true, true, false, true, false, true, false, true, true, true, true, false, true, false, false, false, true, true, true, false, false, false, true, true, true, true, true, true, false, false, true, true, true, false, false, true, false, false, true, true, true, true, true, false, true, false, false, true, true, false, false, false, true, false, true, false, true, false, false, false, true, false, true, false, false, false, true, false, false, false, true, true, true, false, true, false, If you want to use something else then do: Random random = new Random(); switch(random.nextInt(2)){ case 0: method1(); break; case 1: method2(); break; } //OR Random random = new Random(); if(random.nextBoolean()) method1(); else method2(); results after 100 iterations: 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0
  15. Yeah and when it returns a 0 what are you going to do then? The chance would be 1/3 instead of 1/2 to get 1 or 2 Correct code would be: switch(random(2)){ case 0: method1(); break; case 1: method2(); break; }
  16. http://stackoverflow.com/questions/40480/is-java-pass-by-reference-or-pass-by-value http://softwareengineering.stackexchange.com/questions/21802/when-are-getters-and-setters-justified http://stackoverflow.com/questions/1568091/why-use-getters-and-setters http://stackoverflow.com/questions/7026507/why-are-static-variables-considered-evil Read pls
  17. Man the shipping costs more than the t-shirt it self.
  18. Vilius replied to Vilius's topic in Runescape 3
    Sold to RSGPDeals
  19. Vilius posted a topic in Runescape 3
    Post prices below
  20. Vilius replied to Transporter's topic in Spam/Off Topic
    ???
  21. Title, post prices below.
  22. Blue whale is a stupid epidemic among teens. Who in their right mind would do 50 life threatening tasks and in the end commit suicide because they are told to do so?
  23. private final RS2Object bankBooth = objects.closest("booth"); private final RS2Object fountainObject = objects.closest("Fountain"); Thats where your problem is. You need to set those objects in your code which executes in onLoop. Say the bank method you have, youd need to put the objects.closest("booth") there.
  24. Vilius replied to Jbotter's topic in Spam/Off Topic
    You could watch Brian Cox giving lectures or ted talks as he works at CERN. Pretty good stuff.

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.