[TF2] [srcds_win64] TF2 server with new srcds_win64.exe works LAN mode only.
Summary
- TF2 server with new srcds_win64.exe looks failed load Steam libraries, and it works LAN mode only.
Steps to Reproduce
- Install new TF2 server with steamcmd.
- Start srcds_win64.exe with clean state and minimal options, with no mods, etc. installed.
Expected Behavior
- It can be started and normaly works in the same way as the 32-bit version of srcds.exe.
Actual Behavior
- It looks not be able to load the Steam support library. And it starts up with operate LAN mode only.
- The server is not visible from ingame server browser over the Internet.
- When try to connect from the console of the TF2 client using the connect command, can not connect because server's LAN mode is force enabled.
Logs
- Clean install with steamcmd
set runcmd=%~dp0
set username=anonymous
set password=
set appid=232250
cd %runcmd%
start /wait steamcmd +login %username% %password% +force_install_dir %runcmd%server\ +app_update %appid% validate +quit
- Start the server with srcds_win64.exe
>start /high /wait D:\GameServer\TEST\server\srcds_win64.exe -game tf -console +map cp_dustbowl -port 27015 -nocrashdialog
66.8 fps 0/24 on map cp_dustbowl
Console initialized.
Using Breakpad minidump system. Version: 8830351 AppID: 232250
Loaded 11368 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_textures.vpk for pure server operation.
Loaded 11368 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_textures.vpk for pure server operation.
Loaded 480 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_sound_vo_english.vpk for pure server operation.
Loaded 480 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_sound_vo_english.vpk for pure server operation.
Loaded 1344 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_sound_misc.vpk for pure server operation.
Loaded 1344 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_sound_misc.vpk for pure server operation.
Loaded 2863 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_misc.vpk for pure server operation.
Loaded 2863 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_misc.vpk for pure server operation.
Loaded 2863 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_misc.vpk for pure server operation.
Loaded 1232 VPK file hashes from D:\GameServer\TEST\server\hl2\hl2_textures.vpk for pure server operation.
Loaded 574 VPK file hashes from D:\GameServer\TEST\server\hl2\hl2_sound_vo_english.vpk for pure server operation.
Loaded 383 VPK file hashes from D:\GameServer\TEST\server\hl2\hl2_sound_misc.vpk for pure server operation.
Loaded 450 VPK file hashes from D:\GameServer\TEST\server\hl2\hl2_misc.vpk for pure server operation.
Loaded 450 VPK file hashes from D:\GameServer\TEST\server\hl2\hl2_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from D:\GameServer\TEST\server\platform\platform_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from D:\GameServer\TEST\server\platform\platform_misc.vpk for pure server operation.
server.dll 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. 40.23 MB used
ProtoDefs post data loaded.
ProtoDefs loaded. 40.23 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, "d:\gameserver\test\server\tf\replay\server\tmp\" ...no files removed.
ProtoDefs post data loaded.
ProtoDefs post data loaded.
Unknown command "r_decal_cullsize"
Network: IP 192.168.255.11, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Initializing Steam libraries for secure Internet server
*********************************************************
*********************************************************
* Unable to load Steam support library.*
* Unable to load Steam support library.*
* This server will operate in LAN mode only.*
* This server will operate in LAN mode only.*
*********************************************************
*********************************************************
[TF Workshop] Failed to get Steam UGC service, refresh failed
CMaterialSystem::ReloadMaterials bDeviceReady false
SOLID_VPHYSICS static prop with no vphysics model! (models/props_foliage/grass_02_cluster01.mdl)
Executing dedicated server config file server.cfg
Using map cycle file 'cfg/mapcycle_default.txt'. ('cfg\mapcycle.txt' was not found.)
material models/weapons/c_items/c_ubersaw_xms has a normal map and $basealphaenvmapmask. Must use $normalmapalphaenvmapmask to get specular.
material models/weapons/c_items/c_frontierjustice_xmas has a normal map and $basealphaenvmapmask. Must use $normalmapalphaenvmapmask to get specular.
material models/player/items/all_class/all_class_ring_setting has a normal map and $basealphaenvmapmask. Must use $normalmapalphaenvmapmask to get specular.
material models/player/items/crafting/coin_invasion has a normal map and $basealphaenvmapmask. Must use $normalmapalphaenvmapmask to get specular.
VSCRIPT: Started VScript virtual machine using script language 'Squirrel'
VSCRIPT: Started VScript virtual machine using script language 'Squirrel'
Script not found (scripts/vscripts/mapspawn.nut)
Script not found (scripts/vscripts/mapspawn.nut)
-- Error --: empty soundname, .qc error on AE_CL_PLAYSOUND in model player/pyro.mdl, sequence taunt_skating_scorcher_intro, animevent # 9
-- Error --: empty soundname, .qc error on AE_CL_PLAYSOUND in model player/pyro.mdl, sequence taunt_skating_scorcher_trick2, animevent # 7
-- Error --: empty soundname, .qc error on AE_CL_PLAYSOUND in model player/pyro.mdl, sequence taunt_skating_scorcher_trick1, animevent # 6
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
[TF Workshop] Failed to get Steam UGC service, refresh failed
'server.cfg' not present; not executing.
'cp_dustbowl.cfg' not present; not executing.
Server is hibernating
- Connection denied after trying to connect directly with the connect command in the game.
]
] connect 160.*.*.*:27015
Network: IP 192.168.1.10, mode MP, dedicated No, ports 27015 SV / 27005 CL
Connecting to 160.*.*.*:27015...
LAN servers are restricted to local clients (class C).
- Start the server with normal srcds.exe (for my operation check)
>start /high /wait D:\GameServer\TEST\server\srcds.exe -game tf -console +map cp_dustbowl -port 27015 -nocrashdialog
67.0 fps 0/24 on map cp_dustbowl
Console initialized.
Using Breakpad minidump system. Version: 8830351 AppID: 232250
Loaded 11368 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_textures.vpk for pure server operation.
Loaded 11368 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_textures.vpk for pure server operation.
Loaded 480 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_sound_vo_english.vpk for pure server operation.
Loaded 480 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_sound_vo_english.vpk for pure server operation.
Loaded 1344 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_sound_misc.vpk for pure server operation.
Loaded 1344 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_sound_misc.vpk for pure server operation.
Loaded 2863 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_misc.vpk for pure server operation.
Loaded 2863 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_misc.vpk for pure server operation.
Loaded 2863 VPK file hashes from D:\GameServer\TEST\server\tf\tf2_misc.vpk for pure server operation.
Loaded 1232 VPK file hashes from D:\GameServer\TEST\server\hl2\hl2_textures.vpk for pure server operation.
Loaded 574 VPK file hashes from D:\GameServer\TEST\server\hl2\hl2_sound_vo_english.vpk for pure server operation.
Loaded 383 VPK file hashes from D:\GameServer\TEST\server\hl2\hl2_sound_misc.vpk for pure server operation.
Loaded 450 VPK file hashes from D:\GameServer\TEST\server\hl2\hl2_misc.vpk for pure server operation.
Loaded 450 VPK file hashes from D:\GameServer\TEST\server\hl2\hl2_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from D:\GameServer\TEST\server\platform\platform_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from D:\GameServer\TEST\server\platform\platform_misc.vpk for pure server operation.
server.dll 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. 31.30 MB used
ProtoDefs post data loaded.
ProtoDefs loaded. 31.30 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, "d:\gameserver\test\server\tf\replay\server\tmp\" ...no files removed.
ProtoDefs post data loaded.
ProtoDefs post data loaded.
Unknown command "r_decal_cullsize"
Network: IP 192.168.255.11, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Initializing Steam libraries for secure Internet server
No account token specified; logging into anonymous game server account. (Use sv_setsteamaccount to login to a persistent account.)
CMaterialSystem::ReloadMaterials bDeviceReady false
SOLID_VPHYSICS static prop with no vphysics model! (models/props_foliage/grass_02_cluster01.mdl)
Executing dedicated server config file server.cfg
Using map cycle file 'cfg/mapcycle_default.txt'. ('cfg\mapcycle.txt' was not found.)
material models/weapons/c_items/c_ubersaw_xms has a normal map and $basealphaenvmapmask. Must use $normalmapalphaenvmapmask to get specular.
material models/weapons/c_items/c_frontierjustice_xmas has a normal map and $basealphaenvmapmask. Must use $normalmapalphaenvmapmask to get specular.
material models/player/items/all_class/all_class_ring_setting has a normal map and $basealphaenvmapmask. Must use $normalmapalphaenvmapmask to get specular.
material models/player/items/crafting/coin_invasion has a normal map and $basealphaenvmapmask. Must use $normalmapalphaenvmapmask to get specular.
VSCRIPT: Started VScript virtual machine using script language 'Squirrel'
VSCRIPT: Started VScript virtual machine using script language 'Squirrel'
Script not found (scripts/vscripts/mapspawn.nut)
Script not found (scripts/vscripts/mapspawn.nut)
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
Connection to game coordinator established.
Current item schema is up-to-date with version D8C03F67.
'server.cfg' not present; not executing.
'cp_dustbowl.cfg' not present; not executing.
Server is hibernating
Connection to Steam servers successful.
Public IP to Steam is 160.***.***.***.
Assigned anonymous gameserver Steam ID [A:1:2424419339:*****].
VAC secure mode is activated.
Environment
- OS: Windows Server 2022 Datacenter (21H2/20348.2402)
- CPU: AMD Ryzen 7 5800X 8-Core Processor 3.80 GHz (allocated 4cores)
- Mem: 8GB is allocated to this VM, of the total 64GB of DDR4 memory.
- Note: This is a virtual machine.
Additional Context
- I have not tested the connection from within the network of the server installation environment. So it is possible that may not be able to connect from the same LAN, or there may be other problems.
I have the exact same problem since the 64 bit update. I've searched for multiple solution and someone mentioned something about an orangebox folder where you would need a steam_appid.txt (which is in the root of the server anyway). (link here) It didn't work either, i can connect to my server (from public ip) but loadouts are unavailable. IDK if this could be related to sourcemods plugins but I'm starting to loose it, I will try to ask any server hoster I can find and update you here if i get anything.
@Frenchineer
Your problem looks a different than this problem I have created... This problem is that can not even connect to the server over the internet.
I don't know your environment and it is not a clean environment when you have installed SourceMod in it. I would recommend that you first remove SourceMod and validate files with steamcmd's "validate" option, or install a new server and proceed to check the cause of the problem from a minimal clean state.
This is pretty much exactly the same issue I just ran into. We even run the same Window 2022 OS and run from a VDS.
Things I have tried:
- I thought maybe the steamcmd.exe was outdated and needed to be updated. So I went here: C:\Valve deleted everything and added steamcmd.exe and did a fresh install of this dir.
- I then installed a fresh server with the following command line using a batch file:
C:\Valve\steamcmd +@ShutdownOnFailedCommand 1 +login anonymous +force_install_dir C:\serversnew\temp +app_update 232250 validate +quit - Everything installed correctly and looks fine and I loaded the server with the following command line batch file:
C:\serversnew\temp\srcds_win64.exe -console -game tf -maxplayers 26 -ip <myip> -port <myport> +map ctf_2fort +exec server.cfg -nocrashdialog -nobreakpad
The server loads up but with the "Unable to load Steam support library" "This server will operate in LAN mode only" errors. If I remove _win64 from the start up and run the server on 32bit it runs perfectly fine without errors.
https://forums.alliedmods.net/showpost.php?p=2413143&postcount=13
Also, I saw this post when doing research and multiple people mentioning registry keys, but they are all very old posts. I tried it anyway just to see what happens. I renamed the Valve registry and ran a fresh steamcmd.exe install along with a fresh server install. It did create a new Valve registry but it didn't fix the issue even though I reinstalled the server a few more times from scratch. (I didn't shut down all my other servers however like the post suggested, just the one I was testing with.)
I also saw mentioned a few times people talking about issues with Steam itself being installed on the same machine you run your servers on possibly causing issues. However, my machine does not have Steam installed on it only the Valve folder with the steamcmd.exe files.
Spent a couple hours trying to figure out what is going wrong without any luck. If anyone can help it would be greatly appreciated.
I was able to get a Windows 64bit server to work.
I went here: D:\Steam on my home PC with Steam installed and copied the following files into my bin\x64 folder on a freshly installed server on my VDS:
vstdlib_s64.dll
tier0_s64.dll
steamclient64.dll
After doing this the error goes away and it's no longer in LAN mode running 64bit. So it seems some files are just not shipping when installing a server using steamcmd.exe and not having Steam client installed on the same machine.
Thanks @fearts you saved my ass and @NekomanmaCc for oppening this ticket, hope this solve the problem for you too. Since i didn't explained more of my situation at the time, I tried both with and without sourcemod, but i just turned out to be steam CMD not doing its job, this sure will not be anoying at all in the future if any of those file gets updated only client side.
This solved the problem for my 32bit server, tho i can't find the 3 files (vstdlib_s64.dll tier0_s64.dll steamclient64.dll) in my client tf2 for some reason (its up to date so idk)
After todays update this issue is now resolved. I have tested it on a fresh server and it installs properly with the correct files and loads without issues.
Closing per the last comment.