splewis / get5

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

[Bug]: Match freezes after warmup countdown #976

Closed 0-BuTaJIuK-0 closed 1 year ago

0-BuTaJIuK-0 commented 1 year ago

Documentation

Get5 Version

0.12.0

The Issue

The normal game starts. The winner exits the server, and the loser remains. (there is a variable on the kick of the players at the end of the match get5)

A new match starts immediately on the same server The player who lost in the last game is kicked because he does not participate in this match. A new player enters and player winner of the last game. Everything is fine, the game starts, and freezes at the end of the warm-up 0:01 seconds. Players can't do anything. Move/shoot/interact somehow. The server freezes at the moment "freeze players"

You can think of my plugin that gave an error. But I deleted it and everything happens exactly the same. _L 02/06/2023 - 13:02:04: [SM] [1] Line 75, c:\Users\BuT\Desktop\SP\addons\sourcemod\scripting\fix_arena.sp::TimerArmor L 02/06/2023 - 13:02:04: [SM] [0] SetEntProp L 02/06/2023 - 13:02:04: [SM] Call stack trace: L 02/06/2023 - 13:02:04: [SM] Blaming: fixarena.smx L 02/06/2023 - 13:02:04: [SM] Exception reported: Entity 2 (2) is invalid

Attached a clipping of the moment from the server logs and screen Console.log bug

Match Configuration

MATCH 1
{"matchid":"11106","num_maps":1,"players_per_team":1,"min_players_to_ready":1,"min_spectators_to_ready":0,"skip_veto":true,"side_type":"never_knife","maplist":["aim_map_plus_wl"],"team1":{"name":"[КПСС]СТАЛИН","tag":"[КПСС]СТАЛИН","players":{"76561198137779475":""}},"team2":{"name":"0-BuTaJIuK-0","tag":"0-BuTaJIuK-0","players":{"76561198064780998":""}},"cvars":{"hostname":"11106 [КПСС]СТАЛИН VS 0-BuTaJIuK-0","get5_autoload_config":"1_aim.cfg","exec":"1_aim.cfg"}}
{
"matchid":"11106",
"num_maps":1,
"players_per_team":1,
"min_players_to_ready":1,
"min_spectators_to_ready":0,
"skip_veto":true,
"side_type":"never_knife",
"maplist":["aim_map_plus_wl"],
"team1":{"name":"[КПСС]СТАЛИН","tag":"[КПСС]СТАЛИН","players":{"76561198137779475":""}},
"team2":{"name":"0-BuTaJIuK-0","tag":"0-BuTaJIuK-0","players":{"76561198064780998":""}},
"cvars":{"hostname":"11106 [КПСС]СТАЛИН VS 0-BuTaJIuK-0","get5_autoload_config":"1_aim.cfg","exec":"1_aim.cfg"}
}

MATCH 2
{"matchid":"11104","num_maps":1,"players_per_team":1,"min_players_to_ready":1,"min_spectators_to_ready":0,"skip_veto":true,"side_type":"never_knife","maplist":["aim_map_plus_wl"],"team1":{"name":"kevl","tag":"kevl","players":{"76561199044720982":""}},"team2":{"name":"0-BuTaJIuK-0","tag":"0-BuTaJIuK-0","players":{"76561198064780998":""}},"cvars":{"hostname":"11104 kevl VS 0-BuTaJIuK-0","get5_autoload_config":"1_aim.cfg","exec":"1_aim.cfg"}}
{
"matchid":"11104",
"num_maps":1,
"players_per_team":1,
"min_players_to_ready":1,
"min_spectators_to_ready":0,
"skip_veto":true,
"side_type":"never_knife",
"maplist":["aim_map_plus_wl"],
"team1":{"name":"kevl","tag":"kevl","players":{"76561199044720982":""}},
"team2":{"name":"0-BuTaJIuK-0","tag":"0-BuTaJIuK-0","players":{"76561198064780998":""}},
"cvars":{"hostname":"11104 kevl VS 0-BuTaJIuK-0","get5_autoload_config":"1_aim.cfg","exec":"1_aim.cfg"}
}

