SRCDS Steam group


[Solved] L4D2 DS - Can't connect via LAN or Steam, read all threads
#1
Hello,

First, let me say that I have read every thread I can find about this issue before posting here.


I made a L4D2 dedicated server, everything is up to date. Ports 27016 and 27017 are both open and tested.

The server appears to start normally (See below for console contents) but I cannot connect either by typing "connect LANIP" in the console of the other client computer on the same lan, or by typing "connect WANIP" in the console on the client computer. If I check the console on the client after I try and connect, it says retrying, then after ten failed attempts a box appears onscreen that says "Could not connect after 10 retries".

I can't for the life of me figure out what I'm doing wrong.

Thanks for any help you guys might have for me.



Sys specs:

WinXP Pro SP3
Athlon 1800XP
4 Gigs RAM

Here's my startup shortcut:

Code:
D:\SRCDS\left4dead2\srcds.exe -console -game left4dead2 -hostip 24.186.250.205 -port 27016 -ip 192.168.1.80 -secure +map c5m1_waterfront.bsp -sport 27017

Here's my server.cfg:

Code:
hostname "Bo5R"
// Rcon Cvars
rcon_password xxxxxxxxx
//Set’s remote control password
// Server Cvars
hostip 24.186.250.205
mp_disable_autokick 1 //Prevents a userid from being auto-kicked
sv_allow_wait_command 0 //Allow or disallow the wait command on clients connected to this server.
sv_alltalk 0 //Players can hear all other players, no team restrictions
sv_alternateticks 0 //If set, server only simulates entities on even numbered ticks.
sv_clearhinthistory 0 //Clear memory of server side hints displayed to the player.
sv_consistency 1 //Whether the server enforces file consistency for critical files
sv_contact “” //Contact email for server sysop
sv_downloadurl “” //Location from which clients can download missing files
// Lan or internet play, Server region cvars
sv_lan 0 //If set to 1,Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
sv_region 0 // Region Codes: 0 – US East coast, 1 – US West coast, 2 – South America, 3 – Europe, 4 – Asia, 5 – Australia, 6 – Middle East, 7 – Africa, 255 – world
// Server Logging
sv_log_onefile 0 //Log server information to only one file.
sv_logbans 1 //Log server bans in the server logs.
sv_logecho 0 //Echo log information to the console.
sv_logfile 1 //Log server information in the log file.
//sv_logflush 0 //Flush the log file to disk on each write (slow).
sv_logsdir “logs” //Folder in the game directory where server logs will be stored.
//Server Rates
sv_minrate 0
sv_maxrate 25000

This is the console output when I start the server:

http://img521.imageshack.us/img521/5392/clipv.jpg


Attached Files
.jpg   Clip.jpg (Size: 184.81 KB / Downloads: 8)
Reply
#2
What kind of firewall are you using?

Are you running any other game servers on this box already?

Also, the server.cfg file does not like quotes on anything you are defining other than the sv_password "" cvar.
-Ryan
Gamers don't die... They just respawn.
Respawn Gaming - Co-Owner
[Image: b_350x20_CFFAD41-E98100-000000-591F11.png]
[Image: b_350x20_C692108-381007-FFFFFF-000000.png]
Reply
#3
Thanks for the reply, Tech.

No firewalls are active. Thanks for the tip on the quotes, but even after removing them the problem persists. No other games are running on this box, and it's a brand-new complete format and clean installation of windows. SCRDS is nearly the only program on the system.
Reply
#4
There is some type of firewall in place because this is in the internal address: 192.168.1.80. Do you have a Linksys router or something?

As for people not being able to connect, do you have any logs you are able to post?

Also, try this for the startup cmd:

D:\SRCDS\left4dead2\srcds.exe -console -game left4dead2 -port 27016 -nocrashdialog -debug +map c5m1_waterfront

Let me know how that goes.

-Ry
-Ryan
Gamers don't die... They just respawn.
Respawn Gaming - Co-Owner
[Image: b_350x20_CFFAD41-E98100-000000-591F11.png]
[Image: b_350x20_C692108-381007-FFFFFF-000000.png]
Reply
#5
Thanks Tech,

Yes of course you're right, I'm behind a Linksys router. Sorry, thought you were referring to software. The ports are forwarded and checked to make sure they are open.

I tried your shortcut switches but alas, no good. When I try and connect from the client machine using the lan address, "connection failed after 10 retries", and same if I type in the the WAN ip.

The logs don't even show my connection attempts.
Reply
#6
For grins, try connecting to my L4D2 server. Maybe it's the client software?

