Jump to content

Efpkaf

Members
  • Posts

    126
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Efpkaf

  1. Efpkaf

    Molly's Thiever

    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)
  2. 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?
  3. 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.
  4. I'm running on zerker. Great profit. Thanks man ;)
  5. Efpkaf

    Molly's Thiever

    I'll run this script today for ~hour on master farmer
  6. 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?
  7. Can i have also trail please?
  8. 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
  9. 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):
  10. Can i have a trial? And also, does script support iban blast?
  11. Attack quested. MM done, book of balance, mith gloves, climbing boots. http://scr.hu/27u3/lh1hw 1day ban 1 year ago.
  12. Efpkaf

    Vip is needed

    Sorry for late response but i was away. I deleted folder, updated java still doesnt work I was also trying to search for other java processes while the "error" appears, but there is still only 1 process.
  13. Efpkaf

    Vip is needed

    Hi, When im trying to use anyscript/play by my own in Osbot after few seconds/minutes this window is showing. http://scr.hu/27u3/d4xve I was trying to kill other process, redownload client but nothing works. I want notice that im using only 1 bot.
×
×
  • Create New...