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.

olstan

Members
  • Joined

  • Last visited

Everything posted by olstan

  1. Trial please
  2. i think you'll find that was for trading and i solved that, without the method you suggested.
  3. olstan replied to olstan's topic in Requests
    Sort of. If action a (receives private message !help for example) then do action b I have already written action b i just need it to listen for the message and return true so the process will run
  4. olstan posted a topic in Requests
    I will pay 10mil for someone who can successfully help me with a few lines of code for my bot and make it work. PM me
  5. I never get a chance to go through all the log as i have to shut osbot down as even the logger crashes. I need to find out how to give it a value without getting errors in my code which i have struggled with since breaking it!
  6. Any idea how i can fix. This part is a key part for the whole Bot
  7. I have created my bot by doing each task as a separate class instead of using switches (never again!) Because i have done it this way i have to trigger the statement to be true on the can process. This is making it hard to use a message listener also as it always says the variables wrong. Here is the current code i have, it used to work, all i need it to do is become true when it receives a specific private message become true. The current code i have i cant even debug as it makes the bot run slowly (as if being ddossed) but i believe it keeps looping. import org.osbot.rs07.api.Chatbox.MessageType; import org.osbot.rs07.script.MethodProvider; public class Contact extends Task { private MessageType messageType; public Contact(MethodProvider api) { super(api); } public boolean canProcess() { return api.getChatbox().contains(messageType, "help me"); } @Override public void process() throws InterruptedException { api.log("we have just been asked for help"); } } This is just an example of what the bot will do should it receive that message.
  8. olstan replied to olstan's topic in Archive
    i meant where i can put breaks in the code, or where i can see it is in the code to see where the code is breaking
  9. olstan replied to olstan's topic in Archive
    It is a local script. I try and run in eclipse but it says there is no main.
  10. olstan posted a topic in Archive
    Is there anyway to debug the script as it is being used. I like Osbot and i know with other sites it is possible to debug the code step by step as the bot runs. Is there anyway to do this is osbot?
  11. olstan replied to Khaleesi's topic in Minigames
    can i have a trial plz
  12. can you run numerous ess runners with 1 master, or will the master only work with 1 slave
  13. the loot over * option doesn't work :(, Is there any idea when the stop after slayer task will work?
  14. I am new to java scripting. This is a current task i am working on to listen for a trade. When a trade is received it starts this task. I am ok with the trading api. It is just the listening for a message to initiate the task. Can anyone help import javax.sound.midi.Receiver; import org.osbot.rs07.api.Trade; import org.osbot.rs07.api.ui.Message; import org.osbot.rs07.listener.MessageListener; import org.osbot.rs07.script.MethodProvider; public class trade extends Task { public trade(MethodProvider api) { super(api); } @Override public boolean canProcess() { return; } @Override public void process() { api.log("we have been traded"); } }
  15. I know wasn't trying to be rude. I have managed to search snippets of other peoples posts, and since then have progressed quite well. This is just a big part i am stuck with. @Override public boolean canProcess() { MessageListener MessageListener; api.getBot().addMessageListener(MessageListener); Message.MessageType.RECEIVE_TRADE; return true;
  16. is this close? @Override public boolean canProcess() { MessageListener MessageListener = null; api.getBot().addMessageListener(MessageListener); Message.MessageType.RECEIVE_TRADE; return true; The problem i have, is quite bad dyslexia, i had the same problems learning C with man pages. I struggle to interpret API But once i get to grips i find it easier
  17. is this the right command to listen for this? Message.MessageType.RECEIVE_TRADE; if so how do i set boolean to true?
  18. Hello, I am looking for a bit of help for player trading. i have this so far for the task import org.osbot.rs07.api.ui.Message; import org.osbot.rs07.script.MethodProvider; public class trade extends Task { public trade(MethodProvider api) { super(api); } @Override public boolean canProcess() { return Message.MessageType.RECEIVE_TRADE; (I need the right command to trigger the task, when it has seen that a player has traded do the task) } @Override public void process() { api.log("we have been traded"); (I need help with the bot clicking to start the trade, accepting both trade windows) } }
  19. sorry, when i sent the last message i was out the house so could only give link, however i believe you made me aware of the issue
  20. It's on that post
  21. I am able to export this bot with its tasks, but osbot is not finding it, Any ideas? bankwalk.java support2.java Task.java willowwalk.java
  22. Hey, i have written my first bot, I am just having a small problem with the task system and an error being given. Anyone willing to have a look at the script on skype. it is 1 error
  23. Hey, I am looking to start scripting bots, I have a basic understanding of java. I can code in C/C++ so i understand system calls, ints, chars, Boolean etc I would like if anyone was willing and knows how to script to maybe support me for a couple of hours on skype or anything. I have a great script idea and it is very basic for what i have seen It will consist of trading a player, banking and coming back that is all. Please PM me if able to help
  24. Hey CZAR can you PM me? I have another idea would like to run by you

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.