splewis / get5

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

[Bug]: Map navigation failed #1020

Closed LowArte closed 1 year ago

LowArte commented 1 year ago

Documentation

Get5 Version

0.14.4

The Issue

I can't repit it anytime but sometimes map change to another. I start match with map aim_glockon, but start office.

GET 5 STATUS

get5_status 
{
  "plugin_version": "0.14.4",
  "gamestate": "warmup",
  "paused": false,
  "matchid": "289",
  "loaded_config_file": "https:\/\/api.projectlan.ru\/api\/v1\/csgo-server\/get5\/config\/289",
  "map_number": 0,
  "round_number": -1,
  "round_time": 296265,
  "team1": {
    "name": "LowArt",
    "series_score": 0,
    "current_map_score": 0,
    "ready": false,
    "side": "ct",
    "connected_clients": 1
  },
  "team2": {
    "name": "Step1k31",
    "series_score": 0,
    "current_map_score": 0,
    "ready": false,
    "side": "t",
    "connected_clients": 1
  },
  "maps": [
    "aim_glockon"
  ]
}

Also give you full log from server full log.txt

Match Configuration

No response

Debug Info

Time: 04/22/2023 - 16:29:03
Plugin version: 0.14.4
sourcemod_version = 1.11.0.6934
metamod_version = 1.11.0-dev+1148V

Global state:
g_GameState = 3 (warmup)
g_MatchID = 289
g_RoundNumber = -1
g_MapsToWin = 1
g_LastVetoTeam = 1
g_MapPoolList (length 1) = 
  [0] -> aim_glockon
g_MapsToPlay (length 1) = 
  [0] -> aim_glockon
g_MapsLeftInVetoPool (length 1) = 
  [0] -> aim_glockon
Defined map sides:
g_MapSides(0) = knife
g_MatchTitle = Межклубный 22.04
g_PlayersPerTeam = 1
g_CoachesPerTeam = 0
g_MinPlayersToReady = 0
g_MinSpectatorsToReady = 0
g_SkipVeto = 1
g_MatchSideType = 1
g_InScrimMode = 0
g_SeriesCanClinch = 1
g_Wingman = 0
g_HasKnifeRoundStarted = 0
g_MapReloadRequired = 0
g_MapChangePending = 0
g_PendingSideSwap = 0
g_DoingBackupRestoreNow = 0
g_ReadyTimeWaitingUsed = 533
g_PausingTeam = 3
g_PauseType = 0
g_LatestPauseDuration = -1
g_PendingSurrenderTeam = 3
Team info for team1 (0):
g_TeamIDs = 268
g_TeamNames = LowArt
g_TeamPlayers (length 1) = 
  [0] -> 76561198245351322
