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.

Efpkaf

Members
  • Joined

  • Last visited

Everything posted by Efpkaf

  1. Guys do you really want to scary other?
  2. Efpkaf posted a topic in Archive
    How to detect if attacked NPC is dead? I wrote some code, but its awful... private void killFireGiant(RS2Object fireGiant) { fireGiant.interact(ATTACK); while (fireGiant.exists()) { } } Is there any way to avoid loop ?
  3. Shhh I forgot that recoil is a member item
  4. Hello, I just finished my first script which is ring of recoil maker. Run at GE. Must have equipped staff that provides water rune. Amount of coins to buy 150 cosmics and sapphire rings, if you dont have ring of sapphires/coicmis. Script will enchant rings until run out of runes/rings then it is going to sell recoils and buy 150 supplies in GE. What next: 1. implement better anti-ban 2. Make enchanting random rings in inventory (not from up to down and left to right) 3. Make my own paints Waiting for suggestions/bug reports. https://www.mediafire.com/?4tglsf1g16rtz35 <--- download jar
  5. Efpkaf replied to Efpkaf's topic in Archive
    cheers mate
  6. Efpkaf posted a topic in Archive
    Hi, I'm making my own ring of recoil enchanter. I have a two questions. 1. is there any default antiban? If yes, could some1 give me example how to use it? I cant find it in API. 2. Script is buying in GE cosmic runes and sapphire rings if cant find enough in bank, how can I close window (ge window/bank window) with esc key on keyboard?
  7. While trying to enchant sapphire rings, script is doing nothing. No error in logger also.
  8. hey, can i get a trail ?
  9. Efpkaf replied to Molly's topic in Thieving
    rror executing event : org.osbot.rs07.api.Inventory$2@5e0e0991 java.lang.ArrayIndexOutOfBoundsException: 0 at org.osbot.rs07.api.util.ItemContainer.getItemInSlot(qi:140) at org.osbot.rs07.api.Inventory$2.execute(ch:261) at org.osbot.rs07.event.EventExecutor$2.run(oh:133) at org.osbot.rs07.event.EventExecutor.execute(oh:86) at org.osbot.rs07.script.MethodProvider.execute(kh:662) at org.osbot.rs07.api.Inventory.IIIiIiiIiiiI(ch:248) at org.osbot.rs07.api.Inventory.dropAllExcept(ch:218) at c.AUx.h(x:54) at c.AUx.A(x:262) at c.nul.F(z:100) at MTMain.F(e:31) at java.util.ArrayList.forEach(ArrayList.java:1249) at MTMain.onLoop(e:31) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ih:18) at java.lang.Thread.run(Thread.java:745)
  10. Efpkaf replied to Molly's topic in Thieving
    Ignore
  11. Efpkaf replied to Molly's topic in Thieving
    Ignore
  12. Hej I've been asking for a trial, but this weekend I was away and I coulnd't try it. Could You give me anyother trial?
  13. ignore it
  14. for(Fighter fgt : tempBarracks){ if(nameInChars.contains(fgt.getInitial()) && fgt.getCombatStyle.equals(combatStyle) && i < nameInChars.size()){ calledFighters.add(new Fighter(nameInChars.get(i), combatStyle)); if(fgt.getInitial() == nameInChars.get(i)){ toRemoveFightersFromBarracks.add(fgt); } } i++; } Instead of i, you can use tmpBarracks.indexOf(fgt) , or if u just want to use variable i, use normal for (int i =0 ...) i++ in foreach looks bad or try stream tmpBarracks.stream().filter(p->{ if(nameInChars.contains(p.getInitial()) && p.getCombatStyle.equals(combatStyle) && tmpBarracks.indexOf(p) < nameIncars.size()){ calledFighters.add(new fighter(nameInchars.get(tmpBarracks.indexOf(p), combatStyle)); if(p.getInitial().equals(nameInChars.get(tmpBarracks.indexOf(p)){ return true; } }else {return false;}) .collect(Collectors.toList()) Streams are pretty useful, code looks better. BUT REMEMBER BECAREFUL WITH list.indexOf() !!! if u have 2 the same objects in list, its going to get first element all the time! also this if if(nameInChars.contains(fgt.getInitial()) && fgt.getCombatStyle.equals(combatStyle) && i < nameInChars.size()){ looks too long, move this things to other method.
  15. I'm running on zerker. Great profit. Thanks man ;)
  16. Efpkaf replied to Molly's topic in Thieving
    I'll run this script today for ~hour on master farmer
  17. Can i have a trial?
  18. Can i have a trial?
  19. Hey there is NPE [INFO][Bot #1][02/18 01:58:20 PM]: DEBUG: Swapping to item: Rune platebody [INFO][Bot #1][02/18 01:58:21 PM]: DEBUG: Swapping to item: Rune platebody [INFO][Bot #1][02/18 01:58:33 PM]: DEBUG: Going to search tomb [INFO][Bot #1][02/18 01:58:33 PM]: INFO: Setting PROTECT_FROM_MELEE to true [INFO][Bot #1][02/18 01:58:37 PM]: DEBUG: AnimationTracker started [INFO][Bot #1][02/18 01:58:37 PM]: DEBUG: Combat started [INFO][Bot #1][02/18 01:58:58 PM]: DEBUG: Restoring prayer [INFO][Bot #1][02/18 01:58:58 PM]: DEBUG: Exiting tomb [1] [INFO][Bot #1][02/18 01:58:58 PM]: DEBUG: AnimationTracker stopped [INFO][Bot #1][02/18 01:59:00 PM]: INFO: Setting PROTECT_FROM_MELEE to false [INFO][Bot #1][02/18 01:59:03 PM]: DEBUG: Next target: Verac the Defiled [INFO][Bot #1][02/18 01:59:12 PM]: DEBUG: Going to search tomb [INFO][Bot #1][02/18 01:59:13 PM]: INFO: Setting PROTECT_FROM_MELEE to true [INFO][Bot #1][02/18 01:59:16 PM]: DEBUG: AnimationTracker started [INFO][Bot #1][02/18 01:59:16 PM]: DEBUG: Combat started [ERROR][Bot #1][02/18 01:59:34 PM]: Error in script executor! java.lang.NumberFormatException: For input string: "run" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at frostbarrow.e.Con.H(xc:137) at frostbarrow.e.PRN.H(uc:1089) at frostbarrow.FrostBarrow.onMessage(vd:129) at org.osbot.rs07.Bot.executeListenerEvents(be:486) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(wh:93) at java.lang.Thread.run(Thread.java:745) [INFO][Bot #1][02/18 01:59:34 PM]: WARNING: Out of trident charges. Returning to bank [INFO][Bot #1][02/18 01:59:34 PM]: DEBUG: Bank run triggered by tridentCheck, ammoCheck or runeCheck [INFO][Bot #1][02/18 01:59:34 PM]: DEBUG: AnimationTracker stopped [INFO][Bot #1][02/18 01:59:39 PM]: DEBUG: Trident has 0 charges left. [INFO][Bot #1][02/18 01:59:41 PM]: DEBUG: Trident has 0 charges left. mby should use regex?
  20. Can i have also trail please?
  21. Yes, it happens only with monk robe top, with d'hide works perfect. I've just switched monk robe to other armor, I'll reply about that later
  22. Script look awesome, Im considering of buying it. But this bug, get stacked for 30 mins :/. OSBot client version: 2.4.111 Mirror mode (Yes/No): No Detailed bug description: Script stacks before digging to barrows brother. He is looking for monk robe top, but it is in the inventory(it happen sometimes not always). If I wear monk robe by my own, script will continue. Script Status & Current Task (As displayed in the paint): Screenshots (If available): https://scr.hu/LL7W9B https://scr.hu/o5PWMZ Relevant logs (If available):

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.