azerothcore / azerothcore-wotlk

Complete Open Source and Modular solution for MMO
http://www.azerothcore.org
GNU Affero General Public License v3.0
6.52k stars 2.61k forks source link

Unable to close battleground #6781

Closed mpfans closed 2 years ago

mpfans commented 3 years ago

Current Behaviour

In battleground_template table limits the character level, but you can still press the' H ' key to queue and enter the battleground. (use .gm off) 20210707093553 20210707093804

Expected Blizzlike Behaviour

none

Source

No response

Steps to reproduce the problem

1.UPDATE battleground_template SET MinLvl ='81',MaxLvl='80' WHERE ID IN (1,9,30,32) 2.restart server 3.enter game 4.press H key,choice Random Battleground or Alterac Valley 5.you can join that

Extra Notes

No response

AC rev. hash/commit

341d65c1db0d99c0603e04edbe2fc37314cf20dc

Operating system

ubuntu20.04

Custom changes or Modules

No response

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/99776006-unable-to-close-battleground?utm_campaign=plugin&utm_content=tracker%2F40032087&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F40032087&utm_medium=issues&utm_source=github).
syssneck commented 3 years ago

Hi, I made the appropriate changes, but after I changed the MinLvl to 81 and restarted the server, I wasn't able to join the battlegrounds as you did. I was only able to join Warsong Gulch and Arathi Basin, because I made no changes to the MinLvl there.

Helias commented 3 years ago

the minLevle to see what you see typing H is handled by PvPDifficulty.dbc, so the client can still send the join command to the server, but ofc it's a bug of the server that you can join for real and enter to the battleground :(

mpfans commented 3 years ago

Hi, I made the appropriate changes, but after I changed the MinLvl to 81 and restarted the server, I wasn't able to join the battlegrounds as you did. I was only able to join Warsong Gulch and Arathi Basin, because I made no changes to the MinLvl there.

what's your server AC rev. hash/commit ?

syssneck commented 3 years ago

My local AC is 458469e

mpfans commented 3 years ago

My local AC is 458469e

You tested it in this 458469ec01f1653b1c5b3b238afaf24da67366b8 ? modify minlvl = 81 and can't join the battlefield?

mpfans commented 3 years ago

https://github.com/azerothcore/azerothcore-wotlk/commit/458469ec01f1653b1c5b3b238afaf24da67366b8

The commit was merged at 17:30 yesterday, and your test results were submitted at 16:44

syssneck commented 3 years ago

This is my local AC rev. hash/commit: AzerothCore rev. 458469ec01f1+ 2021-07-07 09:31:43 +0000 (master branch) (Win64, RelWithDebInfo, Static)

The changes in battleground_template: grafik

I can't join the battlegrounds, where I changed the MinLvl to 81 with a lvl 80 char (as expected): https://user-images.githubusercontent.com/68868567/124904160-fe7bdd00-dfe4-11eb-95fd-b1fe83d3bb37.mp4

Did I miss something?

mpfans commented 3 years ago

This is my local AC rev. hash/commit: AzerothCore rev. 458469e+ 2021-07-07 09:31:43 +0000 (master branch) (Win64, RelWithDebInfo, Static)

The changes in battleground_template: grafik

I can't join the battlegrounds, where I changed the MinLvl to 81 with a lvl 80 char (as expected): https://user-images.githubusercontent.com/68868567/124904160-fe7bdd00-dfe4-11eb-95fd-b1fe83d3bb37.mp4

Did I miss something?

I didn't see any hint in your chat window. I'm not sure, because I can join here

mpfans commented 3 years ago

This is my local AC rev. hash/commit: AzerothCore rev. 458469e+ 2021-07-07 09:31:43 +0000 (master branch) (Win64, RelWithDebInfo, Static)

The changes in battleground_template: grafik

I can't join the battlegrounds, where I changed the MinLvl to 81 with a lvl 80 char (as expected): https://user-images.githubusercontent.com/68868567/124904160-fe7bdd00-dfe4-11eb-95fd-b1fe83d3bb37.mp4

Did I miss something?

try maxlvl =81 ?

syssneck commented 3 years ago

Yepp, that was it! MinLvl and MaxLvl to 81 and I can join the battleground as a lvl 80 ...

mpfans commented 3 years ago

Yepp, that was it! MinLvl and MaxLvl to 81 and I can join the battleground as a lvl 80 ...

ok,This is a bug.

IntelligentQuantum commented 3 years ago

You can close BG with this command. .disable add battleground 1 0 Alterac Valley (battleground)