haxball / haxball-issues

114 stars 42 forks source link

2 Def Blocking Error #1517

Open Obsesiff66 opened 2 years ago

Obsesiff66 commented 2 years ago

Hİ , We brought some def measures on 2v 2 maps and 3 v3 maps In v3, 2 people will enter, 1 person will not be able to enter 2 v2, 1 person will enter, 1 person will not be able to enter There was no problem with the v3 defense rule But there was a problem in 2v2 In the Wazarr94 bot, the v1 and v2 maps are the same, represented in a single map variable. There is a problem here. When 1 person is on the defensive and 1 person is on the attack, the attacker will not be on the defensive. But when a person leaves, instead of painting a bot, it provides a 1v1 environment by simply taking the player from the team. The offensive player will want to go back to the defense, but when there is 1 player in the 2 def measure and 1 v1 remains, when she wants to go back, she will encounter that measure and cannot go back, which creates a problem. How do we solve this problem?

https://user-images.githubusercontent.com/84579509/144121168-7364f567-ed7d-4dfd-9f32-6bf97e680a05.mp4

ghost commented 2 years ago

Hİ , We brought some def measures on 2v 2 maps and 3 v3 maps In v3, 2 people will enter, 1 person will not be able to enter 2 v2, 1 person will enter, 1 person will not be able to enter There was no problem with the v3 defense rule But there was a problem in 2v2 In the Wazarr94 bot, the v1 and v2 maps are the same, represented in a single map variable. There is a problem here. When 1 person is on the defensive and 1 person is on the attack, the attacker will not be on the defensive. But when a person leaves, instead of painting a bot, it provides a 1v1 environment by simply taking the player from the team. The offensive player will want to go back to the defense, but when there is 1 player in the 2 def measure and 1 v1 remains, when she wants to go back, she will encounter that measure and cannot go back, which creates a problem. How do we solve this problem?

3.def.alwush.mp4

Hello, you can solve this problem simply as follows:

You can open a different map to the bot while the game is 1v1. There will be no defensive barrier lines on this map. But if you don't want that, you can set your defense blocking system to not work when the game is 1v1.