BG BotFill : QueueID renseigne dans l inscription BG des bots + garde-fou anti sur-provision
ProcessInBGQueue envoyait BattlemasterJoin avec QueueID=0 (ligne commentee du portage) : toutes les inscriptions bots etaient rejetees (invalid bgtype 0). Ajout de GetScheduledBotCount : tant que 8+ bots sont en cours d engagement (login/re-level/inscription), le tick n en engage pas de nouveaux (on est montes a 92 bots en ligne pour un 15v15). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -445,8 +445,9 @@ bool PlayerBotSession::ProcessInBGQueue(BotGlobleSchedule& schedule)
|
||||
|
||||
WorldPacket cmd(CMSG_BATTLEMASTER_JOIN);
|
||||
WorldPackets::Battleground::BattlemasterJoin packet(std::move(cmd));
|
||||
//packet.QueueID = MS::Battlegrounds::QueueOffsets::Battleground + MS::Battlegrounds::BattlegroundTypeId::BattlegroundRandom;
|
||||
//packet.RolesMask = 14;
|
||||
// SylvaniaCore (module BG BotFill): le QueueID n etait jamais renseigne (ligne commentee
|
||||
// du portage) -> le handler recevait bgtype 0 et rejetait toutes les inscriptions bots
|
||||
packet.QueueID = uint64(schedule.parameter1);
|
||||
HandleBattlemasterJoinOpcode(packet);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user