Debug Info

At the moment of hanging:

Time: 06/02/2023 - 13:07:14
Plugin version: 0.12.0
sourcemod_version = 1.11.0.6930
metamod_version = 1.11.0-dev+1148V

Global state:
g_GameState = 6 (going_live)
g_MatchID = 11104
g_RoundNumber = -1
g_MapsToWin = 1
g_LastVetoTeam = 1
g_MapPoolList (length 1) = 
  [0] -> aim_map_plus_wl
g_MapsToPlay (length 1) = 
  [0] -> aim_map_plus_wl
g_MapsLeftInVetoPool (length 1) = 
  [0] -> aim_map_plus_wl
Defined map sides:
g_MapSides(0) = team1_ct
g_MatchTitle = Map {MAPNUMBER} of {MAXMAPS}
g_PlayersPerTeam = 1
g_CoachesPerTeam = 2
g_MinPlayersToReady = 1
g_MinSpectatorsToReady = 0
g_SkipVeto = 1
g_MatchSideType = 2
g_InScrimMode = 0
g_SeriesCanClinch = 1
g_HasKnifeRoundStarted = 0
g_MapChangePending = 0
g_PendingSideSwap = 0
g_DoingBackupRestoreNow = 0
g_ReadyTimeWaitingUsed = 289
g_PausingTeam = 3
g_PauseType = 0
g_LatestPauseDuration = 0
g_PendingSurrenderTeam = 3
Team info for team1 (0):
g_TeamNames = kevl
g_TeamPlayers (length 1) = 
  [0] -> 76561199044720982
g_TeamTags = kevl
g_FormattedTeamNames = {LIGHT_GREEN}kevl{NORMAL}
g_TeamFlags = 
g_TeamLogos = 
g_TeamMatchTexts = 
g_SurrenderVotes = 0
g_TeamSide = CT (3)
g_TeamSeriesScores = 0
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 team2 (1):
g_TeamNames = 0-BuTaJIuK-0
g_TeamPlayers (length 1) = 
  [0] -> 76561198064780998
g_TeamTags = 0-BuTaJIuK-0
g_FormattedTeamNames = {PINK}0-BuTaJIuK-0{NORMAL}
g_TeamFlags = 
g_TeamLogos = 
g_TeamMatchTexts = 
g_SurrenderVotes = 0
g_TeamSide = T (2)
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 spec (2):
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) = 
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 = 0
get5_autoload_config = 1_aim.cfg
get5_auto_ready_active_players = 1
get5_check_auths = 1
get5_fixed_pause_time = 0
get5_kick_when_no_match_loaded = 1
get5_live_cfg = get5/live1v1.cfg
get5_tech_pause_time = 0
get5_max_pause_time = 300
get5_max_pauses = 5
get5_max_tech_pauses = 5
get5_pause_on_veto = 0
get5_pausing_enabled = 1
get5_print_damage = 1
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 = 1
get5_web_api_url = 
get5_last_backup_file = backups/get5_backup0_match11104_map0_prelive.cfg
mp_freezetime = 1
mp_halftime = 1
mp_halftime_duration = 5
mp_halftime_pausetimer = 0
mp_match_end_restart = 1
mp_maxrounds = 30
mp_overtime_enable = 1
mp_overtime_halftime_pausetimer = 0
mp_overtime_maxrounds = 6
mp_round_restart_delay = 3
mp_timelimit = 0
mp_warmup_pausetimer = 0
mp_warmuptime_all_players_connected = 0
sv_coaching_enabled = 1
tv_delay = 40
tv_enable = 1

