Bot closes after login

Helping friend of mine,

He just recently started using PHbot, his char loggs on (clientless) then his bot client shuts down after like 30 seconds without giving any error. What can be a cause of this?

If you getting DC, main reason is CrapTrap not running. Check the CrapTrap if you’re playing iSRO. Without the CrapTrap game disconnects you to prevent clientless botting.

Also if CrapTrap is working and still getting DC, check your Anti-Virus software and add your bot folder and game folder to exception list. You can do the same thing on Defender.

If you still get DC, check your VCRedist packages maybe they’re corrupted or not working properly. Also enable logging to see the errors. Logging can be helpful to find problems.