I too was botting in Cave without any issues til I reached Moles.
The problem is, that riBot starts to ignore mobs when you hit obstacles ("Cannot attack due to an Obstacle") and keeps that state as long as that mob is within sight range. And as Blind Moles are passives Mobs, they won't auto-attack you so they'll be ignored forever.
Just look at the Mole rooms; around the 4 Pillars in the 1st room usually are quite many Moles - and the 2nd room... no comment (obstacle nightmare).
And it'll be even worse at Yachas
A "workaround" I could offer is, that you check your bot every once in a while and if all/too many mobs are being ignored, just leave and re-enter the room. Might be difficult in Clientless tho as there are no map files for Dw Cave (I at least don't have any :s)