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.

olstan

Members
  • Joined

  • Last visited

Everything posted by olstan

  1. 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"); } }
  2. 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;
  3. 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
  4. is this the right command to listen for this? Message.MessageType.RECEIVE_TRADE; if so how do i set boolean to true?
  5. 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) } }
  6. 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
  7. It's on that post
  8. 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
  9. 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
  10. 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
  11. Hey CZAR can you PM me? I have another idea would like to run by you
  12. trial plz
  13. is it doing it the first time you run the bot, or is it 2nd or 3rd time of stop start stop start on the bot
  14. Bot doesnt seem to like the asgarnian dungeon, or trying to find ice giants
  15. Would there be a way to display all the possible loots per NPC and you can choose whether to loot or not? Obviously this would be a lot of extra data, but i'd be willing to assist in obtaining and putting this information in the format needed
  16. I haven't actually managed to run this successfully yet. My aim is to set it up in a bank and get it to go and fight moss giants at the minute. I set npc name to moss giant, choose my bank, choose to travel by camelot teletab to and from bank, loot 5k+ and press go. I get this on the logger INFO][Bot #1][02/13 06:42:31 PM]: ---------- ready ---------- [INFO][Bot #1][02/13 06:42:31 PM]: "npc_list_size" changed to "1" [INFO][Bot #1][02/13 06:42:31 PM]: "npc_name_0" changed to "moss giant" [INFO][Bot #1][02/13 06:42:31 PM]: "npc_cb_0" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "loot_list_size" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "bank_list_size" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: done, 0 loot items and 0 bank items [INFO][Bot #1][02/13 06:42:31 PM]: "eat_for_space" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: Setting goal level commands... [INFO][Bot #1][02/13 06:42:31 PM]: "level_task_mode" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ranging_mode" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_antifire_mode" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "prayer_flick_mode" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "bank_mode" changed to "1" [INFO][Bot #1][02/13 06:42:31 PM]: "bank_condition" changed to "No_food" [INFO][Bot #1][02/13 06:42:31 PM]: "pref_bank" changed to "nearest" [INFO][Bot #1][02/13 06:42:31 PM]: "walk_bank_0" changed to "Teleport_tab" [INFO][Bot #1][02/13 06:42:31 PM]: "walk_bank_1" changed to "Camelot_teleport" [INFO][Bot #1][02/13 06:42:31 PM]: "walk_fight_0" changed to "Teleport_tab" [INFO][Bot #1][02/13 06:42:31 PM]: "walk_fight_1" changed to "Camelot_teleport" [INFO][Bot #1][02/13 06:42:31 PM]: "enable_bone_bury" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "loot_item_value" changed to "5000" [INFO][Bot #1][02/13 06:42:31 PM]: "only_loot_target" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_wait_loot" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "loot_in_combat" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "prioritize_loot" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "telegrab_loot" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "unreachable" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "enable_special_attacks" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "prayer_normal_mode" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "enable_loot_arrows" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "eat_for_space" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "loot_arrows_combat" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_magic_mode" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_cannon_mode" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ab_override_random" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_move_mouse_outside" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ab_mouse_outside" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_fightzone_stay" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_fightzone_loot" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_readyclick_npc" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_smart_safespot" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_stop_at_death" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_hop_at_death" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_fight_with_cannon" changed to "0" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_force_fightzone" changed to "1" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_eat_bounds_1" changed to "45" [INFO][Bot #1][02/13 06:42:31 PM]: "ss_eat_bounds_2" changed to "65" [INFO][Bot #1][02/13 06:42:31 PM]: Cannon mode NOT activated! [INFO][Bot #1][02/13 06:42:31 PM]: Finding nearest npc.... [INFO][Bot #1][02/13 06:42:31 PM]: Successfully found at [x=2683, y=9571, z=0] Then constantly loops NFO][Bot #1][02/13 06:43:06 PM]: java.lang.NullPointerException at java.util.LinkedList.addAll(Unknown Source) at java.util.LinkedList.addAll(Unknown Source) at perfect.scripting.c.pRn.K(xh:521) at perfect.scripting.c.pRn.K(xh:456) at perfect.scripting.c.pRn.K(xh:360) at perfect.scripting.b.b.cOn.d(mn:227) at perfect.scripting.b.b.cOn.K(mn:597) at perfect.scripting.b.b.cOn.J(mn:35) at perfect.scripting.b.b.cOn.K(mn:643) at perfect.scripting.b.b.cOn.D(mn:769) at a.c.a.cON.K(so:87) at a.c.a.cON.g(so:141) at a.con.k(hl:688) at a.con.onLoop(hl:608) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(wh:281) at java.lang.Thread.run(Unknown Source) It never gets past here
  17. I believe you may have issued be a trial for your pro fighter script 2 days after i requested one. I have been out of the country and only just got back so would have been unable to use it which you would be able to see from my activity I am very interested in your script please may i have a trial
  18. ignore this message
  19. olstan replied to Token's topic in Others
    so far bot is amazing
  20. olstan replied to Token's topic in Others
    ty
  21. can i have a trial plz
  22. olstan replied to Token's topic in Others
    can i have a trial please
  23. olstan replied to Token's topic in Others
    This bot looks amazing, i am just getting some accounts up and ready for this. I am more than happy to offer for testing when they are. Do all the quests work??

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.