SRCDS Steam group


[ABANDONED] LAN server is not listed under LAN tab
#1
There's a 250 people lanparty starting in less than six hours and i just discovered that my server isn't listed under the LAN tab in CS source (or any tab for that matter). In fact, it never did.

Linux: Fedora 13 Goddard
Counter-Strike Source, srcds orangebox

I quote server.counter-strike.net:
Quote:Now the server should be visible in your game-browser - except for 2 cases:

1) either your server or/and your client has internetaccess at the same time
2) you're trying to use the +ip - switch with a LAN-server

My launch command is now:
Code:
./srcds_run -game cstrike +map de_dust2 +maxplayers 32 -port 27015 +fps_max 122 -ip 192.168.250.253 -nomaster +sv_lan 1 -insecure -nohltv -pingboost 2

When i don't use the -ip switch, srcds will listen only on the loopback interface.
Code:
[steam@DDBS-2U1 srcds]$ ./srcds_run -game cstrike +map de_dust2 +maxplayers 32 -port 27015 +fps_max 122 -nomaster +sv_lan 1 -insecure -nohltv -pingboost 2
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.

Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 32
maxplayers set to 32
Network: IP 127.0.0.1, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Executing dedicated server config file
Incorrect price blob version! Update your server!
ERROR: mp_dynamicpricing set to 1 but couldn't download the price list!
Error: Material "sprites/bubble" : proxy "AnimatedTexture" not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
appdatacache.cpp (311) : Assertion Failed: !"Implement me"
couldn't exec banned_user.cfg
couldn't exec banned_ip.cfg
couldn't exec mani_server.cfg
couldn't exec mani_quake_sounds.cfg
Unknown command "zb_active"
Master server communication disabled.
and then it just hangs there, doing nothing.

Furthermore it starts without any hassle in a screen session but doesn't when executed directly, oddly enough.


I'm trying other options as this post was written, it'll be updated.
---

Edit: currently downloading new install, 25% in two hours.
Steam username for communication: root_admin (but i'm just a regular user)
Reply
#2
Just as you know, the information to the start command you got from server.counter-strike.net is for HLDS(1.6), and some of them don't match the SRCDS, so you can't use all the commands.

I a have problem related to yours; first I couldn't find the servers in the LAN tab. Then I added +ip x.x.x.x to the start command, and then I could see it. But now I'm not able to control the server with rcon, because of an unknown error: Unable to connect to remote server(ip:port). I've triede using the +port, but it didn't solve it. So in my case it's my OS(debian) that blocks the rcon.

This is my start command:
Code:
./srcds_run -console -game cstrike +map de_dust2 -maxplayers 10 -autoupdate +ip x.x.x.x

EDIT:
Problem solved:
Code:
su
cd /
pico etc/hosts
Where i changed the 127.0.1.1 to the servers actual IP(in my case 192.168.1.108)

When I host a server i don't use
Code:
+ip x.x.x.x
in start command. Now i'm able to control the rcon and at the still be able to see there server in the 'LAN' tab in Steam -> Servers.
Reply
#3
Update: I'm now at the lanparty (5 hours into lan) and the server still can't be found, people can connect to it though if they enter the ip in their console.
The -/+ don't change the situation. Perhaps a bug? Anyone?
Steam username for communication: root_admin (but i'm just a regular user)
Reply
#4
Have you tried removing the "-nomaster"?
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#5
loopyman, i have tried several launch commands, including and excluding "-nomaster". There's no light at the end of the tunnel.
Steam username for communication: root_admin (but i'm just a regular user)
Reply
#6
Sounds like it...
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#7
Did the port ranges change since the orangebox update?
I'm accepting TCP and UDP traffic on port 27015, allowing traffic on port 27005.
Some magical broadcast port perhaps?

Btw, if anyone has trouble seeing servers in the LAN tab, even when others see it then it's a good thing to disable all other (virtual) interfaces. I don't know why but it solved one problem here, the server issue still persists.
Steam username for communication: root_admin (but i'm just a regular user)
Reply
#8
Allow only inbound connections on 27015, and then allow any outbound connections
In other words, the only inbound port you will need to worry about is 27015... All others are outbound in which case don't matter.

Eh, I'm a Windows host, I'm not very familiar with linux... Sorry I can't be much a help.
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#9
Since its LAN, forwarding the TCP or UDP port will not make a difference. Forwarding them will only making them able to join the servers through the internet tab.
I would recommend you to keep your start command more simple. So instead of the command you posted, try mine:

Code:
./srcds_run -console -game cstrike +map de_dust2 -maxplayers 10 -autoupdate
You don't need all those commands you use. Smile

I keep it simple(Keep It Simple Stupid - it helped me a lot!), and I recommend you to do it also. And to be sure it works 100% with rcon and still be able to see it under the LAN tab, you have to do this:

Code:
su
cd /
pico etc/hosts
Where i changed the 127.0.1.1 to the servers actual IP(in my case 192.168.1.108)

I'm running debian - which are you?
Reply
#10
@fuglsang: I'm not forwarding any ports, just opening them in iptables.
You're right, it's better to keep te command line simple and i've done that, unfortunately the problem persists.
Keep in mind that the server binds to the localhost ip 127.0.0.1 if i don't specify an IP myself.

I see this error message when i start the CS source server:
Quote:cminterface.cpp (810) : Assertion Failed: 0 != m_hConnection
/home/VALVE/rackadmin/buildslave/steam_rel_client_linux/build/src/clientdll/cminterface.cpp 810 Assertion Failed: 0 != m_hConnection

Most forums talk about IP assigning issues but this confuses me since the server IS listening on the right IP, port and even accepts traffic.

(22 hours left of 3-day lanparty)

Edit:
I also discovered this error message:
Quote:[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient.dll. Continuing with current version anyway.
baseuser.cpp (424) : Assertion Failed: couldn't find entrypoint 'GetBaseUserDir'
/home/VALVE/rackadmin/buildslave/steam_rel_client_linux/build/src/clientdll/baseuser.cpp 424 Assertion Failed: couldn't find entrypoint 'GetBaseUserDir'
and i have no idea what it means since i don't own the source code.

Edit 2:
When i try to add the server to my favorites and click "find servers at this address", CS replies with "Server is not responding" whilst other LAN servers are listed.

Edit 3:
On a clean server the following error message disappears as i remove the -insecure argument:
Quote:cminterface.cpp (810) : Assertion Failed: 0 != m_hConnection
/home/VALVE/rackadmin/buildslave/steam_rel_client_linux/build/src/clientdll/cminterface.cpp 810 Assertion Failed: 0 != m_hConnection
Steam username for communication: root_admin (but i'm just a regular user)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)