I've been having the same problem. Since Monday just before server inspection. Agbot will stay open for 2 to 15 minutes then instantly close. It happens when I'm in town and even if I walk my character to bot spot and start bot there. I'm not even running a multi client when the instant close occurs.
I always turn off my firewall and antivirus programs before botting. So I know that can't be a reason. Windows does not report any events via event viewer. I redownloaded and regonfigured agbot and I'm using agsolid to create my script (said it was sro version 1.165 compatible).
Any help would be greatly appreciated.