splewis / get5

CS:GO Sourcemod plugin for competitive matches/scrims
GNU General Public License v3.0
557 stars 176 forks source link

Swap and stay maybe is switched #948

Closed EllyssonMike closed 1 year ago

EllyssonMike commented 1 year ago

After knife round, typing !swap don't swap and is staying on team and typing !stay is swapping the team. And on both cases the team winner is wrong after the match is finished.

Expected behavior

Swap team as expected

Actual behavior

!swap command keep changes the team, execute something but not change the team. !stay command is swapping the team.

On both cases after match is finished, the team winner on match stats is wrong.

Steps to reproduce

Make a competitive match, join on server and start the knife round. Finish the round and after it, type !swap. Something happens, appears the player was swapped but not.

After match ended look at matchstats and see the wrong team is setted as winner and the score is increased on loser team.

nickdnk commented 1 year ago

I cannot reproduce this and we have had no other reports of this, and I know 0.11 is being used a lot.

Can you please post:

Server logs when you type !swap or !stay, preferably with get5_debug 1 set. Output of sm plugins list Debug dump: get5_debuginfo (after loading the match config: https://splewis.github.io/get5/latest/commands/#get5_debuginfo)

EllyssonMike commented 1 year ago

I'm downgrading to 0.10.5 and I will reproduce the same steps to tests and I will do what you described and post here. Thanks for reply.

EllyssonMike commented 1 year ago

I'm downgrading to 0.10.5 and I will reproduce the same steps to tests and I will do what you described and post here. Thanks for reply.

After the tests, the same thing with my configs. My configs are wrong in some part. Has one configuration that can do this? I've replaced the configs to defaults and works normally. I don't know what config it's causing it.

nickdnk commented 1 year ago

Post your match config file as well as your warmup, knife and live configs.

EllyssonMike commented 1 year ago

match_config.json

{
  "clinch_series": true,
  "num_maps": 1,
  "players_per_team": 5,
  "coaches_per_team": 1,
  "min_players_to_ready": 5,
  "min_spectators_to_ready": 0,
  "skip_veto": true,
  "veto_first": "team1",
  "side_type": "always_knife",
  "map_sides": [
    "knife",
    "team1_ct",
    "team2_ct",
    "team1_ct",
    "team2_ct"
  ],
  "matchid": "98eacd45-cb03-4a70-abc0-2ba535fa61b4",
  "match_title": "Competitive Match - Blue vs Red",
  "maplist": [
    "de_dust2"
  ],
  "spectators": {
    "name": "Spectators",
    "players": {}
  },
  "team1": {
    "name": "Time azul",
    "tag": "AZUL •",
    "flag": "Blue",
    "logo": "none",
    "players": {
      "76561198087462305": "ellyssonmike",
      "76561198119834327": "NYKramer",
      "76561199404877515": "juanpbhub",
      "76561198107081866": "dev20",
      "76561199403364305": "Bruna"
    },
    "coaches": {}
  },
  "team2": {
    "name": "Time vermelho",
    "tag": "VERMELHO •",
    "flag": "Red",
    "logo": "none",
    "players": {
      "76561199024453497": "pedro",
      "76561198342689394": "ceifadordourado",
      "76561198343199757": "Marrquito",
      "76561199387128763": "KalinyPbhub",
      "76561198068561994": "ellyssonmiike"
    },
    "coaches": {}
  },
  "cvars": {
    "hostname": "Get5 Competitive Match",
    "sm_practicemode_can_be_started": "0"
  }
}

warmup.cfg

bot_kick
bot_quota 0
mp_autokick 0
mp_autoteambalance 0
mp_buy_anywhere 0
mp_buytime 15
mp_death_drop_gun 0
mp_free_armor 0
mp_ignore_round_win_conditions 0
mp_limitteams 0
mp_radar_showall 0
mp_respawn_on_death_ct 0
mp_respawn_on_death_t 0
mp_solid_teammates 0
mp_spectators_max 20
mp_startmoney 16000
mp_timelimit 0
sv_alltalk 1
sv_auto_full_alltalk_during_warmup_half_end 1
sv_coaching_enabled 0
sv_competitive_official_5v5 1
sv_deadtalk 1
sv_full_alltalk 1
sv_grenade_trajectory 0
sv_hibernate_when_empty 0
sv_infinite_ammo 0
sv_showimpacts 0
sv_voiceenable 1
tv_relayvoice 0
sv_cheats 0

knife.cfg

mp_ct_default_secondary ""
mp_free_armor 1
mp_freezetime 10
mp_give_player_c4 0
mp_maxmoney 0
mp_respawn_immunitytime 0
mp_respawn_on_death_ct 0
mp_respawn_on_death_t 0
mp_roundtime 1.50
mp_roundtime_defuse 1.92
mp_roundtime_hostage 1.92
mp_t_default_secondary ""
mp_round_restart_delay 3

live.cfg

ammo_grenade_limit_default 1
ammo_grenade_limit_flashbang 2
ammo_grenade_limit_total 4
bot_kick
bot_quota 0
mp_afterroundmoney 0
mp_autokick 0
mp_autoteambalance 0
mp_backup_restore_load_autopause 0
mp_backup_round_auto 1
mp_buytime 15
mp_c4timer 40
mp_ct_default_secondary "weapon_hkp2000"
mp_death_drop_gun 1
mp_endmatch_votenextmap 0
mp_free_armor 0
mp_freezetime 3
mp_friendlyfire 0
mp_give_player_c4 1
mp_halftime_duration 5
mp_halftime_pausetimer 0
mp_ignore_round_win_conditions 0
mp_limitteams 0
mp_match_end_restart 1
mp_maxmoney 16000
mp_maxrounds 3
mp_overtime_enable 1
mp_overtime_halftime_pausetimer 0
mp_overtime_maxrounds 6
mp_overtime_startmoney 10000
mp_respawn_immunitytime 0
mp_respawn_on_death_ct 0
mp_respawn_on_death_t 0
mp_round_restart_delay 5
mp_roundtime 1.92
mp_roundtime_defuse 1.92
mp_roundtime_hostage 1.92
mp_solid_teammates 1
mp_starting_losses 1
mp_startmoney 800
mp_t_default_secondary "weapon_glock"
mp_timelimit 0
spec_freeze_deathanim_time 0
spec_freeze_panel_extended_time 0
spec_freeze_time 2
spec_freeze_time_lock 2
sv_allow_votes 0
sv_auto_full_alltalk_during_warmup_half_end 0
sv_coaching_enabled 0
sv_competitive_official_5v5 1
sv_damage_print_enable 0
sv_deadtalk 0
sv_hibernate_postgame_delay 300
sv_holiday_mode 0
sv_talk_enemy_dead 0
sv_talk_enemy_living 0
sv_voiceenable 1
tv_relayvoice 0
EllyssonMike commented 1 year ago

And this is the match stats file generated on this match.

"Stats"
{
        "series_type"           "bo1"
        "team1_name"            "Time azul"
        "team2_name"            "Time vermelho"
        "map0"
        {
                "team2"
                {
                        "76561199387128763"
                        {
                                "name"          "KalinyPbhub"
                                "coaching"              "0"
                                "kills"         "1"
                                "deaths"                "1"
                                "assists"               "0"
                                "flashbang_assists"             "0"
                                "teamkills"             "0"
                                "suicides"              "0"
                                "damage"                "100"
                                "util_damage"           "0"
                                "enemies_flashed"               "0"
                                "friendlies_flashed"            "0"
                                "knife_kills"           "0"
                                "headshot_kills"                "1"
                                "roundsplayed"          "2"
                                "bomb_defuses"          "0"
                                "bomb_plants"           "0"
                                "1kill_rounds"          "1"
                                "2kill_rounds"          "0"
                                "3kill_rounds"          "0"
                                "4kill_rounds"          "0"
                                "5kill_rounds"          "0"
                                "v1"            "0"
                                "v2"            "0"
                                "v3"            "0"
                                "v4"            "0"
                                "v5"            "0"
                                "firstkill_t"           "0"
                                "firstkill_ct"          "0"
                                "firstdeath_t"          "0"
                                "firstdeath_ct"         "0"
                                "tradekill"             "0"
                                "kast"          "2"
                                "contribution_score"            "2"
                                "mvp"           "0"
                                "init"          "1"
                        }
                        "76561199024453497"
                        {
                                "name"          "pedro"
                                "coaching"              "0"
                                "kills"         "3"
                                "deaths"                "0"
                                "assists"               "0"
                                "flashbang_assists"             "0"
                                "teamkills"             "0"
                                "suicides"              "0"
                                "damage"                "251"
                                "util_damage"           "0"
                                "enemies_flashed"               "0"
                                "friendlies_flashed"            "0"
                                "knife_kills"           "0"
                                "headshot_kills"                "1"
                                "roundsplayed"          "2"
                                "bomb_defuses"          "0"
                                "bomb_plants"           "0"
                                "1kill_rounds"          "0"
                                "2kill_rounds"          "0"
                                "3kill_rounds"          "1"
                                "4kill_rounds"          "0"
                                "5kill_rounds"          "0"
                                "v1"            "0"
                                "v2"            "0"
                                "v3"            "0"
                                "v4"            "0"
                                "v5"            "0"
                                "firstkill_t"           "0"
                                "firstkill_ct"          "0"
                                "firstdeath_t"          "0"
                                "firstdeath_ct"         "0"
                                "tradekill"             "0"
                                "kast"          "2"
                                "contribution_score"            "7"
                                "mvp"           "1"
                                "init"          "1"
                        }
                        "76561198068561994"
                        {
                                "name"          "ellyssonmiike"
                                "coaching"              "0"
                                "kills"         "0"
                                "deaths"                "0"
                                "assists"               "0"
                                "flashbang_assists"             "0"
                                "teamkills"             "0"
                                "suicides"              "0"
                                "damage"                "0"
                                "util_damage"           "0"
                                "enemies_flashed"               "0"
                                "friendlies_flashed"            "0"
                                "knife_kills"           "0"
                                "headshot_kills"                "0"
                                "roundsplayed"          "2"
                                "bomb_defuses"          "0"
                                "bomb_plants"           "0"
                                "1kill_rounds"          "0"
                                "2kill_rounds"          "0"
                                "3kill_rounds"          "0"
                                "4kill_rounds"          "0"
                                "5kill_rounds"          "0"
                                "v1"            "0"
                                "v2"            "0"
                                "v3"            "0"
                                "v4"            "0"
                                "v5"            "0"
                                "firstkill_t"           "0"
                                "firstkill_ct"          "0"
                                "firstdeath_t"          "0"
                                "firstdeath_ct"         "0"
                                "tradekill"             "0"
                                "kast"          "2"
                                "contribution_score"            "1"
                                "mvp"           "0"
                                "init"          "1"
                        }
                        "76561198343199757"
                        {
                                "name"          "Marrquito"
                                "coaching"              "0"
                                "kills"         "5"
                                "deaths"                "0"
                                "assists"               "1"
                                "flashbang_assists"             "0"
                                "teamkills"             "0"
                                "suicides"              "0"
                                "damage"                "513"
                                "util_damage"           "0"
                                "enemies_flashed"               "0"
                                "friendlies_flashed"            "0"
                                "knife_kills"           "0"
                                "headshot_kills"                "4"
                                "roundsplayed"          "2"
                                "bomb_defuses"          "1"
                                "bomb_plants"           "0"
                                "1kill_rounds"          "0"
                                "2kill_rounds"          "1"
                                "3kill_rounds"          "1"
                                "4kill_rounds"          "0"
                                "5kill_rounds"          "0"
                                "v1"            "0"
                                "v2"            "0"
                                "v3"            "0"
                                "v4"            "0"
                                "v5"            "0"
                                "firstkill_t"           "1"
                                "firstkill_ct"          "1"
                                "firstdeath_t"          "0"
                                "firstdeath_ct"         "0"
                                "tradekill"             "0"
                                "kast"          "2"
                                "contribution_score"            "15"
                                "mvp"           "1"
                                "init"          "1"
                        }
                        "76561198342689394"
                        {
                                "name"          "ceifadordourado"
                                "coaching"              "0"
                                "kills"         "0"
                                "deaths"                "0"
                                "assists"               "0"
                                "flashbang_assists"             "0"
                                "teamkills"             "0"
                                "suicides"              "0"
                                "damage"                "36"
                                "util_damage"           "0"
                                "enemies_flashed"               "0"
                                "friendlies_flashed"            "0"
                                "knife_kills"           "0"
                                "headshot_kills"                "0"
                                "roundsplayed"          "2"
                                "bomb_defuses"          "0"
                                "bomb_plants"           "0"
                                "1kill_rounds"          "0"
                                "2kill_rounds"          "0"
                                "3kill_rounds"          "0"
                                "4kill_rounds"          "0"
                                "5kill_rounds"          "0"
                                "v1"            "0"
                                "v2"            "0"
                                "v3"            "0"
                                "v4"            "0"
                                "v5"            "0"
                                "firstkill_t"           "0"
                                "firstkill_ct"          "0"
                                "firstdeath_t"          "0"
                                "firstdeath_ct"         "0"
                                "tradekill"             "0"
                                "kast"          "2"
                                "contribution_score"            "1"
                                "mvp"           "0"
                                "init"          "1"
                        }
                        "score"         "0"
                }
                "team1"
                {
                        "76561198087462305"
                        {
                                "name"          "ellyssonmike"
                                "coaching"              "0"
                                "kills"         "0"
                                "deaths"                "2"
                                "assists"               "0"
                                "flashbang_assists"             "0"
                                "teamkills"             "0"
                                "suicides"              "0"
                                "damage"                "0"
                                "util_damage"           "0"
                                "enemies_flashed"               "0"
                                "friendlies_flashed"            "0"
                                "knife_kills"           "0"
                                "headshot_kills"                "0"
                                "roundsplayed"          "2"
                                "bomb_defuses"          "0"
                                "bomb_plants"           "0"
                                "1kill_rounds"          "0"
                                "2kill_rounds"          "0"
                                "3kill_rounds"          "0"
                                "4kill_rounds"          "0"
                                "5kill_rounds"          "0"
                                "v1"            "0"
                                "v2"            "0"
                                "v3"            "0"
                                "v4"            "0"
                                "v5"            "0"
                                "firstkill_t"           "0"
                                "firstkill_ct"          "0"
                                "firstdeath_t"          "0"
                                "firstdeath_ct"         "0"
                                "tradekill"             "0"
                                "kast"          "0"
                                "contribution_score"            "0"
                                "mvp"           "0"
                                "init"          "1"
                        }
                        "76561199403364305"
                        {
                                "name"          "Bruna"
                                "coaching"              "0"
                                "kills"         "0"
                                "deaths"                "2"
                                "assists"               "0"
                                "flashbang_assists"             "0"
                                "teamkills"             "0"
                                "suicides"              "0"
                                "damage"                "0"
                                "util_damage"           "0"
                                "enemies_flashed"               "0"
                                "friendlies_flashed"            "0"
                                "knife_kills"           "0"
                                "headshot_kills"                "0"
                                "roundsplayed"          "2"
                                "bomb_defuses"          "0"
                                "bomb_plants"           "0"
                                "1kill_rounds"          "0"
                                "2kill_rounds"          "0"
                                "3kill_rounds"          "0"
                                "4kill_rounds"          "0"
                                "5kill_rounds"          "0"
                                "v1"            "0"
                                "v2"            "0"
                                "v3"            "0"
                                "v4"            "0"
                                "v5"            "0"
                                "firstkill_t"           "0"
                                "firstkill_ct"          "0"
                                "firstdeath_t"          "0"
                                "firstdeath_ct"         "0"
                                "tradekill"             "0"
                                "kast"          "0"
                                "contribution_score"            "0"
                                "mvp"           "0"
                                "init"          "1"
                        }
                        "76561199404877515"
                        {
                                "name"          "juanpbhub"
                                "coaching"              "0"
                                "kills"         "0"
                                "deaths"                "2"
                                "assists"               "1"
                                "flashbang_assists"             "0"
                                "teamkills"             "0"
                                "suicides"              "0"
                                "damage"                "60"
                                "util_damage"           "0"
                                "enemies_flashed"               "0"
                                "friendlies_flashed"            "0"
                                "knife_kills"           "0"
                                "headshot_kills"                "0"
                                "roundsplayed"          "2"
                                "bomb_defuses"          "0"
                                "bomb_plants"           "0"
                                "1kill_rounds"          "0"
                                "2kill_rounds"          "0"
                                "3kill_rounds"          "0"
                                "4kill_rounds"          "0"
                                "5kill_rounds"          "0"
                                "v1"            "0"
                                "v2"            "0"
                                "v3"            "0"
                                "v4"            "0"
                                "v5"            "0"
                                "firstkill_t"           "0"
                                "firstkill_ct"          "0"
                                "firstdeath_t"          "0"
                                "firstdeath_ct"         "1"
                                "tradekill"             "0"
                                "kast"          "1"
                                "contribution_score"            "1"
                                "mvp"           "0"
                                "init"          "1"
                        }
                        "76561198119834327"
                        {
                                "name"          "NYKramer"
                                "coaching"              "0"
                                "kills"         "1"
                                "deaths"                "1"
                                "assists"               "0"
                                "flashbang_assists"             "0"
                                "teamkills"             "0"
                                "suicides"              "0"
                                "damage"                "56"
                                "util_damage"           "0"
                                "enemies_flashed"               "0"
                                "friendlies_flashed"            "0"
                                "knife_kills"           "0"
                                "headshot_kills"                "0"
                                "roundsplayed"          "2"
                                "bomb_defuses"          "0"
                                "bomb_plants"           "1"
                                "1kill_rounds"          "1"
                                "2kill_rounds"          "0"
                                "3kill_rounds"          "0"
                                "4kill_rounds"          "0"
                                "5kill_rounds"          "0"
                                "v1"            "0"
                                "v2"            "0"
                                "v3"            "0"
                                "v4"            "0"
                                "v5"            "0"
                                "firstkill_t"           "0"
                                "firstkill_ct"          "0"
                                "firstdeath_t"          "0"
                                "firstdeath_ct"         "0"
                                "tradekill"             "0"
                                "kast"          "1"
                                "contribution_score"            "4"
                                "mvp"           "0"
                                "init"          "1"
                        }
                        "76561198107081866"
                        {
                                "name"          "dev20"
                                "coaching"              "0"
                                "kills"         "0"
                                "deaths"                "2"
                                "assists"               "0"
                                "flashbang_assists"             "0"
                                "teamkills"             "0"
                                "suicides"              "0"
                                "damage"                "8"
                                "util_damage"           "0"
                                "enemies_flashed"               "0"
                                "friendlies_flashed"            "0"
                                "knife_kills"           "0"
                                "headshot_kills"                "0"
                                "roundsplayed"          "2"
                                "bomb_defuses"          "0"
                                "bomb_plants"           "0"
                                "1kill_rounds"          "0"
                                "2kill_rounds"          "0"
                                "3kill_rounds"          "0"
                                "4kill_rounds"          "0"
                                "5kill_rounds"          "0"
                                "v1"            "0"
                                "v2"            "0"
                                "v3"            "0"
                                "v4"            "0"
                                "v5"            "0"
                                "firstkill_t"           "0"
                                "firstkill_ct"          "0"
                                "firstdeath_t"          "1"
                                "firstdeath_ct"         "0"
                                "tradekill"             "0"
                                "kast"          "0"
                                "contribution_score"            "0"
                                "mvp"           "0"
                                "init"          "1"
                        }
                        "score"         "2"
                }
                "mapname"               "de_dust2"
                "winner"                "team1"
        }
        "winner"                "team1"
}
nickdnk commented 1 year ago

I can't tell if that match stats is wrong.

You say "I've replaced the configs to defaults and works normally" - so you don't have the problem anymore? The configs you posted are the ones that don't work, I assume?

Can you post sm plugins list and get5_debuginfo output when the game is running. Nothing you posted looks incorrect to me.

EllyssonMike commented 1 year ago

Yes, its working fine with default configs. But I guess that some other config are wrong, I will start the game again with bugged config and post the results, please wait.

EllyssonMike commented 1 year ago

sm plugins list image

I will start the game now.

EllyssonMike commented 1 year ago

get5_debuginfo

Time: 11/29/2022 - 02:04:44
Plugin version: 0.11.0-dev
sourcemod_version = 1.11.0.6916
metamod_version = 1.12.0-dev+1163V

Global state:
g_GameState = 0 (none)
g_MatchID = 
g_RoundNumber = 1
g_MapsToWin = 1
g_LastVetoTeam = 1
g_MapPoolList (length 1) = 
  [0] -> de_dust2
g_MapsToPlay (length 1) = 
  [0] -> de_dust2
g_MapsLeftInVetoPool (length 1) = 
  [0] -> de_dust2
Defined map sides:
g_MapSides(0) = team1_t
g_MapSides(1) = team1_ct
g_MapSides(2) = team1_t
g_MapSides(3) = team1_ct
g_MapSides(4) = team1_t
g_MatchTitle = [ 5X5 ] dsadsa
g_PlayersPerTeam = 1
g_CoachesPerTeam = 1
g_MinPlayersToReady = 1
g_MinSpectatorsToReady = 0
g_SkipVeto = 1
g_MatchSideType = 1
g_InScrimMode = 0
g_SeriesCanClinch = 1
g_HasKnifeRoundStarted = 0
g_MapChangePending = 0
g_PendingSideSwap = 0
g_DoingBackupRestoreNow = 0
g_ReadyTimeWaitingUsed = 32
g_PausingTeam = 3
g_PauseType = 0
g_LatestPauseDuration = 0
g_PendingSurrenderTeam = 3
Team info for team1 (0):
g_TeamNames = Time azul
g_TeamPlayers (length 1) = 
  [0] -> 76561198068561994
g_TeamTags = AZUL •
g_FormattedTeamNames = {LIGHT_BLUE}Time azul{NORMAL}
g_TeamFlags = Blue
g_TeamLogos = none
g_TeamMatchTexts = 
g_SurrenderVotes = 0
g_TeamSide = CT (3)
g_TeamSeriesScores = 0
g_TeamReadyOverride = 0
g_TeamStartingSide = 2
g_TacticalPauseTimeUsed = 0
g_TacticalPausesUsed = 0
g_TechnicalPausesUsed = 0
g_TeamGivenStopCommand = 0
g_TeamCoaches (length 0) = 
Team info for team2 (1):
g_TeamNames = Time vermelho
g_TeamPlayers (length 1) = 
  [0] -> 76561198087462305
g_TeamTags = VERMELHO •
g_FormattedTeamNames = {LIGHT_RED}Time vermelho{NORMAL}
g_TeamFlags = Red
g_TeamLogos = none
g_TeamMatchTexts = 
g_SurrenderVotes = 0
g_TeamSide = T (2)
g_TeamSeriesScores = 1
g_TeamReadyOverride = 0
g_TeamStartingSide = 3
g_TacticalPauseTimeUsed = 0
g_TacticalPausesUsed = 0
g_TechnicalPausesUsed = 0
g_TeamGivenStopCommand = 0
g_TeamCoaches (length 0) = 
Team info for spec (2):
g_TeamNames = UChallenger Spectators
g_TeamPlayers (length 0) = 
g_TeamTags = 
g_FormattedTeamNames = {NORMAL}UChallenger Spectators{NORMAL}
g_TeamFlags = 
g_TeamLogos = 
g_TeamMatchTexts = 
g_SurrenderVotes = 0
g_TeamSide = none (0)
g_TeamSeriesScores = 0
g_TeamReadyOverride = 0
g_TeamStartingSide = 0
g_TacticalPauseTimeUsed = 0
g_TacticalPausesUsed = 0
g_TechnicalPausesUsed = 0
g_TeamGivenStopCommand = 0
g_TeamCoaches (length 0) = 
Team info for none (3):
g_TeamNames = 
g_TeamPlayers (length 0) = 
g_TeamTags = 
g_FormattedTeamNames = 
g_TeamFlags = 
g_TeamLogos = 
g_TeamMatchTexts = 
g_SurrenderVotes = 0
g_TeamSide = none (0)
g_TeamSeriesScores = 0
g_TeamReadyOverride = 0
g_TeamStartingSide = 0
g_TacticalPauseTimeUsed = 0
g_TacticalPausesUsed = 0
g_TechnicalPausesUsed = 0
g_TeamGivenStopCommand = 0
g_TeamCoaches (length 0) = 

Interesting cvars:
get5_allow_technical_pause = 1
get5_autoload_config = 
get5_auto_ready_active_players = 0
get5_check_auths = 1
get5_fixed_pause_time = 0
get5_kick_when_no_match_loaded = 0
get5_live_cfg = get5/live.cfg
get5_tech_pause_time = 0
get5_max_pause_time = 120
get5_max_pauses = 2
get5_max_tech_pauses = 2
get5_pause_on_veto = 0
get5_pausing_enabled = 1
get5_print_damage = 0
get5_print_damage_excess = 0
get5_damageprint_format = - [{KILL_TO}] ({DMG_TO} in {HITS_TO}) to [{KILL_FROM}] ({DMG_FROM} in {HITS_FROM}) from {NAME} ({HEALTH} HP)
get5_reset_pauses_each_half = 0
get5_web_api_url = NULL CVAR
get5_last_backup_file = get5_backup0_match995025c1-204b-4f49-b9f4-d672489132cb_map0_round1.cfg
mp_freezetime = 3
mp_halftime = 1
mp_halftime_duration = 5
mp_halftime_pausetimer = 0
mp_match_end_restart = 1
mp_maxrounds = 3
mp_overtime_enable = 1
mp_overtime_halftime_pausetimer = 0
mp_overtime_maxrounds = 6
mp_round_restart_delay = 5
mp_timelimit = 0
mp_warmup_pausetimer = 0
mp_warmuptime_all_players_connected = 0
sv_coaching_enabled = 0
tv_delay = 10
tv_enable = 0

Last log info from addons/sourcemod/logs/errors_20221129.log:
L 11/29/2022 - 02:02:06: [get5.smx] Demo recording will not work with "tv_enable 0". Set "tv_enable 1" and restart the map to fix this.
L 11/29/2022 - 02:02:06: Info (map "de_dust2") (file "/srv/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221129.log")
L 11/29/2022 - 02:02:06: SourceMod error session started
L 11/29/2022 - 02:01:30: Error log file session closed.
L 11/29/2022 - 01:58:24: [get5.smx] Error in locating file resource/flash/econ/tournaments/teams/none.png. Please ensure the file exists on your game server.
L 11/29/2022 - 01:58:24: [get5.smx] Error in locating file resource/flash/econ/tournaments/teams/none.png. Please ensure the file exists on your game server.
L 11/29/2022 - 01:58:24: Info (map "de_dust2") (file "/srv/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221129.log")
L 11/29/2022 - 01:58:24: SourceMod error session started
L 11/29/2022 - 01:46:23: Error log file session closed.
L 11/29/2022 - 01:38:54: [get5.smx] Demo recording will not work with "tv_enable 0". Set "tv_enable 1" and restart the map to fix this.
L 11/29/2022 - 01:38:54: Info (map "de_dust2") (file "/srv/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221129.log")
L 11/29/2022 - 01:38:54: SourceMod error session started
L 11/29/2022 - 01:38:01: Error log file session closed.
L 11/29/2022 - 01:37:54: [get5.smx] Error in locating file resource/flash/econ/tournaments/teams/none.png. Please ensure the file exists on your game server.
L 11/29/2022 - 01:37:54: [get5.smx] Error in locating file resource/flash/econ/tournaments/teams/none.png. Please ensure the file exists on your game server.
L 11/29/2022 - 01:37:54: Info (map "de_train") (file "/srv/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221129.log")
L 11/29/2022 - 01:37:54: SourceMod error session started
L 11/29/2022 - 01:32:46: Error log file session closed.
L 11/29/2022 - 01:28:02: [get5.smx] Demo recording will not work with "tv_enable 0". Set "tv_enable 1" and restart the map to fix this.
L 11/29/2022 - 01:28:02: Info (map "de_dust2") (file "/srv/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221129.log")
L 11/29/2022 - 01:28:02: SourceMod error session started
L 11/29/2022 - 01:27:02: Error log file session closed.
L 11/29/2022 - 01:26:55: [get5.smx] Error in locating file resource/flash/econ/tournaments/teams/none.png. Please ensure the file exists on your game server.
L 11/29/2022 - 01:26:55: [get5.smx] Error in locating file resource/flash/econ/tournaments/teams/none.png. Please ensure the file exists on your game server.
L 11/29/2022 - 01:26:55: Info (map "de_train") (file "/srv/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221129.log")
L 11/29/2022 - 01:26:55: SourceMod error session started
L 11/29/2022 - 01:18:35: Error log file session closed.
L 11/29/2022 - 01:15:59: [get5.smx] Demo recording will not work with "tv_enable 0". Set "tv_enable 1" and restart the map to fix this.
L 11/29/2022 - 01:15:59: Info (map "de_dust2") (file "/srv/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221129.log")
L 11/29/2022 - 01:15:59: SourceMod error session started
L 11/29/2022 - 01:14:52: Error log file session closed.
L 11/29/2022 - 01:14:45: [get5.smx] Error in locating file resource/flash/econ/tournaments/teams/none.png. Please ensure the file exists on your game server.
L 11/29/2022 - 01:14:45: [get5.smx] Error in locating file resource/flash/econ/tournaments/teams/none.png. Please ensure the file exists on your game server.
L 11/29/2022 - 01:14:45: Info (map "de_train") (file "/srv/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221129.log")
L 11/29/2022 - 01:14:45: SourceMod error session started
L 11/29/2022 - 01:10:40: Error log file session closed.
L 11/29/2022 - 01:07:23: [get5.smx] Demo recording will not work with "tv_enable 0". Set "tv_enable 1" and restart the map to fix this.
L 11/29/2022 - 01:07:23: Info (map "de_dust2") (file "/srv/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221129.log")
L 11/29/2022 - 01:07:23: SourceMod error session started
L 11/29/2022 - 01:05:54: Error log file session closed.
L 11/29/2022 - 01:05:47: [get5.smx] Error in locating file resource/flash/econ/tournaments/teams/none.png. Please ensure the file exists on your game server.
L 11/29/2022 - 01:05:47: [get5.smx] Error in locating file resource/flash/econ/tournaments/teams/none.png. Please ensure the file exists on your game server.
L 11/29/2022 - 01:05:47: Info (map "de_train") (file "/srv/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221129.log")
L 11/29/2022 - 01:05:47: SourceMod error session started

sm plugins list:
basecommands.smx: Basic Commands by AlliedModders LLC: Basic Admin Commands (1.11.0.6916, http://www.sourcemod.net/)
basecomm.smx: Basic Comm Control by AlliedModders LLC: Provides methods of controlling communication. (1.11.0.6916, http://www.sourcemod.net/)
adminhelp.smx: Admin Help by AlliedModders LLC: Display command information (1.11.0.6916, http://www.sourcemod.net/)
clientprefs.smx: Client Preferences by AlliedModders LLC: Client preferences and settings menu (1.11.0.6916, http://www.sourcemod.net/)
playercommands.smx: Player Commands by AlliedModders LLC: Misc. Player Commands (1.11.0.6916, http://www.sourcemod.net/)
admin-flatfile.smx: Admin File Reader by AlliedModders LLC: Reads admin files (1.11.0.6916, http://www.sourcemod.net/)
nextmap.smx: Nextmap by AlliedModders LLC: Provides nextmap and sm_nextmap (1.11.0.6916, http://www.sourcemod.net/)
antiflood.smx: Anti-Flood by AlliedModders LLC: Protects against chat flooding (1.11.0.6916, http://www.sourcemod.net/)
activity_monitoring.smx: UChallenger CS:GO Activity Monitoring Service by Elysson Marconi: Service for handle activity of player in match (1.0.2, https://test.uchallenger.com)
end_match.smx: UChallenger End Match and Shutdown Service by Elysson Marconi: service for kick player at the end of the match and shutdown the server (1.0.2, https://test.uchallenger.com)
finish_match.smx: UChallenger Finish Match Service by Elysson Marconi: Finishes the active Match (0.01, https://test.uchallenger.com)
funvotes.smx: Fun Votes by AlliedModders LLC: Fun Vote Commands (1.11.0.6916, http://www.sourcemod.net/)
reservedslots.smx: Reserved Slots by AlliedModders LLC: Provides basic reserved slots (1.11.0.6916, http://www.sourcemod.net/)
basebans.smx: Basic Ban Commands by AlliedModders LLC: Basic Banning Commands (1.11.0.6916, http://www.sourcemod.net/)
sounds.smx: Sound Commands by AlliedModders LLC: Sound Commands (1.11.0.6916, http://www.sourcemod.net/)
basechat.smx: Basic Chat by AlliedModders LLC: Basic Communication Commands (1.11.0.6916, http://www.sourcemod.net/)
basevotes.smx: Basic Votes by AlliedModders LLC: Basic Vote Commands (1.11.0.6916, http://www.sourcemod.net/)
get5.smx: Get5 by splewis, nickdnk & PhlexPlexico:  (0.11.0-dev, https://github.com/splewis/get5)
funcommands.smx: Fun Commands by AlliedModders LLC: Fun Commands (1.11.0.6916, http://www.sourcemod.net/)
basetriggers.smx: Basic Info Triggers by AlliedModders LLC: Adds ff, timeleft, thetime, and others. (1.11.0.6916, http://www.sourcemod.net/)
adminmenu.smx: Admin Menu by AlliedModders LLC: Administration Menu (1.11.0.6916, http://www.sourcemod.net/)
start_match.smx: UChallenger by Elysson Marconi: Server Management (0.01, https://test.uchallenger.com)
EllyssonMike commented 1 year ago

A print ingame

Screenshot_10

EllyssonMike commented 1 year ago

Red team wins, but I'm on Blue team. I paid attention to one thing. When I come back from the knife round, I start on the red team and not on the blue team, when I use !swap I go to the blue team which is where I should have started.

I wanted to report this situation that happened. But since the default settings work, I'm changing it gradually.

There were other settings as well in get5.cfg, etc. But I'm going to choose to discard them and configure everything from scratch.

If you want all the settings I'm using that are causing this bug, please just ask.

Thank you a lot.

nickdnk commented 1 year ago

Your plugin is not the official build. Please download 0.11 from here: https://github.com/splewis/get5/releases/tag/v0.11.0 - we only support official builds and cannot help debug custom ones.

Also, remove the UChallenger plugins you have to isolate variables.

EllyssonMike commented 1 year ago

Thank you, can I create custom aliases for the existing commands with the official build? That is the only reason that I found to do it.

nickdnk commented 1 year ago

Not currently. There is a PR for it here, but it is not merged: https://github.com/splewis/get5/pull/883

nickdnk commented 1 year ago

If you find out what config that makes it not work, please post it here. I can't really help any more as I cannot make it not work on my end, and as I said I've never heard of this issue before.

EllyssonMike commented 1 year ago

Thank you a lot! I will wait for this feature it. And awesome job bro, this plugin is amazing. I really appreciate it! Thank you to do it for us, if will want I can help with some things with translations and other things for PT-BR language.

nickdnk commented 1 year ago

You're welcome. You can join the Discord and post in #get5 that you want the Translator role and I'll give it to you.

EllyssonMike commented 1 year ago

You're welcome. You can join the Discord and post in #get5 that you want the Translator role and I'll give it to you.

Nice!

EllyssonMike commented 1 year ago

configs.tar.gz Here is the configs that I used.

nickdnk commented 1 year ago

I don't see anything in there except remnants of knife_round.smx. It seems it's not running though, but I don't know.

EllyssonMike commented 1 year ago

I figured out what the setting was: If I put maxrounds 3 the bug occurs. After the knife round, instead of joining my team, I am redirected to the other team even before typing !swap or !stay

nickdnk commented 1 year ago

Ah. mp_maxrounds 3 triggers halftime after the first round, so that would put you on the wrong team after knife round. Don't do that.