Skip to content

Instantly share code, notes, and snippets.

@withgod
Last active September 29, 2021 18:19
Show Gist options
  • Save withgod/515a31a572e24c1e56704a018d9a6b54 to your computer and use it in GitHub Desktop.
Save withgod/515a31a572e24c1e56704a018d9a6b54 to your computer and use it in GitHub Desktop.
ubuntu@secondary:~$ docker run -d --net=host --name=tf2-3 -e SRCDS_TOKEN=mytoken cm2network/tf2:sourcemod
xxxxxxxxxxxx
ubuntu@secondary:~$ docker logs tf2-3 -f
snip
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK
@ShutdownOnFailedCommand 1
"@ShutdownOnFailedCommand" = "1"
@NoPromptForPassword 1
"@NoPromptForPassword" = "1"
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
force_install_dir /home/steam/tf-dedicated
app_update 232250
Success! App '232250' already up to date.
quit
----------------------------
Setting breakpad minidump AppID = 232250
Using breakpad crash handler
Setting breakpad minidump AppID = 232251
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 9 milliseconds to initialize
RecordSteamInterfaceCreation (PID 56): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 56): SteamUtils010 /
Setting breakpad minidump AppID = 440
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
RecordSteamInterfaceCreation (PID 56): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 56): SteamUtils010 /
RecordSteamInterfaceCreation (PID 56): SteamNetworking006 /
RecordSteamInterfaceCreation (PID 56): SteamGameServerStats001 /
RecordSteamInterfaceCreation (PID 56): STEAMHTTP_INTERFACE_VERSION003 /
RecordSteamInterfaceCreation (PID 56): STEAMINVENTORY_INTERFACE_V003 /
RecordSteamInterfaceCreation (PID 56): STEAMUGC_INTERFACE_VERSION015 /
Setting breakpad minidump AppID = 232250
RecordSteamInterfaceCreation (PID 56): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 56): SteamUtils010 /
RecordSteamInterfaceCreation (PID 56): SteamNetworking006 /
RecordSteamInterfaceCreation (PID 56): SteamGameServerStats001 /
RecordSteamInterfaceCreation (PID 56): STEAMHTTP_INTERFACE_VERSION003 /
RecordSteamInterfaceCreation (PID 56): STEAMINVENTORY_INTERFACE_V003 /
RecordSteamInterfaceCreation (PID 56): STEAMUGC_INTERFACE_VERSION015 /
RecordSteamInterfaceCreation (PID 56): SteamGameStats001 /
RecordSteamInterfaceCreation (PID 56): SteamGameCoordinator001 /
RecordSteamInterfaceCreation (PID 56): SteamGameStats001 /
RecordSteamInterfaceCreation (PID 56): SteamGameStats001 /
RecordSteamInterfaceCreation (PID 56): SteamGameStats001 /
RecordSteamInterfaceCreation (PID 56): SteamGameStats001 /
RecordSteamInterfaceCreation (PID 56): SteamGameStats001 /
RecordSteamInterfaceCreation (PID 56): SteamGameStats001 /
RecordSteamInterfaceCreation (PID 56): SteamGameStats001 /
RecordSteamInterfaceCreation (PID 56): SteamGameStats001 /
RecordSteamInterfaceCreation (PID 56): SteamGameStats001 /
RecordSteamInterfaceCreation (PID 56): SteamGameStats001 /
----------------------------
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK
@ShutdownOnFailedCommand 1
"@ShutdownOnFailedCommand" = "1"
@NoPromptForPassword 1
"@NoPromptForPassword" = "1"
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
force_install_dir /home/steam/tf-dedicated
app_update 232250
Success! App '232250' already up to date.
quit
----------------------------
Using Breakpad minidump system. Version: 6791595 AppID: 232250
Setting breakpad minidump AppID = 232250
Using breakpad crash handler
Loaded 10224 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_textures.vpk for pure server operation.
Loaded 10224 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_textures.vpk for pure server operation.
Loaded 476 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_sound_vo_english.vpk for pure server operation.
Loaded 476 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_sound_vo_english.vpk for pure server operation.
Loaded 1343 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_sound_misc.vpk for pure server operation.
Loaded 1343 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_sound_misc.vpk for pure server operation.
Loaded 2634 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_misc.vpk for pure server operation.
Loaded 2634 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_misc.vpk for pure server operation.
Loaded 2634 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_misc.vpk for pure server operation.
Loaded 1217 VPK file hashes from /home/steam/tf-dedicated/hl2/hl2_textures.vpk for pure server operation.
Loaded 574 VPK file hashes from /home/steam/tf-dedicated/hl2/hl2_sound_vo_english.vpk for pure server operation.
Loaded 383 VPK file hashes from /home/steam/tf-dedicated/hl2/hl2_sound_misc.vpk for pure server operation.
Loaded 451 VPK file hashes from /home/steam/tf-dedicated/hl2/hl2_misc.vpk for pure server operation.
Loaded 451 VPK file hashes from /home/steam/tf-dedicated/hl2/hl2_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from /home/steam/tf-dedicated/platform/platform_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from /home/steam/tf-dedicated/platform/platform_misc.vpk for pure server operation.
server_srv.so loaded for "Team Fortress"
For FCVAR_REPLICATED, ConVar must be defined in client and game .dlls (sv_use_steam_voice)
ProtoDefs post data loaded.
ProtoDefs loaded. 16.46 MB used
ProtoDefs post data loaded.
ProtoDefs loaded. 16.46 MB used
maxplayers set to 24
No '-replayserverdir' parameter found - using default replay folder.
Replay: Creating thread pool...succeeded.
Replay: Starting thread pool with 4 threads...succeeded.
Cleaning files from temp dir, "/home/steam/tf-dedicated/tf/replay/server/tmp/" ...no files removed.
ProtoDefs post data loaded.
ProtoDefs post data loaded.
Setting breakpad minidump AppID = 232251
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Unknown command "r_decal_cullsize"
"clientport" = "27005"
- Host game client port
maxplayers set to 24
ConVarRef dev_loadtime_map_start doesn't point to an existing ConVar
Unknown command "net_public_adr"
Unknown command "startupmenu"
Network: IP 0.0.0.0, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Initializing Steam libraries for secure Internet server
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 11 milliseconds to initialize
RecordSteamInterfaceCreation (PID 57): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 57): SteamUtils010 /
Setting breakpad minidump AppID = 440
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
RecordSteamInterfaceCreation (PID 57): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 57): SteamUtils010 /
RecordSteamInterfaceCreation (PID 57): SteamNetworking006 /
RecordSteamInterfaceCreation (PID 57): SteamGameServerStats001 /
RecordSteamInterfaceCreation (PID 57): STEAMHTTP_INTERFACE_VERSION003 /
RecordSteamInterfaceCreation (PID 57): STEAMINVENTORY_INTERFACE_V003 /
RecordSteamInterfaceCreation (PID 57): STEAMUGC_INTERFACE_VERSION015 /
Setting breakpad minidump AppID = 232250
Logging into Steam game server account
RecordSteamInterfaceCreation (PID 57): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 57): SteamUtils010 /
RecordSteamInterfaceCreation (PID 57): SteamNetworking006 /
RecordSteamInterfaceCreation (PID 57): SteamGameServerStats001 /
RecordSteamInterfaceCreation (PID 57): STEAMHTTP_INTERFACE_VERSION003 /
RecordSteamInterfaceCreation (PID 57): STEAMINVENTORY_INTERFACE_V003 /
RecordSteamInterfaceCreation (PID 57): STEAMUGC_INTERFACE_VERSION015 /
L 09/28/2021 - 18:58:13: [GEOIP] GeoIP database info: GeoLite2-Country-CSV_20210810 converted to legacy DB with sherpya/geolite2legacy by miyuru.lk���
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
Using map cycle file 'cfg/mapcycle.txt'.
RecordSteamInterfaceCreation (PID 57): SteamGameStats001 /
Set motd from file 'cfg/motd.txt'
Set motd_text from file 'cfg/motd_text_default.txt'. ('cfg/motd_text.txt' was not found.)
SV_ActivateServer: setting tickrate to 66.7
RecordSteamInterfaceCreation (PID 57): SteamGameCoordinator001 /
Connection to game coordinator established.
Current item schema is up-to-date with version 8DA2CC22.
Cannot change maxplayers while the server is running
Server logging enabled.
Server logging data to file logs/L0928025.log
L 09/28/2021 - 18:58:22: Log file started (file "logs/L0928025.log") (game "/home/steam/tf-dedicated/tf") (version "6791595")
L 09/28/2021 - 18:58:22: server_cvar: "sv_contact" "fps@withgod.jp"
--------------------------------------------------------
sv_pure set to 2.
Note: Waiting for the next changelevel to apply the current value.
--------------------------------------------------------
L 09/28/2021 - 18:58:22: Banid: "<><[U:1:1183558894]><>" was banned "permanently" by "Console"
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
[SM] Changed cvar "mp_waitingforplayers_time" to "45".
L 09/28/2021 - 18:58:22: [basecommands.smx] "Console<0><Console><Console>" changed cvar (cvar "mp_waitingforplayers_time") (value "45")
'koth_sawmill.cfg' not present; not executing.
Server is hibernating
Connection to Steam servers successful.
Public IP to Steam is 153.126.149.119.
Assigned persistent gameserver Steam ID [G:1:4464219].
VAC secure mode is activated.
L 09/28/2021 - 18:58:23: server_cvar: "sm_nextmap" "koth_viaduct"
L 09/28/2021 - 18:58:23: [mapchooser_extended.smx] Loaded map list for tf.
ubuntu@secondary:~$ docker exec -it tf2-3 bash /home/steam/entry.sh
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '232250' already up to date.
Auto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.
Updating server using Steam.
----------------------------
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK
@ShutdownOnFailedCommand 1
"@ShutdownOnFailedCommand" = "1"
@NoPromptForPassword 1
"@NoPromptForPassword" = "1"
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
force_install_dir /home/steam/tf-dedicated
app_update 232250
Success! App '232250' already up to date.
quit
----------------------------
Using Breakpad minidump system. Version: 6791595 AppID: 232250
Setting breakpad minidump AppID = 232250
Using breakpad crash handler
Loaded 10224 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_textures.vpk for pure server operation.
Loaded 10224 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_textures.vpk for pure server operation.
Loaded 476 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_sound_vo_english.vpk for pure server operation.
Loaded 476 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_sound_vo_english.vpk for pure server operation.
Loaded 1343 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_sound_misc.vpk for pure server operation.
Loaded 1343 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_sound_misc.vpk for pure server operation.
Loaded 2634 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_misc.vpk for pure server operation.
Loaded 2634 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_misc.vpk for pure server operation.
Loaded 2634 VPK file hashes from /home/steam/tf-dedicated/tf/tf2_misc.vpk for pure server operation.
Loaded 1217 VPK file hashes from /home/steam/tf-dedicated/hl2/hl2_textures.vpk for pure server operation.
Loaded 574 VPK file hashes from /home/steam/tf-dedicated/hl2/hl2_sound_vo_english.vpk for pure server operation.
Loaded 383 VPK file hashes from /home/steam/tf-dedicated/hl2/hl2_sound_misc.vpk for pure server operation.
Loaded 451 VPK file hashes from /home/steam/tf-dedicated/hl2/hl2_misc.vpk for pure server operation.
Loaded 451 VPK file hashes from /home/steam/tf-dedicated/hl2/hl2_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from /home/steam/tf-dedicated/platform/platform_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from /home/steam/tf-dedicated/platform/platform_misc.vpk for pure server operation.
server_srv.so loaded for "Team Fortress"
For FCVAR_REPLICATED, ConVar must be defined in client and game .dlls (sv_use_steam_voice)
ProtoDefs post data loaded.
ProtoDefs loaded. 16.46 MB used
ProtoDefs post data loaded.
ProtoDefs loaded. 16.46 MB used
maxplayers set to 16
No '-replayserverdir' parameter found - using default replay folder.
Replay: Creating thread pool...succeeded.
Replay: Starting thread pool with 4 threads...succeeded.
Cleaning files from temp dir, "/home/steam/tf-dedicated/tf/replay/server/tmp/" ...no files removed.
ProtoDefs post data loaded.
ProtoDefs post data loaded.
Setting breakpad minidump AppID = 232251
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Unknown command "r_decal_cullsize"
"clientport" = "27005"
- Host game client port
maxplayers set to 16
ConVarRef dev_loadtime_map_start doesn't point to an existing ConVar
Unknown command "net_public_adr"
Unknown command "host_workshop_collection"
Unknown command "workshop_start_map"
Unknown command "startupmenu"
WARNING: Port 27015 was unavailable - bound to port 27016 instead
WARNING: Port 27005 was unavailable - bound to port 27006 instead
WARNING: Port 27020 was unavailable - bound to port 27021 instead
Network: IP 0.0.0.0, mode MP, dedicated Yes, ports 27016 SV / 27006 CL
Initializing Steam libraries for secure Internet server
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 12 milliseconds to initialize
RecordSteamInterfaceCreation (PID 162): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 162): SteamUtils010 /
Setting breakpad minidump AppID = 440
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
RecordSteamInterfaceCreation (PID 162): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 162): SteamUtils010 /
RecordSteamInterfaceCreation (PID 162): SteamNetworking006 /
RecordSteamInterfaceCreation (PID 162): SteamGameServerStats001 /
RecordSteamInterfaceCreation (PID 162): STEAMHTTP_INTERFACE_VERSION003 /
RecordSteamInterfaceCreation (PID 162): STEAMINVENTORY_INTERFACE_V003 /
RecordSteamInterfaceCreation (PID 162): STEAMUGC_INTERFACE_VERSION015 /
Setting breakpad minidump AppID = 232250
Logging into Steam game server account
RecordSteamInterfaceCreation (PID 162): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 162): SteamUtils010 /
RecordSteamInterfaceCreation (PID 162): SteamNetworking006 /
RecordSteamInterfaceCreation (PID 162): SteamGameServerStats001 /
RecordSteamInterfaceCreation (PID 162): STEAMHTTP_INTERFACE_VERSION003 /
RecordSteamInterfaceCreation (PID 162): STEAMINVENTORY_INTERFACE_V003 /
RecordSteamInterfaceCreation (PID 162): STEAMUGC_INTERFACE_VERSION015 /
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
Using map cycle file 'cfg/mapcycle_default.txt'. ('cfg/mapcycle.txt' was not found.)
RecordSteamInterfaceCreation (PID 162): SteamGameStats001 /
Set motd from file 'cfg/motd_default.txt'. ('cfg/motd.txt' was not found.)
Set motd_text from file 'cfg/motd_text_default.txt'. ('cfg/motd_text.txt' was not found.)
SV_ActivateServer: setting tickrate to 66.7
RecordSteamInterfaceCreation (PID 162): SteamGameCoordinator001 /
Connection to game coordinator established.
Current item schema is up-to-date with version 8DA2CC22.
--------------------------------------------------------
sv_pure value unchanged (current value is 0).
--------------------------------------------------------
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
Server logging enabled.
Server logging data to file logs/L0929001.log
L 09/29/2021 - 18:18:07: Log file started (file "logs/L0929001.log") (game "/home/steam/tf-dedicated/tf") (version "6791595")
Unknown command "mp_autoteambalance_delay"
Unknown command "mp_autoteambalance_warning_delay"
L 09/29/2021 - 18:18:07: server_cvar: "mp_stalemate_enable" "1"
L 09/29/2021 - 18:18:07: server_cvar: "mp_timelimit" "35"
L 09/29/2021 - 18:18:07: server_cvar: "decalfrequency" "30"
'ctf_2fort.cfg' not present; not executing.
Server is hibernating
Connection to Steam servers successful.
Public IP to Steam is 153.127.49.53.
Assigned persistent gameserver Steam ID [G:1:4490238].
VAC secure mode is activated.
L 09/29/2021 - 18:18:07: server_cvar: "sm_nextmap" "tc_hydro"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment