it says it walking to the position you started it on.
I went from 71-86 doing enfeeble+alch and stun/alch and didn't encounter anything weird
Was this when it was trying to take a break?
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();
}
}
}