-
Notifications
You must be signed in to change notification settings - Fork 115
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
Halftime Team Switch #102
Comments
You probably want to set |
I did set it up in retakes.cfg. I can put whole configs here if you want. |
mp_halftime 1 does not work, tried sm_retakes_auto_set_teams 0. Sorry for my English. |
77bb2d3 is an attempted fix. You could test by downloaded a development build from https://ci.splewis.net/job/csgo-retakes/127/ and seeing if it works. (You just need to replace the addons/sourcemod/plugins/retakes.smx file) |
Try build 128. |
I've reverted the changes since my approach didn't work (77bb2d3 and a71fdb7). I'm probably not going to get around to fixing this anytime soon. If someone else wants to take a shot: the problem seems to be detecting that a halftime swap needs to happen before the round_announce_last_round_half like my attempt - teamlogic is done in the round_prestart event, but I think round_announce_last_round_half is called after that. |
My community hosted a retakes tournament recently, so I looked into the bug. I've fixed this and created a pull request! I also made a simple tournaments extension that adds commands like .ready and .pause, if anyone is interested in using it, keep an eye out @finalrespawn |
@clarkeyio Hey, You pull request doesnt work. On build 128 the same behaviour happens (teamswap on every round) and on build 129 there is no teamswap at all. My idea is - would it be really hard for @splewis to implement a config cvar, that disables the plugins player placement logic entirely, so other plugins (for example eBot) could take over. |
I'd love to have some sort of working form of this as a few of us are looking to setting up a retake ladder of some sort - I tried fixing it myself to no avail however :( |
@JesusWithPants https://github.com/splewis/csgo-retakes/blob/master/scripting/retakes.sp#L150 |
@JesusWithPants my pull request hasn't been accepted yet. If you know how to compile plugins use the fix. Make sure you set A retakes tournament extension will be released soon. It will be on the @finalrespawn organisation with simple functionality like selecting the number of players, .ready and .pause. Watch the repository for email notifications 😄 |
This entire thread is about a bug in that cvar. |
@clarkeyio I checked your fix on the @finalrespawn, it does not work I tested one. At first I started playing for CT. The first half went right. The second half of the game started, the first round I have the hands of the CT, and should be T. Next rounds I have the hands of T. The second time I started to play for T. The first half went right. The second half of the game began, the first round I have hands T, and should be CT. The next rounds have my CT hands, but I keep playing for T and laying the bomb. In both cases, writes that I'm in line, but I'm in the game, not in line. After 16 rounds the game does not end. I did not check overtime, but I do not think they work either. Forgive me for my English, I'm writing a translator through Google. |
Without knowing specifically what version is being tested, any test like the above isn't useful. If you're interested you can try build 131 (https://ci.splewis.net/job/csgo-retakes/131/) which should have this fixed - with the problem that player skins are likely wrong the first round after the half. I don't know if that's fixable easily. |
The bug @Useless39rus was talking about is a recently introduced bug that valve haven't fixed yet. It happens in matchmaking too. If you want expected behaviour while playing a tournament I would suggest setting |
@clarkeyio Cvar mp_match_can_clinch 1 was not added to me. Tonight evening after work I'll check and report the results. Thanks for your work. |
@splewis I'm very interested. I'll check build 131 in the evening after work. I will report the results. Thanks for your work. |
I fired build 131 a go and still getting the same issue with sides after half time - is there any way to allow a different mod, like warmod etc, to handle the team assignments? I gave warmod a go alongside it a few times and the spawn locations work fine with it, and (aslong as there's no knife round) it starts the game well too. Obviously only if it's easier that way, otherwise yea people are still stuck on teams for the first round of a second half. Edit Clarification: It's actually only the first round of the 2nd half that you are placed on the wrong team (you stay on the team you were on previously), after that first round it's placing me on the correct team and working fine - This was tested with me vs 1 friend |
@splewis There are two more problems to fix, if possible. I tested the plugin one |
@splewis You have done a very great job on this error. Please, do not stop. Let's finish it. |
@splewis Just tested with a friend plugin. Played 1 on 1, everything works correctly and without problems. And when I tested one, there were problems. |
Also during the game, T who had the bomb, went for a CT and the bomb is gone with him. T looking for a bomb, and she's already on the CT. |
The purpose of the
|
Any news with this issue/request? I would like to enable halftime switch with fixed (no autobalance, no any auto switch, user would stay where joined) teams with these settings:
Edit: well, it looks like it's working with the commands above! :) |
Hi splewis! I have a hard time trying to set up the server for 2v2 tournament. I installed your retake mod and pug mod too, I did configured both pretty well so now only ".ready" is necessary to start the retake, but my problem is to set up midgame teamswitch. I set up mp_halftime 15, but after the halftime only the result switches, players stay in the same team. Would it be possible to set it up or you have to update that part?
The text was updated successfully, but these errors were encountered: