Everything posted by sp3cpk
- Stuck on ConditionalSleep
- null
-
null
I have been getting an NPE with two of my scripts that used to work fine. [ERROR][Bot #1][10/03 02:06:30 PM]: Error in script executor! java.lang.IllegalStateException: Bank tab count calculation failed! at org.osbot.rs07.api.Bank.getItemCountForTab(jo:219) at org.osbot.rs07.api.Bank.getItemsInTab(jo:214) at org.osbot.rs07.api.Bank.iiIiiiiiiIIi(jo:782) at org.osbot.rs07.api.Bank.IIiIIiiIIIiI(jo:853) at org.osbot.rs07.api.Bank.iIIIiiiIIIii(jo:1136) at org.osbot.rs07.api.Bank.withdraw(jo:1400) at org.osbot.rs07.api.Bank.withdraw(jo:1217) at org.osbot.rs07.api.Bank.withdraw(jo:1125) at EmeraldRings.EmeraldRings.onLoop(EmeraldRings.java:367) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ro:134) at java.lang.Thread.run(Unknown Source) line 367 says getBank().withdraw("Emerald", 13); the whole method: if (getBank().isOpen()) if (getBank().contains("Gold bar")) { getBank().withdraw("Gold bar", 13); new ConditionalSleep(5000) { @Override public boolean condition() throws InterruptedException { return getInventory().contains("Gold bar"); } }.sleep(); if (getBank().isOpen() && getBank().contains("Emerald")) { LINE 367 getBank().withdraw("Emerald", 13); new ConditionalSleep(5000) { @Override public boolean condition() throws InterruptedException { return getInventory().contains("Emerald"); } }.sleep(); if (getBank().isOpen() && getBank().contains("Ring mould")) { getBank().withdraw("Ring mould", 1); new ConditionalSleep(5000) { @Override public boolean condition() throws InterruptedException { return getInventory().contains("Ring mould"); } }.sleep(); } } } if i run the script without breaks I never get the NPE, however, when I use breaks after the bot comes back from break it gets this NPE. help is appreciated.
-
Script spazzing out
I narrowed down the problem I used one accounts with breaks every 20 mins for 5mins The second account I didn't use breaks It seems that after the account went through ~4 breaks it would mess up when logging back in and all the misclicks etc would happen. The first account that was not breaking didn't malfunction does anyone know why this is happening? help would be appreciated << I used to use breaks on this same script about 7-8 versions ago and it used to work perfect
-
Script spazzing out
It probably is, but I did use this script to farm in the past with no issues is there any other possibility ?
-
Script spazzing out
Hey so over summer I coded a few scripts and they were working perfectly. I decided to take a break from botting and now that I am back my scripts seems to be bugged. The following is happening: I start the script and it works as it did before, however, after an hour or two the script isn't functioning properly. To withdraw items it will right click them several times before it clicks withdraw. To open the bank it takes several attempts. To use item on item it also takes several attempts. Everything is just being misclicked. The only way I fix it is when I restart the client. What have I tried? So I thought the system it ran on was just laggy so i ran it on my computer alone and it did the same thing. In addition, I tried two different internet connections. The problem still occurs. What can be causing this? Is anyone else experiencing this?
-
Bot now before osmobile comes out
I think you're right, their detection system is pretty good as is. I'm thinking that they're referring to improving their bot detection system in regards to osrsmobile.
-
Void
Bought this service off a site for about 40m. Seems like osbot members offer way better prices^^
-
NEED A LIST OF SKILLS DONE TO 70!HAND DONE
add me on skype: sp3cpk we can talk about prices there
-
Perfect Runecrafter AIO
@Czar For the master/worker method does it support laws? Also do the workers trade the master outside the altar?
-
Increase in tutorial island bans?
Interesting I actually checked the 30 accounts I made last night, they're all banned... ;'(
-
Uhm.. the fuck
it's cuz u used a age younger than 13.... CLEAr ur history and u should be fine
-
Moving away from npc
Hello! I was wondering if anyone could help with the following: Say my player is less than 3 coordinates from an NPC, how would approach this situation so my bot will walk to a coordinate 3 tiles away (a reachable coordinate).
-
Proxy bot initialization error?
Using injection and proxy still broken, it's not just on mirror mode
-
Proxy bot initialization error?
Same
-
Perfect Runecrafter AIO
@Czar does the bot go to a safespot if a break is about to come and you're in the abyss?
-
[Back Open!] §§ Cape's Private Scripts ~ Sleek, GUI/ Advanced CLI ∫ Experienced, Fast, Cheap, Reliable ∫ Fast Delivery §§
Great service, great guy! Managed to finish my script request within a few days for a good price! The script was above and beyond my expectations :D!
-
APA Sand Crabs
Thanks! looking forward to this! Also do you mean that the bot completely goes idle when the break is triggered? because in some cases eating food overrides the break after it clicks logout and it doesn't go idle and continues botting. Btw where did you find the time to break? < i was actually trying to find it in the API to help you :P
-
APA Sand Crabs
Hey! There's a Problem regarding taking breaks... While in combat it will try to logout to take a break, however, it's still in combat and eventually the break graphic disappears and the bot just keeps fighting and continuing on without taking the break. I'm sure there's a way to detect breaks, I've seen another bot on this site advertise that it'll get out of combat when break time is close.
-
Calling random method
Didn't mean to post
-
Calling random method
Oh i totally understand! I tested it for a while :P and never got 2 like over 100 results... I will give that a try thanks EDIT: simply changing it to method = random(0,1); worked thanks @Lewis and @Vilius and everyone else
-
Calling random method
I implemented the code... however, i did option == random(1) it always generates a 1?;o how come? but when i leave it at 2 it'll generate a 0-2? I tried a switch case too same issue ;o? @Vilius
-
Calling random method
got it! Thanks a bunch
-
Calling random method
Hey guys! Can anyone help me with this? I've been stuck for a while.. So I'm trying to figure out how to make it so when my condition calls on a state that case will have two methods in it and one method is selected at random Example: if this is my condition do that case that: method1(); method2(); So my question is how would I make it select method1() or method2() at random, a 50% chance?
-
account locked
So i got my accounts back... after they got locked I clicked forgot password on the client and it would take me to a recovery page. Next I filled in the first password and other information and they unlocked my account. However, it took them 4-5 hours.