Last log info from addons/sourcemod_cs12/logs/errors_20230206.log:
L 02/06/2023 - 13:02:04: [SM]   [1] Line 75, c:\Users\BuT\Desktop\SP\addons\sourcemod\scripting\fix_arena.sp::TimerArmor
 L 02/06/2023 - 13:02:04: [SM]   [0] SetEntProp
 L 02/06/2023 - 13:02:04: [SM] Call stack trace:
 L 02/06/2023 - 13:02:04: [SM] Blaming: fix_arena.smx
 L 02/06/2023 - 13:02:04: [SM] Exception reported: Entity 2 (2) is invalid
 L 02/06/2023 - 13:02:04: [get5_apistats.smx] Failed to create logo directory: materials/panorama/images/tournaments/teams
 L 02/06/2023 - 13:01:11: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 13:00:59: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 13:00:14: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:59:52: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:59:45: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:59:36: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:59:29: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:58:41: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:58:36: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:58:25: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:58:07: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:57:20: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:56:57: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:56:44: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:56:36: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:56:28: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:56:21: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:56:06: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:55:58: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:55:50: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:55:32: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:55:22: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:55:09: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:55:00: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:54:50: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:54:42: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:54:33: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:54:21: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:54:09: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:54:01: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:53:48: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:53:35: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:53:20: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:53:10: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:53:00: [get5.smx] Found no Valve backup when attempting to write a backup during the live state. This is a bug!
 L 02/06/2023 - 12:51:56: [SM] #format property should come before translations on line 83, ignoring
 L 02/06/2023 - 12:51:56: [SM] Warning(s) encountered in translation file "lilac.phrases.txt"
 L 02/06/2023 - 12:51:56: [SM] #format property should come before translations on line 80, ignoring
 L 02/06/2023 - 12:51:56: [SM] Warning(s) encountered in translation file "lilac.phrases.txt"
 L 02/06/2023 - 12:51:56: [SM] #format property should come before translations on line 83, ignoring
 L 02/06/2023 - 12:51:56: [SM] Warning(s) encountered in translation file "lilac.phrases.txt"
 L 02/06/2023 - 12:51:56: [SM] #format property should come before translations on line 78, ignoring
 L 02/06/2023 - 12:51:56: [SM] Warning(s) encountered in translation file "lilac.phrases.txt"
 L 02/06/2023 - 12:51:56: [SM] #format property should come before translations on line 83, ignoring

