azerothcore / mod-cfbg

Cross-faction Battleground for AzerothCore
MIT License
13 stars 42 forks source link

BG queue 0/4 #58

Closed FrancescoBorzi closed 3 years ago

FrancescoBorzi commented 3 years ago

CURRENT BEHAVIOUR:

image

EXPECTED BLIZZLIKE BEHAVIOUR:

Should never show an announcement when 0 players are queued

STEPS TO REPRODUCE THE PROBLEM:

set this conf in worldserver.conf:

Battleground.QueueAnnouncer.Limit.MinLevel = 30
Battleground.QueueAnnouncer.Limit.MinPlayers = 3
Battleground.QueueAnnouncer.SpamProtection.Delay = 60

enable the CFBG module and set this conf:

CFBG.Enable = 1
CFBG.BalancedTeams = 1
CFBG.Include.Avg.Ilvl.Enable = 1
CFBG.Players.Count.In.Group = 1
CFBG.EvenTeams.Enabled = 1
CFBG.EvenTeams.MaxPlayersThreshold = 7
  1. Queue a BG with a 19
  2. Leave
  3. Queue again
EXTRA NOTES:

Type here.

AC HASH/COMMIT:

https://github.com/chromiecraft/azerothcore-wotlk/commit/0d699222de92185681f9a78822a0e5d9898294f4

OPERATING SYSTEM:

Ubuntu 20.04

MODULES:
OTHER CUSTOMIZATIONS:

None.

SERVER:

ChromieCraft

Sedatyf commented 3 years ago

Damn how is that possible

FrancescoBorzi commented 3 years ago

Damn how is that possible

I've just realised, it only happens if you set a spam protection delay:

Battleground.QueueAnnouncer.SpamProtection.Delay = 60