chore: Drop bot movement console logs

This commit is contained in:
bash 2026-05-14 22:51:36 +02:00
parent a81c7a2761
commit 9395ed79ef
2 changed files with 1 additions and 19 deletions

View File

@ -3284,15 +3284,6 @@ bool MovementAction::GetTravelPlan(TravelPlan& plan, WorldPosition destination)
{ {
WorldPosition botPos(bot->GetMapId(), bot->GetPositionX(), WorldPosition botPos(bot->GetMapId(), bot->GetPositionX(),
bot->GetPositionY(), bot->GetPositionZ()); bot->GetPositionY(), bot->GetPositionZ());
LOG_DEBUG("playerbots",
"[TravelPlan] {} requesting plan: from ({:.0f},{:.0f},{:.0f}) map={} zone={} → "
"({:.0f},{:.0f},{:.0f}) map={} (straight={:.0f}yd)",
bot->GetName(), botPos.GetPositionX(), botPos.GetPositionY(), botPos.GetPositionZ(),
bot->GetMapId(), bot->GetZoneId(),
destination.GetPositionX(), destination.GetPositionY(), destination.GetPositionZ(),
destination.GetMapId(), botPos.fDist(destination));
return sTravelNodeMap.GetFullPath(plan, botPos, bot->GetZoneId(), destination, bot); return sTravelNodeMap.GetFullPath(plan, botPos, bot->GetZoneId(), destination, bot);
} }
@ -3616,8 +3607,7 @@ bool MovementAction::ExecuteTravelPlan(TravelPlan& state)
if (bot->IsMounted()) if (bot->IsMounted())
bot->Dismount(); bot->Dismount();
if (bot->ActivateTaxiPathTo(state.route, flightMaster, 0)) bot->ActivateTaxiPathTo(state.route, flightMaster, 0);
LOG_DEBUG("playerbots","[TravelPlan] Bot {} taking flight ({} nodes)", bot->GetName(), state.route.size());
state.route.clear(); state.route.clear();
state.stepIdx += 2; state.stepIdx += 2;

View File

@ -162,8 +162,6 @@ bool NewRpgBaseAction::MoveFarTo(WorldPosition dest)
StartTravelPlan(dest); StartTravelPlan(dest);
if (botAI->rpgInfo.HasActiveTravelPlan()) if (botAI->rpgInfo.HasActiveTravelPlan())
{ {
LOG_INFO("playerbots", "[MoveFar] {} nodetravel | dis={:.0f}",
bot->GetName(), dis);
EmitDebugMove("MoveFar", "travelplan", EmitDebugMove("MoveFar", "travelplan",
dest.GetPositionX(), dest.GetPositionY(), dest.GetPositionZ()); dest.GetPositionX(), dest.GetPositionY(), dest.GetPositionZ());
return UpdateTravelPlan(); return UpdateTravelPlan();
@ -230,9 +228,6 @@ bool NewRpgBaseAction::MoveFarTo(WorldPosition dest)
if (points.size() >= 2) if (points.size() >= 2)
{ {
LOG_INFO("playerbots", "[MoveFar] {} mmap-path | dis={:.0f} | endDist={:.0f} | wp={}",
bot->GetName(), dis, endDistToDest, (uint32)points.size());
// Mount up if outdoors and not in combat. // Mount up if outdoors and not in combat.
if (!bot->IsMounted() && !bot->IsInCombat() && bot->IsOutdoors() && bot->IsAlive()) if (!bot->IsMounted() && !bot->IsInCombat() && bot->IsOutdoors() && bot->IsAlive())
botAI->DoSpecificAction("check mount state", Event(), true); botAI->DoSpecificAction("check mount state", Event(), true);
@ -437,9 +432,6 @@ void NewRpgBaseAction::StartTravelPlan(WorldPosition dest)
{ {
TravelPlan& plan = botAI->rpgInfo.travelPlan; TravelPlan& plan = botAI->rpgInfo.travelPlan;
GetTravelPlan(plan, dest); GetTravelPlan(plan, dest);
LOG_DEBUG("playerbots","[New RPG] Bot {} starting travel plan to ({:.0f},{:.0f},{:.0f}) map={}, {} points",
bot->GetName(), dest.GetPositionX(), dest.GetPositionY(), dest.GetPositionZ(), dest.GetMapId(), plan.steps.size());
} }
bool NewRpgBaseAction::UpdateTravelPlan() bool NewRpgBaseAction::UpdateTravelPlan()