Keep queued adventure bots active and preserve browser admission rules

Reuse formation performances while waiting for dungeon, raid or PvP admission, and accept compatible formation invitations without active recruitment or interrupting battleground offers.

Require the full low-population wait for every participating queue entry and acknowledge connected clientless members during native group teleportation.

Add regression coverage and document builds, live Yarumak/Seraellin checks and separately preserved shutdown crash findings.
This commit is contained in:
Nico committed 2026-11-04 14:19:38 +01:00
1 parent d1aceaf583
commit aba5aeba2c
15 files changed
+517 -76

No files matched your search

+9 -1
View File
@@ -424,7 +424,15 @@ uint8 LFGQueue::FindLowPopulationGroups()
playerCount += uint32(itrData->second.roles.size());
}
if (playerCount < minPlayers)
// Every participating queue entry must have received the full
// fallback window, including a human joining long-waiting bots.
bool waited = std::all_of(check.begin(), check.end(), [&](ObjectGuid guid)
{
auto entry = QueueDataStore.find(guid);
return entry != QueueDataStore.end() && now >= entry->second.joinTime &&
uint64(now - entry->second.joinTime) >= fallbackDelay;
});
if (playerCount < minPlayers || !waited)
continue;
TC_LOG_DEBUG("lfg.queue.lowpopulation",