this is the way that i fixed my bot this is NOT THE ONLY way and may NOT fix you particular problem.
log into your bot using the client.
now buy the best weapon for your lvl and stat for it, then set all the other stats on what ever gives you the most strength, level up your skills if you use them, and buy the gear closest to your level.\\
i did this and it fixed my bot now its killing like a mad man on crack. not lagging or just standing around and the attacking but not killing and running away has gone.
as i said this may not be your problem, but to the people that let the bot lvl from lvl1 and dont touch or stat it, this will definately help.