No I wwon't be adding high alch to this, it increases the bann rates way too much.
I did multiple tests and it's not worth, you are better off training purely magic after doing agility
Enjoy the trial
Was just giving an example. Just check if the object still exists in that case ^^
No need to make things hard, keep it simple and stupid. Never use Onmessage for this kind of things, not very reliable.
That still has some flaws in it.
Imagine the trapdoor already being open, you will never enter the trapdoor.
You also need to null check in case the object was not found.
Also some conditional sleeps makes it alot better ^^
You want to do something like this:
RS2Object trapDoor = getObjects().closest("Trapdoor");
if (trapDoor != null) {
if (trapDoor.hasAction("Open")) {
if (trapDoor.interact("Open")) {
new ConditionalSleep(7000) {
@Override
public boolean condition() {
return trapDoor.hasAction("Climb-down");
}
}.sleep();
}
} else {
Position prevPos = myPosition();
if (trapDoor.interact("Climb-down")) {
new ConditionalSleep(5000) {
@Override
public boolean condition() {
return myPosition().distance(prevPos) > 50 || myPosition().getZ() != prevPos.getZ();
}
}.sleep();
}
}
}
Glad to hear! Yes banns can happen anytime unfortunately
I can suggest you to take a lot of break, Read this: Preventing RS Botting Bans V3 - Botting & Bans - OSBot :: 2007 OSRS Botting
Depending on how many you want I can take a look at a deal for you ^^
Join the discord for that
Khal Runecrafter (All in One) updated to V3.11:
- Astral crafting should now check all staves
- Rune pouch support for astrals, put rune pouch in your inventory if you want to use it.
Will be live soon!
Enjoy