Jump to content
Sign in to follow this  
Stylophone

Premade战场队列问题...

Recommended Posts

我今天也遇到了这种情况。散拍,进了,遇上了premade,输了,出来再排,不到1分钟又可以进了,又遇上了同样的premade。

根据git上的代码:https://github.com/elysium-project/server/blob/development/src/game/Battlegrounds/BattleGroundMgr.cpp

特别是这三个方法及其注释:

void BattleGroundQueue::Update(BattleGroundTypeId bgTypeId, BattleGroundBracketId bracket_id);
bool BattleGroundQueue::CheckPremadeMatch(BattleGroundBracketId bracket_id, uint32 MinPlayersPerTeam, uint32 MaxPlayersPerTeam);
bool BattleGroundQueue::CheckNormalMatch(BattleGroundBracketId bracket_id, uint32 minPlayers, uint32 maxPlayers);

Premade应该优先加入premade队列,并且优先与premade匹配。在一段时间(默认30分钟)如果premade队列没有其他敌对premade加入,才将premade从premade队列中移出并和普通玩家匹配。怎么可能1分钟里又遇上同样的premade...

https://elysium-project.org/bugtracker/issue/3947

Edited by Stylophone

Share this post


Link to post
Share on other sites

假代码一定是,我就说现在是按时间来的,lm人少bl人多怎么可能一直permade。

虽然我看不懂这个cord

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×