-Ry
-Ryan
Gamers don't die... They just respawn.
Respawn Gaming - Co-Owner
[Image: b_350x20_CFFAD41-E98100-000000-591F11.png]
[Image: b_350x20_C692108-381007-FFFFFF-000000.png]
Reply
#7
Thanks, but I've been playing all morning =\

Simply because I don't know what else to do, I'm going to reinstall the server.
Reply
#8
I'll tell ya, the server config is tricky for L4D2. It's the only game I have really had to be careful what I put in the server config. I finally got mine working and being stable over the weekend.

Try this config:

Code:
hostname Your L4D2 Server // this is your server name as shown in the server list (no quotes)

// start rcon settings

rcon_password P@ssw0rd! // your rcon password to log into the dev rcon console or HLSW rcon console (no quotes)

// end rcon settings

// L4D cvars

sv_password “” // your server password. a pair of double quotes means it is not set and anyone can join
motd_enabled 1 //This enables or disables the message of the day.
sv_allow_lobby_connect_only 0 //People will only be able to connect from lobby, change to 0 to allow people to join a game in progress
sv_search_key Wicked Awesome L4D2 server //This will allow you to connect to your server from the lobby. (no quotes)
//By setting a sv_search_key in the demo it will keep random players from filling up the server.

// end L4D cvars

// start client specific cvars

sv_cheats 0 // allow cheats to be used by the client. 0 is off 1 is on
sv_consistency 1 // Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on

// end client specific cvars

// start cvars for communication

sv_voiceenable 1 // allow players to use a microphone. 0 is off 1 is on
sv_alltalk 0 // toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off

// end cvars for communication

// bandwidth rates/settings

sv_maxcmdrate 100
cl_cmdrate 30
cl_updaterate 20
rate 20000
sv_minrate 5000
sv_maxrate 8000

// end bandwidth rates/settings

// start server logging

log on // enable or disable server logging. on is on off is off
sv_logbans 1 // Log server bans in the server logs
sv_logecho 0 // Echo log information to the console. 0 is off 1 is on
sv_logfile 1 // Log server information in the log file. 0 is off 1 is on
sv_log_onefile 0 // log everything in one file

// end server logging

// start cvars for general operation

//hostport 27015 (mine is defined in the start up cmd)
sv_lan 0 // is this an internet or LAN server. 0 is internet 1 is LAN
sv_contact ryan.horman@gmail.com // contact email for sysop
sv_pausable 0 // enables or disables whether the server can be paused. 0 is off 1 is on
sv_region 0 // Region Codes: 0 - US East coast, 1 - US West coast, 2 - South America, 3 - Europe, 4 - Asia, 5 - Australia, 6 - Middle East, 7 - Africa, 255 - world

// end cvars for general operation

// execute

exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip

// end of execute

// other

mp_disable_autokick 1
-Ryan
Gamers don't die... They just respawn.
Respawn Gaming - Co-Owner
[Image: b_350x20_CFFAD41-E98100-000000-591F11.png]
[Image: b_350x20_C692108-381007-FFFFFF-000000.png]
Reply
#9
Tech, I cannot thank you enough for your help. I used your server.cfg, and connected! Yes!

I'm not sure whether others can connect, so if you have a second, try and join up. I'll watch the logs for you.
Reply
#10
You are welcome! I'm happy to hear it's working!

Unfortunately, I don't even have the game myself yet... I launched a L4D2 server for a good friend of mine. Haha! I'm hoping to pick it up this weekend.

Thanks,
Ry
-Ryan
Gamers don't die... They just respawn.
Respawn Gaming - Co-Owner
[Image: b_350x20_CFFAD41-E98100-000000-591F11.png]
[Image: b_350x20_C692108-381007-FFFFFF-000000.png]
Reply
#11
Hah, no a new issue has arisen which is really boggling to the mind:

If I start the server, I can join no problem. I noticed that after a while no one had joined. So rebooted and did some random stuff around the house, and when I came back, three people were playing! Rejoice.

However, when I tried to join with people on the server, I get a box in the l4d2 window that says "joining game" (screenshot attached below), and it just sits there.

Arg.

So close, yet so far.


Attached Files
.jpg   loading.jpg (Size: 60.62 KB / Downloads: 8)
Reply
#12
Sorry resurrecting the topic but im having the same problem.
If i use the connect using my internal ip, i can connect BUT if u put my external ip, it doesnt connect. Then i get that message: tried 10 times...

What might be the problem ?

My antivirus has firewall. Its Eset Nod32 and i already created a rule to allow that port to connect: 27015 and 27016

I even use the server.cfg that is this thread and got nothing
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)