The problem is when I bot it goes normally but after few 30 minute or hours, the bot sometime lost connection or sometime stuck somewhere in map. For example when you start Larvae quest and after a while it suddenly stuck in some room where there no mana golem...
That's because that particular area has some problem with the movement of the mana golem & you might be dragged out to the previous screen. As for the disconnections, it happens some times so just try not to leave the bot running for hours.
For disconnect to server just click autorelogin and choose the server as well as in the bot options click restart bot manger. This will mean that when you disconnect or logoff the bot will automatically relogin and restart. (If the server like, say, artix is full then if you logout it won't work. So be wary of loging in to crowded servers.
If you change rooms with a bot then there are some workarounds for it. If you are in mana golem then just make a simple bot in the bot manager but make sure that after each kill you join the cell and pad that the mana golem is in. If you change rooms there it is probably bot trolls trying to get you to change rooms (trolling you).
Sometimes I have had that with farming for rep. Usually you should enable enemy magnet (BUT DON'T DO THIS IN A PUBLIC ROOM OR ELSE EVERYONE WILL KNOW YOU ARE BOTTING) and slow down the walk speed to make sure that you don't switch screens. Also be picky of the rooms you choose. Cell just means which room but pad means the direction or arrow you came from. So if you are farming a room with three points of entry, a top, left, and right, the pad is different from which point you enter. If the enemies are near the top pad then maybe you should have the bot be at the left or right pad to make sure you don't get too close to changing rooms where you are fighting.