g_TeamTags = 
g_FormattedTeamNames = {NORMAL}LowArt{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_TeamIDs = 270
g_TeamNames = Step1k31
g_TeamPlayers (length 1) = 
  [0] -> 76561198144894113
g_TeamTags = 
g_FormattedTeamNames = {NORMAL}Step1k31{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_TeamIDs = 
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_TeamIDs = 
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 = 60
get5_kick_when_no_match_loaded = 1
get5_live_cfg = get5/live.cfg
get5_tech_pause_time = 120
get5_max_pause_time = 300
get5_max_pauses = 2
get5_max_tech_pauses = 0
get5_pause_on_veto = 0
get5_pausing_enabled = 1
get5_print_damage = 1
get5_print_damage_excess = 0
get5_damageprint_format =  {PINK}--> To: ({LIGHT_GREEN} {DMG_TO} dmg / {HITS_TO} hits {PINK}) From: ({LIGHT_RED} {DMG_FROM} dmg / {HITS_FROM} hits {PINK}
get5_reset_pauses_each_half = 1
get5_web_api_url = NULL CVAR
get5_last_backup_file = backups/289/get5_backup0_match289_map0_prelive.cfg
mp_freezetime = 10
mp_halftime = 1
mp_halftime_duration = 15.0
mp_halftime_pausetimer = 0
mp_match_end_restart = 0
mp_maxrounds = 30
mp_overtime_enable = 0
mp_overtime_halftime_pausetimer = 0
mp_overtime_maxrounds = 6
mp_round_restart_delay = 7.0
mp_timelimit = 0
mp_warmup_pausetimer = 1
mp_warmuptime_all_players_connected = 0
sv_coaching_enabled = 1
tv_delay = 105
tv_enable = 1

Last log info from addons/sourcemod/logs/errors_20230422.log:
L 04/22/2023 - 16:20:10: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:20:10: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:20:10: Info (map "cs_office") (file "/home/container/csgo/addons/sourcemod/logs/errors_20230422.log")
 L 04/22/2023 - 16:20:10: SourceMod error session started
 L 04/22/2023 - 16:20:02: Error log file session closed.
 L 04/22/2023 - 16:19:12: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:19:12: Info (map "awp_india") (file "/home/container/csgo/addons/sourcemod/logs/errors_20230422.log")
 L 04/22/2023 - 16:19:12: SourceMod error session started
 L 04/22/2023 - 16:19:10: Error log file session closed.
 L 04/22/2023 - 16:19:01: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:19:01: Info (map "awp_india") (file "/home/container/csgo/addons/sourcemod/logs/errors_20230422.log")
 L 04/22/2023 - 16:19:01: SourceMod error session started
 L 04/22/2023 - 16:18:58: Error log file session closed.
 L 04/22/2023 - 16:17:50: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:17:50: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:17:50: Info (map "aim_redline") (file "/home/container/csgo/addons/sourcemod/logs/errors_20230422.log")
 L 04/22/2023 - 16:17:50: SourceMod error session started
 L 04/22/2023 - 16:17:47: Error log file session closed.
 L 04/22/2023 - 16:17:44: [get5.smx] Event HTTP request failed with status code: 500.
 L 04/22/2023 - 16:17:01: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:17:01: Info (map "awp_india") (file "/home/container/csgo/addons/sourcemod/logs/errors_20230422.log")
 L 04/22/2023 - 16:17:01: SourceMod error session started
 L 04/22/2023 - 16:17:00: Error log file session closed.
 L 04/22/2023 - 16:16:50: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:16:50: Info (map "awp_india") (file "/home/container/csgo/addons/sourcemod/logs/errors_20230422.log")
 L 04/22/2023 - 16:16:50: SourceMod error session started
 L 04/22/2023 - 16:16:48: Error log file session closed.
 L 04/22/2023 - 16:16:44: [get5.smx] Event HTTP request failed with status code: 500.
 L 04/22/2023 - 16:15:59: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:15:58: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:15:58: Info (map "aim_ak47") (file "/home/container/csgo/addons/sourcemod/logs/errors_20230422.log")
 L 04/22/2023 - 16:15:58: SourceMod error session started
 L 04/22/2023 - 16:15:55: Error log file session closed.
 L 04/22/2023 - 16:14:30: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:14:30: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:14:30: Info (map "aim_redline") (file "/home/container/csgo/addons/sourcemod/logs/errors_20230422.log")
 L 04/22/2023 - 16:14:30: SourceMod error session started
 L 04/22/2023 - 16:14:26: Error log file session closed.
 L 04/22/2023 - 16:14:23: [get5.smx] Automatic backup deletion cannot be performed when get5_backup_path contains the {MATCHID} variable.
 L 04/22/2023 - 16:14:23: Info (map "de_dust2") (file "/home/container/csgo/addons/sourcemod/logs/errors_20230422.log")
 L 04/22/2023 - 16:14:23: SourceMod error session started
 L 04/22/2023 - 15:03:17: Error log file session closed.
 L 04/22/2023 - 15:02:59: [get5.smx] Failed to resolve Steam ID for client I'll be here for a while<50><STEAM_ID_PENDING><>. This is usually a temporary or network related error.
 L 04/22/2023 - 15:02:59: [get5.smx] Failed to resolve Steam ID for client I'll be here for a while<50><STEAM_ID_PENDING><>. This is usually a temporary or network related error.
 L 04/22/2023 - 15:02:59: [get5.smx] Failed to resolve Steam ID for client I'll be here for a while<50><STEAM_ID_PENDING><>. This is usually a temporary or network related error.
 L 04/22/2023 - 15:02:59: [get5.smx] Failed to resolve Steam ID for client I'll be here for a while<50><STEAM_ID_PENDING><>. This is usually a temporary or network related error.
 L 04/22/2023 - 15:02:58: [get5.smx] Failed to resolve Steam ID for client I'll be here for a while<50><STEAM_ID_PENDING><>. This is usually a temporary or network related error.
 L 04/22/2023 - 15:02:58: [get5.smx] Failed to resolve Steam ID for client I'll be here for a while<50><STEAM_ID_PENDING><>. This is usually a temporary or network related error.
 L 04/22/2023 - 15:02:58: [get5.smx] Failed to resolve Steam ID for client I'll be here for a while<50><STEAM_ID_PENDING><>. This is usually a temporary or network related error.
 L 04/22/2023 - 15:02:58: [get5.smx] Failed to resolve Steam ID for client I'll be here for a while<50><STEAM_ID_PENDING><>. This is usually a temporary or network related error.

sm plugins list:
sounds.smx: Sound Commands by AlliedModders LLC: Sound Commands (1.11.0.6934, http://www.sourcemod.net/)
adminmenu.smx: Admin Menu by AlliedModders LLC: Administration Menu (1.11.0.6934, http://www.sourcemod.net/)
reservedslots.smx: Reserved Slots by AlliedModders LLC: Provides basic reserved slots (1.11.0.6934, http://www.sourcemod.net/)
antiflood.smx: Anti-Flood by AlliedModders LLC: Protects against chat flooding (1.11.0.6934, http://www.sourcemod.net/)
basevotes.smx: Basic Votes by AlliedModders LLC: Basic Vote Commands (1.11.0.6934, http://www.sourcemod.net/)
adminhelp.smx: Admin Help by AlliedModders LLC: Display command information (1.11.0.6934, http://www.sourcemod.net/)
get5.smx: Get5 by splewis, nickdnk & PhlexPlexico:  (0.14.4, https://github.com/splewis/get5)
basecomm.smx: Basic Comm Control by AlliedModders LLC: Provides methods of controlling communication. (1.11.0.6934, http://www.sourcemod.net/)
clientprefs.smx: Client Preferences by AlliedModders LLC: Client preferences and settings menu (1.11.0.6934, http://www.sourcemod.net/)
playercommands.smx: Player Commands by AlliedModders LLC: Misc. Player Commands (1.11.0.6934, http://www.sourcemod.net/)
basetriggers.smx: Basic Info Triggers by AlliedModders LLC: Adds ff, timeleft, thetime, and others. (1.11.0.6934, http://www.sourcemod.net/)
admin-flatfile.smx: Admin File Reader by AlliedModders LLC: Reads admin files (1.11.0.6934, http://www.sourcemod.net/)
pl_club_check.smx: Projectlan Desktop Checker by LowArt: Projectlan Desktop Checker (0.2.0, )
funvotes.smx: Fun Votes by AlliedModders LLC: Fun Vote Commands (1.11.0.6934, http://www.sourcemod.net/)
basecommands.smx: Basic Commands by AlliedModders LLC: Basic Admin Commands (1.11.0.6934, http://www.sourcemod.net/)
nextmap.smx: Nextmap by AlliedModders LLC: Provides nextmap and sm_nextmap (1.11.0.6934, http://www.sourcemod.net/)
basechat.smx: Basic Chat by AlliedModders LLC: Basic Communication Commands (1.11.0.6934, http://www.sourcemod.net/)
funcommands.smx: Fun Commands by AlliedModders LLC: Fun Commands (1.11.0.6934, http://www.sourcemod.net/)
nickdnk commented 1 year ago

Please fix the errors reported in the console and post the match configuration you loaded. Nothing in Get5 will ever load Office, so you have something misconfigured.

You should probably also remove pl_club_check.smx to isolate variables.

LowArte commented 1 year ago

pl_club_check is my own plug-in. It is only use player connection event from get5.

Edited. What are errors you talking about ? We have clean install of sourcemod, metamod and get5 nothing changed or configured external

LowArte commented 1 year ago

Match config

{
  "match_title": "Межклубный 22.04",
  "matchid": "289",
  "clinch_series": true,
  "coaches_per_team": 0,
  "num_maps": 1,
  "players_per_team": 1,
  "min_players_to_ready": 0,
  "min_spectators_to_ready": 0,
  "skip_veto": true,
  "side_type": "always_knife",
  "wingman": false,
  "maplist": [
    "aim_glockon"
  ],
  "team1": {
    "id": "268",
    "players": [
      "76561198245351322"
    ],
    "name": "LowArt",
    "tag": ""
  },
  "team2": {
    "id": "270",
    "players": [
      "76561198144894113"
    ],
    "name": "Step1k31",
    "tag": ""
  },
  "cvars": {
    "hostname": "ProjectLan",
    "mp_overtime_maxrounds": "6",
    "get5_time_to_start": "600",
    "get5_max_pauses": "2",
    "get5_fixed_pause_time": "60",
    "mp_friendlyfire": "1",
    "mp_freezetime": "10",
    "get5_remote_log_url": "https://api.projectlan.ru/api/v1/csgo-server/get5/event",
    "get5_remote_log_header_value": "Bearer token here",
    "mp_match_restart_delay": "10"
  }
}
nickdnk commented 1 year ago

I don't know what the plug-in does. I just want to isolate variables.

You have enabled backup deletion and set a custom path with MATCHID. It's literally printed dozens of times in the console log: It's not a clean install if this happens, so maybe something else was also changed.

Still need the match config also.

LowArte commented 1 year ago

We change only get5 config using documentation. Match configuration is message upper

nickdnk commented 1 year ago

I don't know why this happens. I don't think it's related to Get5.

Where does this come from?

Generating Navigation Mesh...
GOTV[0] broadcast active.
Sampling walkable space...
Creating navigation areas from sampled data...
Connecting navigation areas...
Merging navigation areas...
Finding hiding spots...DONE
Finding encounter spots...DONE
Finding sniper spots...DONE
Finding earliest occupy times...DONE
Start custom...
 Post custom...
 Custom game-specific analysis...DONE
Generation complete!  0.1 seconds elapsed.
Navigation map '/home/container/csgo\maps\aim_glockon.nav' saved.

Does it only happen on this map?

It's definitely not a clean install either, because you have this as well:

Unknown command "get5_veto_confirmation_time"

It would never print that unless it ran 0.13 before.

LowArte commented 1 year ago

It's hapens in random time in random map. And change to random map also

LowArte commented 1 year ago

We use you plugin from 0.13 maybe we forget to update configurations of get5, but we take this bug in 0.13 too

LowArte commented 1 year ago

I think map doing generation of mesh

nickdnk commented 1 year ago

Never had this happen and I have no explanation for it. So I can't really help. Maybe try reinstalling the server completely.

LowArte commented 1 year ago

Thanks anyway. We try to reproduce if find something i will tell

nickdnk commented 1 year ago

If this happens with server hibernation enabled with nobody on the server, I would suggest you disable hibernation. It's the only thing I can think of that would prevent the map from changing as the map change is done with a timer, and timers don't run under hibernation.

If you can reproduce the issue, you can reopen it.