splewis / csgo-retakes

CS:GO Sourcemod plugin for a site-retake gamemode
GNU General Public License v3.0
328 stars 115 forks source link

eBot and Backups/Overtime #115

Open JesusWithPants opened 7 years ago

JesusWithPants commented 7 years ago

Hi!

While running newest version of this mod in association with eBot there are couple of issues:

 1) Knife rounds doesnt work at all.
 2) Upon launching the backup function for round restart the teams are reversed. (I.E CTs are now Ts while Ts are now CTs, but score is in the old places).
 3) Overtime scoring and player placement is reversed.
splewis commented 7 years ago

That's because retakes is managing teams / weapons and has no notion of knife rounds and has its own algorithm for team placement.

I guess the plugin could have a lightweight mode where all it does is adjust spawns & give weapons (kind of like how setting sm_retakes_auto_set_teams 0 is meant to remove the team placement algorithm), but I have no plans to work on that (or anything involving retakes).

JesusWithPants commented 7 years ago

Any idea how to disable the team placement in code?

Where specificly I should look, or for what variables in code should I look out for?

EDIT: For thouse who are facing the same exact issue: HookEvent("announce_phase_end", Event_HalfTime);

Apperantly calling in backup also triggers "announce_phase_end" which causes team flip. Currently working on fix.

borzaka commented 6 years ago

Set sm_retakes_auto_set_teams to 0

Whether retakes is allowed to automanage team balance

You can also try setting mp_halftime to 1