The code Furniture provided fixed the melee bots not attacking issue. However it needs 1 extra line to fix some other problems with the bots base_hp, the modified complete working function is here: in bot.cpp replace>
Code:
int32 Bot::GenerateBaseHitPoints()
{
// Calc Base Hit Points
int new_base_hp = 0;
uint32 lm = GetClassLevelFactor();
uint32 Post255;
if ((GetSTA() - 255) / 2 > 0)
Post255 = (GetSTA() - 255) / 2;
else
Post255 = 0;
new_base_hp = (5) + (GetLevel()*lm / 10) + (((GetSTA() - Post255)*GetLevel()*lm / 3000)) + ((Post255*GetLevel())*lm / 6000);
this->base_hp = new_base_hp;
return new_base_hp;
}