[TF2] [Solved] No Loadout on Dedicated Server
NULL ISteamGameServer in ConnectClient. Steam authentication may fail.
A couple of weeks ago now, I noticed I started having this issue on my dedicated server. It is the private TF2 server I use for testing plugins and I have never had any issues in the past. For proper (and easier) testing I need to be able to use my loadout, but due to this error I cannot. There are plenty of resources out there on how to resolve this issue, but none of the proposed solutions work for me. ^- Deleted clientregistry.blob ^- Reinstalled absolutely everything ^- Running no mods at all (not even Metamod) ^- Registering a server identity token and account ^- Forwarding all the correct ports ^- Disabling software firewall (ZoneAlarm) ^- Fully updated server ^- Verified the issue is not the client ^- Set up a reserved static LAN IP ^- Tried running in non-lan (internet) mode ^- Specifying ip and port in command line ^- Specifying different ports ^- Tried forcing a heartbeat I run both the server and client on separate machines, both under an official Windows 7 build. No virtual environment is being used. This is the first time I have had this issue. === === === Note: This issue has now been resolved. The solution for those who do not wish to read all of the posts: Make sure that your installed copy of Steam is not interfering with your Dedicated Server installation. The issue has to do with steamclient.dll being loaded from the incorrect location. Until this can be patched, the easiest solution is to uninstall Steam. Alternatively you may wish to install your dedicated server such that it it is using steamclient.dll from the same location as your steam client. |
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Are you sure you have all ports forwarded correctly? I ask because by default, TF2 listens on port 26901 for connections from Steam.
Why 26901? Because there's a bug in older Source games that make it use the port one higher than the -sport switch, which defaults to 26900. I can confirm that this is still the case on my Linux server: Code:
tf2@powerlord:~$ netstat -lnp | grep srcds |
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
If Steam is installed (it does not need to be running) on the server machine, make sure it is updated.
|
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Quote:
Quote:
|
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Sadly, allowing those extra ports didn't help.
Code:
.Service Type . . . External Start Port . . . External End Port . . . Internal Start Port . . . Internal End Port . . . Internal IP address As an added measure, I also rebooted the router (a Netgear Nighthawk R7000). The only things I can think of that had changed right before this started happening, is TF2 updates and the usual Windows updates. |
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Open ports 20000 to 30000 (not specific port numbers) and see if the problem somehow corrects itself. The port numbers srcds uses can be wonky, and this is the setup I have put in place for my MvM servers.
As a temporary test, you can use DMZ. (Although on my test server, which has no ports open to that machine, the item server connects fine...) As for what asherkin said, if you have the steam client installed on the machine the server is on, make sure it's updated and/or enter the steam beta (this fixed a really odd bug in the past). My servers are on a machine with the steam client on it (which I leave myself logged in to catch chat messages). Although you said you did reinstall everything, run the server validation (app_update 232250 validate) and see if it fixes anything (I'm doubtful if it will, but try it). |
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Good idea about the DMZ, but sadly nothing good.
I have never actually had to forward ports for my dedicated tf2 server in the past, so I am inclined to think this is not the issue. |
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
This isn't a networking problem, it's loading a bad steamclient.dll.
|
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
On top of the fact that port forwarding Steam ports is ludicrous considering that the connection to Steam is outbound, not inbound.
|
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Quote:
|
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
What gets me is how this suddenly started and I read no reports of anyone else recently having this happen too.
Thanks for the info about that library file, I will look into it. Perhaps it got corrupted twice or something crazy? |
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Start over from scratch with a brand new download of steamcmd and everything. That should download the proper library files.
|
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
I already did that.
|
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Deleted steamclient.dll and used steamcmd to update and grab a new copy. Same problem still exists.
Is there a favoured alternate location to grab dedicated server files from? |
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Try running the server on your own personal PC and see if the loadout appears.
Then zip the whole build and copy that over to the server box and try running it. (I'm just talking out of my ass at this point.) |
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Actually, I could copy over the steamclient.dll from my client. It also runs Windows at the moment.
|
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
I still think the problem is that Steam was installed on the machine at some point.
|
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Quote:
The last ditch resort is to reinstall the server OS and set everything up again (but only do it as a very last resort). Actually OP.... How about you install the steam client on your server machine, log into it with your steam account, and then try loading the server? (And if that didn't work, go into the steam client beta and try again.) |
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Or, more sanely, actually diagnose where steamclient is being loaded from with any of a million tools like procexp.
|
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Well I will be darned!
For some reason, it has started loading steamclient.dll from the Steam Client install, instead of the Dedicated Server install. Must have been some recent update. I will pass this onto Eric in the TF Team, plus make a note of it on Reddit incase it helps others there. |
Re: [TF2] [Solved] No Loadout on Dedicated Server
That is by design and has always been the case, yours just got too far out of sync - hence why I said to make sure Steam was updated if installed.
|
Re: [TF2] [Solved] No Loadout on Dedicated Server
That is just pure shitty design. It also bit me in the ass long time ago until SPUF was useful enough to fix it (unfortunately didn't discover Alliedmodders at the time). The fix at the time is to update the steam CLIENT into the steam beta (opt in to the beta).
But hey, glad to see the OP's problem is solved. |
Re: [TF2] [Solved] No Loadout on Dedicated Server
Due to the version being too different?
It really should only pull from the root directory, or at the very least check there first for the file; before crawling elsewhere. |
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Quote:
Quote:
Quote:
Quote:
|
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Quote:
|
Re: [TF2] [Unsolved] No Loadout on Dedicated Server
Quote:
|
All times are GMT -4. The time now is 15:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.