srcds problem

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
WackyIraqi
A regular
A regular
Posts: 34
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Feb 16, 2010 12:37 pm

srcds problem

Post by WackyIraqi »

I'm currently having a problem running a hidden: source server on my VDS. When I run the GUI of the server, set my parameters, and start it up the server works and I can join and play etc. When I launch srcds.exe using startup parameters and run it with console mod on, it says it launches and is up, but I can not join, nor do I see it in the server browser. The logs say it reports to steam master server list etc. and shows the FPS/players/map but can't join.
My current shortcut to srcds.exe:

Code: Select all

C:\srcds\srcds.exe -console -game hidden -maxplayers 9 -tickrate 100 -port 27015 +map hdn_stalkyard +exec server.cfg
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: srcds problem

Post by Edge100x »

Hmm, that's a bit odd. In the console, what is the output of the "status" command?
WackyIraqi
A regular
A regular
Posts: 34
Joined: Tue Feb 16, 2010 12:37 pm

Re: srcds problem

Post by WackyIraqi »

Code: Select all

hostname: WGO Paradise | NYC | 100 Tick
version: 1.0.1.0/7 4044 secure
udp/ip: 63.251.20.198:27015
map: hdn_stalkyard at: 0 x, 0 y, 0 z
players: 0 (9 max)

# userid name uniqueid connected ping loss state adr
WackyIraqi
A regular
A regular
Posts: 34
Joined: Tue Feb 16, 2010 12:37 pm

Re: srcds problem

Post by WackyIraqi »

I am currently running Windows 2008 R2 if that makes any difference. If that is thought to be the problem I could switch to Linux perhaps. I just chose windows as that is what I am most familiar with.
WackyIraqi
A regular
A regular
Posts: 34
Joined: Tue Feb 16, 2010 12:37 pm

Re: srcds problem

Post by WackyIraqi »

Please excuse the triple post but it seems editing is disabled. All of a sudden the server showed up on the master server list and I tried connect through that instead of using the connect console command and it worked. Very odd...
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: srcds problem

Post by Edge100x »

Windows 2008 has a bug that Windows 2008 R2 might also have, regarding the default IP, and this could be causing the problem here. Try adding an explicit IP specification to your command line, like this:

-ip xxx.xxx.xxx.xxx

I have a feeling that will work. :)
rustydusty1717
This is my homepage
This is my homepage
Posts: 645
Joined: Sun Sep 20, 2009 6:15 pm

Re: srcds problem

Post by rustydusty1717 »

I had the same issue, and adding the ip command fixed it. Since then I always add the ip command just to make sure.
Image
astroglide
New to forums
New to forums
Posts: 6
Joined: Tue Jan 26, 2010 2:59 pm

Re: srcds problem

Post by astroglide »

Edge100x wrote:Windows 2008 has a bug that Windows 2008 R2 might also have, regarding the default IP, and this could be causing the problem here. Try adding an explicit IP specification to your command line, like this:

-ip xxx.xxx.xxx.xxx

I have a feeling that will work. :)
Also, if you are running the server as a service and then mistakenly launch your desktop shortcut to srcds.exe, it creates another server with the same config, ip, but the port number changes by default. I had that happen a few times until I figured out that I either needed to run it as a service, or as a standalone application.
Post Reply