You should add the "if under attack" condition to getState() for the state to switch properly. You need to use webwalk to walk to your mining spot. You should use conditional sleeps to detect if your bot has done something, instead of sleeping every time because sometimes the bot doesn't manage to do some things and you have to keep waiting.
I recommend you take a look at this guide and try to make use of conditional sleeps and if statements properly.
https://osbot.org/forum/topic/115124-explvs-scripting-101/
Like chris mentioned, you can use Random.nextInt(3) or osbot's random(0,2).
If your 3 paths are similar, you probably don't need to do this kind of thing because osbot doesn't always click on the exact same tiles.
I don't know if that is the correct error code, but chances are, your proxy was so bad that it couldn't even make accounts on the website. Give up on that proxy
This
That means you probably messed up and created the account with your own ip. You need to use the proxy on your browser when you register. Google is your friend here
Main Features
Trains at the best locations for F2P runecrafting (Air, Earth, Body)
Start from anywhere, only requirement is to equip the necessary tiara and have essence in bank
GUI to select rune to craft, type of essence, and level to stop at