sm plugins list:
WL_api_convar_ban.smx: Players Ban Server Saite And ConVars by 0-BuTaJIuK-0: Отправка банов на сайт + конвары (1.0, https://wildleague.pro)
ma_basecomm.smx: Basic Comm Control by AlliedModders LLC: fake (0.8.6, http://www.sourcemod.net/)
basetriggers.smx: Basic Info Triggers by AlliedModders LLC: Adds ff, timeleft, thetime, and others. (1.11.0.6913, http://www.sourcemod.net/)
gloves.smx: Gloves by kgns | oyunhost.net: CS:GO Gloves Management (1.0.5, https://www.oyunhost.net)
nextmap.smx: Nextmap by AlliedModders LLC: Provides nextmap and sm_nextmap (1.11.0.6913, http://www.sourcemod.net/)
fix_game_player_equip.smx: FIX game_player_equip by Mitchell & 0-BuTaJIuK-0: Фикс дублирования пушек на кастомных картах (1.0, https://wildleague.pro)
antiflood.smx: Anti-Flood by AlliedModders LLC: Protects against chat flooding (1.11.0.6913, http://www.sourcemod.net/)
funcommands.smx: Fun Commands by AlliedModders LLC: Fun Commands (1.11.0.6913, http://www.sourcemod.net/)
ma_basevotes.smx: Basic Votes by AlliedModders LLC: Basic Vote Commands (1.11.0.6911, http://www.sourcemod.net/)
AntiDLL.smx: AntiDLL Handler by JDW:  (1.7.1, WWW)
get5_apistats.smx: Get5 Web API Integration by splewis: Records match stats to a get5-web api (0.12.0, https://github.com/splewis/get5)
adminhelp.smx: Admin Help by AlliedModders LLC: Display command information (1.11.0.6913, http://www.sourcemod.net/)
basevotes.smx: Basic Votes by AlliedModders LLC: Basic Vote Commands (1.11.0.6913, http://www.sourcemod.net/)
WL_levelsranks_general.smx: [Levels Ranks GENERAL] Core by RoadSide Romeo & Wend4r & 0-BuTaJIuK-0:  (v3.1.2, )
Screamer.smx: Screamer by 0-BuTaJIuK-0: Пугалка (1.0, https://vk.com/butajiuk_7)
WLmenu.smx: WL main menu by 0-BuTaJIuK-0: Основное меню Wildleague (1.0, https://wildleague.pro)
weapons.smx: Weapons & Knives by kgns | oyunhost.net: All in one CS:GO weapon skin management (1.7.7, https://github.com/kgns)
fix_arena.smx: Fix Arena mode by 0-BuTaJIuK-0: Скины, радар, 100 брони без каски (1.0, https://wildleague.pro)
get5_mysqlstats.smx: Get5 MySQL stats by splewis: Records match stats collected by get5 to MySQL (0.12.0, https://github.com/splewis/get5)
materialadmin.smx: Material Admin by Material Admin Dev Team: Improve work with admins, bans, mutes, add offline bans, massbans (0.8.6, https://github.com/SB-MaterialAdmin/NewServer)
clientprefs.smx: Client Preferences by AlliedModders LLC: Client preferences and settings menu (1.11.0.6913, http://www.sourcemod.net/)
chat-processor.smx: Chat-Processor by Drixevel: Replacement for Simple Chat Processor. (2.2.3, https://drixevel.dev/)
WL_levelsranks_privaterank.smx: [LR] Module - PrivateRank by 0-BuTaJIuK-0:  (v3.1.2, )
playercommands.smx: Player Commands by AlliedModders LLC: Misc. Player Commands (1.11.0.6913, http://www.sourcemod.net/)
get5.smx: Get5 by splewis, nickdnk & PhlexPlexico:  (0.12.0, https://github.com/splewis/get5)
lilac.smx: [Lilac] Little Anti-Cheat by J_Tanzanite: An opensource Anti-Cheat (1.7.1, https://github.com/J-Tanzanite/Little-Anti-Cheat)
funvotes.smx: Fun Votes by AlliedModders LLC: Fun Vote Commands (1.11.0.6913, http://www.sourcemod.net/)
WL_levelsranks_All_month.smx: [Levels Ranks All_MONTH] Core by RoadSide Romeo & Wend4r & 0-BuTaJIuK-0:  (v3.1.2, )
reservedslots.smx: Reserved Slots by AlliedModders LLC: Provides basic reserved slots (1.11.0.6913, http://www.sourcemod.net/)
WL_levelsranks_All_general.smx: [Levels Ranks All_GENERAL] Core by RoadSide Romeo & Wend4r & 0-BuTaJIuK-0:  (v3.1.2, )
ma_adminmenu.smx: Admin Menu by AlliedModders LLC: Administration Menu for Material Admin (0.8.6, http://www.sourcemod.net/)
admin-sql-prefetch.smx: SQL Admins (Prefetch) by AlliedModders LLC: Reads all admins from SQL (1.11.0.6913, http://www.sourcemod.net/)
csgo_ac_cheating_convars.smx: CS:GO AC: Cheating ConVars by Hattrick HKS (claudiuhks): Bans Players For Changing Illegal ConVars (3.1, https://forums.alliedmods.net/showthread.php?t=324601)
sql-admin-manager.smx: SQL Admin Manager by AlliedModders LLC: Manages SQL admins (1.11.0.6913, http://www.sourcemod.net/)
BlockingZones.smx: BlockingZones | Блокирующие зоны by Drumanid:  (1.3, http://vk.com/drumanid)
WL_levelsranks_month.smx: [Levels Ranks MOUNTH] Core by RoadSide Romeo & Wend4r & 0-BuTaJIuK-0:  (v3.1.2, )
hextags.smx: hextags by Hexah: Edit Tags & Colors! (2.12, github.com/Hexer10/HexTags)
ma_checker.smx: Material Admin Checker by psychonic, Ca$h Munny, Sarabveer(VEER™), Bloomstorm: Notifies admins of prior bans and blocked comms from Material Admin upon player connect. (0.8.6, https://github.com/CrazyHackGUT/SB_Material_Design/)
map-decals.smx: Map Decals (Fixed) by Berni, Stingbyte, SM9();: Allows admins to place any decals into the map that are defined in the the config and save them permanently for each map (1.4, http://forums.alliedmods.net/showthread.php?t=69502)
basecommands.smx: Basic Commands by AlliedModders LLC: Basic Admin Commands (1.11.0.6913, http://www.sourcemod.net/)
sounds.smx: Sound Commands by AlliedModders LLC: Sound Commands (1.11.0.6913, http://www.sourcemod.net/)
basechat.smx: Basic Chat by AlliedModders LLC: Basic Communication Commands (1.11.0.6913, http://www.sourcemod.net/)
nickdnk commented 1 year ago

Hello

You have way too many plugins installed to start debugging this. Please remove any plugin that isn't Get5 or the default SourceMod plugins, then try again.

Get5 does not have any code that prevents the warmup from ending, and the errors you posted also are not from Get5, as you mentioned, so I don't really know where to begin with this. You also have a translation error.

0-BuTaJIuK-0 commented 1 year ago

Everything works even with my plugins. The bug happens exactly in the above sequence of actions.

Here I did the same thing, only with the standard plugins sourcemod and get5 .

ConsoleLog_moment.log get5_debuginfo.txt Match_Configuration_JSON.txt screen

nickdnk commented 1 year ago

Nothing in Get5 would stop the timer at 0:01; we are not running this timer, it's built into the game. You should probably take "exec" out of your cvars section, as it's not a Cvar, which gives you this error: Tried to look up command exec as if it were a variable. - if you want to execute a config, do it in your live config https://splewis.github.io/get5/latest/configuration/#phase-configuration-files

Do you have this problem if you don't play an aim map? Like on a regular 5v5 on a normal map?

0-BuTaJIuK-0 commented 1 year ago

This bug was found by the players. I just look at the sequence of their actions in the console. We recreate this sequence by the development team and indeed, there is this bug with a frieze.

Most likely, the bug occurs because the players from the last match did not have time to leave the server before the start of the next one (they can stay there until the end of gotv, although get5 sends an event with the end of the match)

So what is the difference between a 1x1 and 5x5 game - it's just different cards. Tomorrow we can check on standard maps We also recreated overtimes when performing a bug, we can try without them.

nickdnk commented 1 year ago

Most likely, the bug occurs because the players from the last match did not have time to leave the server before the start of the next one (they can stay there until the end of gotv, although get5 sends an event with the end of the match)

Are they not being kicked? Or is it because they are part of the auto-loaded match config and remain on the server?

So what is the difference between a 1x1 and 5x5 game - it's just different cards. Tomorrow we can check on standard maps We also recreated overtimes when performing a bug, we can try without them. I don't know if the map is the reason, I'm trying to isolate variables since this is clearly not a problem everyone has, or we would likely have heard about it.

Please also try not executing configs in cvars, it's not meant to go there. What is the content of 1_aim.cfg?

0-BuTaJIuK-0 commented 1 year ago

Are they not being kicked? Or is it because they are part of the auto-loaded match config and remain on the server?

If the player is from the next match, then he does not kick. If the losing player - kicks when the next match starts (at this point my one plugin was cursing)

What is the content of 1_aim.cfg?

ActiveBZ 0 fix_arena 1 mp_team_timeout_time 7 mp_warmuptime 20 mp_freezetime 1 mp_halftime 1 mp_halftime_duration 5 mp_round_restart_delay 3 mp_maxrounds 30 mp_backup_round_auto "0" mp_backup_round_file "" mp_tdm_healthshot_killcount 0 mp_overtime_halftime_pausetimer 0 mp_match_restart_delay 15 bot_quota 0 get5_time_to_start 300 get5_backup_path "backups/" get5_autoload_config "1_aim.cfg" get5_demo_name_format "demos/match{MATCHID}map{MAPNUMBER}{MAPNAME}" get5_kick_when_no_match_loaded 1 get5_end_match_on_empty_server 0 get5_print_update_notice 0 get5_auto_ready_active_players 1 get5_set_client_clan_tags 0 get5_message_prefix "[{LIGHT_BLUE}WildLeague{NORMAL}]"

get5_hostname_format "{MATCHID} Team {TEAM1} vs Team {TEAM2}"

get5_print_damage "1" get5_max_pauses 5 get5_max_pause_time 300 get5_fixed_pause_time 0 get5_allow_technical_pause 0 get5_max_tech_pauses 5 get5_tech_pause_time 0 get5_live_cfg "get5/live1v1.cfg" get5_warmup_cfg "get5/warmup1v1.cfg" tv_enable 1 tv_advertise_watchable 1 tv_delay 40 tv_chattimelimit 5 tv_name "GOTV" mp_default_team_winner_no_objective 3

mrc4tt commented 1 year ago

Does it react, if you send a "status" command from the server console? (not from the in-game console)

Because It's more to find out if we both have the same problem.

Update: I can't confirm if it's the same issue with "freeze" from 00:01 - Did you try to disable the warmup method? ^

0-BuTaJIuK-0 commented 1 year ago

Does it react, if you send a "status" command from the server console? (not from the in-game console)

Didn't check

Did you try to disable the warmup method?

Did not check. The players need a warm-up method


If you change to the same card, then everything will be fixed Console: map you_map

nickdnk commented 1 year ago

A couple of problems with this:

  1. You should not call exec + file in your cvars. Put general configs in your config file and put cvars you want to change in the cvars section. There is a difference between exec and setting them directly in cvars, because exec is async.

  2. mp_backup_round_file - don't change this at all. Get5 sets it on its own. This is what's giving you all the backup errors.

  3. Don't set mp_team_timeout_time - Get5 sets this when you !pause.

  4. Don't set mp_backup_round_auto 0 - this means reconnecting players lose their score.

  5. If you want to execute a file when the game starts, put those parameters in your live config. This is for things like:

mp_halftime 1 mp_freezetime 1 get5_allow_technical_pause 1 get5_fixed_pause_time 0 mp_maxrounds 30

etc.

Then put get5 match configuration parameters in your cvars directly:

get5_warmup_cfg get5_live_cfg

Don't put get5_autoload_config anywhere in a match config - only in get5.cfg or directly via console. In your case it's not being set unless you load a match, and it's also telling you which match to autoload, which is impossible.

All tv_ commands are recommended in your cvars as well, but again; do not use exec + file, because it is async.

nickdnk commented 1 year ago

Also get5_end_match_on_empty_server no longer exists.

And you should update Get5 to 0.12.1.

nickdnk commented 1 year ago

And you can't do this: get5_demo_name_format "demos/match{MATCHID}map{MAPNUMBER}{MAPNAME}" - it accepts only the filename. If you want to store demos in a folder, set https://splewis.github.io/get5/latest/configuration/#get5_demo_path

So that would be:

get5_demo_name_format "{TIME}_match{MATCHID}map{MAPNUMBER}{MAPNAME}" get5_demo_path "demos/"

You can remove {TIME}, but that will overwrite demos if you reload from a backup.

yuv41 commented 1 year ago

Have you found any way of fixing the issue?

nickdnk commented 1 year ago

If someone can reproduce this on a clean server, it would probably help a lot. I cannot find out what causes this or if it's Get5's fault.

Clean means:

  1. Reinstall srcds
  2. Install latest sourcemod and metamod
  3. Install only Get5 (0.13) and use the included config files
nickdnk commented 1 year ago

Please try the latest prerelease and let me know if the problem has disappeared. We are now forcing a map reload when loading a match.

https://github.com/splewis/get5/releases

nickdnk commented 1 year ago

I think this may have been related to memory leaks, which I have fixed in https://github.com/splewis/get5/releases/tag/v0.14.0-a521ece. I'm sorry about this. It would also explain why it didn't happen on earlier versions, because some of the things I fixed were broken fairly recently.