Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Fixes team selection panel and the resulting clan tag bug #262

Closed
wants to merge 1 commit into from

Conversation

Nobody-x
Copy link

As described in #245 I was facing this problem and tried to fix it.

Seems like in CS:GO when we block player_team event it prevent the team selection screen to close directly and we need to click a second time or to press Esc to hide it.

The side effect was to break the team tag feature but I found a workaround for that.

For the moment this fix is in test on my own community server.

@Nobody-x Nobody-x changed the title Fixes team selection panel and the resulting clan tag bug WIP: Fixes team selection panel and the resulting clan tag bug Apr 24, 2020
@Nobody-x
Copy link
Author

@splewis can you convert this PR to draft please ?

@splewis splewis marked this pull request as draft April 25, 2020 06:26
@splewis
Copy link
Owner

splewis commented Apr 25, 2020

Done.

@melkor217
Copy link

I've just tested your change with SourceMod Version: 1.10.0.6460. Team selection panel works just fine, but clang tag "Arena N" sometimes disappear for players.

@Nobody-x
Copy link
Author

I've just tested your change with SourceMod Version: 1.10.0.6460. Team selection panel works just fine, but clang tag "Arena N" sometimes disappear for players.

Yes I'm still working on it. When this solution fixed the clan tag problem in a local server, when I tested it on my community server the problem remains. I this is due to the player_team event and some engine timing I think (when a player join a team, the game code initialise some things and reset his clan tag after a short time).

Yesterday I tested another solution (Silent without blocking player_team event when player use the select menu but block it when the plugin change the player team) but unfortunately it didn't work 100% either. When a player manually join spec then go back in game again, he still have the selection menu bug.

I'm still testing some other ideas right now.

@crashzk
Copy link
Contributor

crashzk commented Jun 10, 2020

News, it would be good to at least solve the team selection error.

@iRonicro iRonicro mentioned this pull request Jun 14, 2020
@borzaka borzaka mentioned this pull request Jun 19, 2020
@Nobody-x
Copy link
Author

Hi there, some news.

I tried a lot of things but I didn't manage to fix all the related issues of this pull request.

While the team selection menu bug is the result of blocking player_team event, removing this logic introduce new bugs. The main bug is the clan tag that reflects the current player's arena which is override by the game with the player's clan tag.

When I tried to create small plugin with almost the same logic to assign clantag to a player, this worked perfectly. The only things I never tested is to reproduce the queuing system, and I think it can come from there. Maybe something with switching players into another (or the same) team without killing them.

This need more investigating and testing but I don't have more time to do it since I don't have an am server anymore to test on.

@crashzk
Copy link
Contributor

crashzk commented Jun 24, 2020

@Nobody-x if you want to proceed with these changes i would be happy to test on my server to see if everything goes well.

@crashzk
Copy link
Contributor

crashzk commented Oct 29, 2021

I believe you can refuse this PR and use #283

@splewis splewis closed this Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants