splewis / csgo-pug-setup

CS:GO Sourcemod plugin for setting up private pug/10man games
GNU General Public License v3.0
412 stars 90 forks source link

Players frozen in spawns after match end #173

Closed luckykev closed 7 years ago

luckykev commented 7 years ago

Expected behavior

At the end of a match there is a countdown. After the countdown, the round should restart and the game should go back into warmup mode (re spawn on death, free to move/shoot)

Actual behavior

Sometimes (~20% of matches so far), after the end of match countdown, the round restarts but players are stuck in their spawns with constant immunity (they can't move and they're transparent/immune). The ready-up system still seems to function, though.

EDIT: This has been happening a lot more often recently, up to like 75% of matches.

Fix so far has been to change the map. Setting mp_match_end_restart 0 does not fix. Still happens after some games.

Steps to reproduce

Nothing noteworthy.

luckykev commented 7 years ago

Still seeing this issue over and over... @splewis @technoblazed

Technoblazed commented 7 years ago

Looking into a patch at the minute.

splewis commented 7 years ago

Without any reproduction steps there's not much I can do. I've never seen this in ~hundreds of games using this plugin with the default settings/configs provided.

Are you running other plugins? Changing any cvars? I'd suspect anything warmup/freezetime related based on your description.

luckykev commented 7 years ago

@splewis At the time the issue began, no, I hadn't been running other plugins. @Technoblazed has seen this issue as well before.

luckykev commented 7 years ago

@splewis @Technoblazed Looks like I had mp_match_restart_delay set to 15 and that may have been interfering with the timings of the plugin.

I returned mp_match_restart_delay to 30 like in the default live.cfg and no issues so far.

Will keep this thread updated...

luckykev commented 7 years ago

Was working fine for several games after extending the restart delays to default pugsetup, but just happened two games in a row where at the end of the game, in the middle of the winpanel timeleft countdown, it went into captain-picking-teams mode... hence the getting stuck in spawn with immunity

There have been no changes between when it wasn't happening and when it just started happening again. Maybe it's when I force captain selection at the beginning of a match by typing .capt? Because that's the only thing I can think of that may be different from game to game...

luckykev commented 7 years ago

Fixed by creating a separate postgame cfg with sm_forceend in it

NotRuben commented 2 months ago

Fixed by creating a separate postgame cfg with sm_forceend in it

how exactly did you add this into the server? and how did you tell it went to exacute the file?

NotRuben commented 2 months ago

under pugsetup.cfg
sm_pugsetup_postgame_cfg

made a new cfg file named it forceend.cfg in that file add sm_forceend edit pugsetup.cfg

// Config to execute after games finish; should be in the csgo/cfg directory. // - // Default: "sourcemod/pugsetup/warmup.cfg" sm_pugsetup_postgame_cfg "sourcemod/pugsetup/forceend.cfg"

NotRuben commented 2 months ago

under pugsetup.cfg sm_pugsetup_postgame_cfg

made a new cfg file named it forceend.cfg in that file add sm_forceend edit pugsetup.cfg

// Config to execute after games finish; should be in the csgo/cfg directory. // - // Default: "sourcemod/pugsetup/warmup.cfg" sm_pugsetup_postgame_cfg "sourcemod/pugsetup/forceend.cfg"

Nvm this didn't fix for me