SRCDS Steam group


[Solved] Can't get multiple servers VAC-secured
#1
Hi all! Big Grin Im new to this forums, and this 5min old user is having some issues.

I am renting a VPS from santrex that I am hosting some game servers from.
As of right now, im only hosting 1x CSS 22slot server, but I would like to get a TF2 + L4D server running as well. The only problem is, I cant get them all VAC-secured!

I know there are some threads on this subject around the interwebs, and believe me - I have tried all the tips I could possible get from them, but the problem still exists.

The server is a xeon with 2gb of ram, hosted from a "100mbit unmetered" connection in GER. (Speedtest gives me about 70/70mbit to a server close by, and the CSS players actually gets decent ping from it - some germans gets 10ms Ø20)

This is the problem:
I am running 3x SRCDS.exe from the same server (one external IP).
CS:S
TF:2
L4D.

The first of them to run gets VAC-secured and can establish contact with the steam-servers. Number #2 and #3 - however, cant get connected to steam and doesnt get VAC-secured.
The ports are different (27015, 27016, 27017) and server #1, #2 and #3 can all get VAC+steam contact when running alone, but when running them all togheter, only the first to launch gets proper contact, and the two others are running w/o VAC security, which also means the TF2 server is useless, because people cant use their special achieved weapons, and the L4D & CSS players are haxxing like maniacs etc.

When starting up the server as #2 or #3, I get this readout:
warning: nnnet_opensocket: bind: WSAEINVAL , and sometimes "Could not establish connection to Steam servers".
The server is a Windows 2008 server.

Things I have tried:
- I have tried to have them on ports with more spacing (27015 , 27025, 27035 etc.)
- Also all UDP\TCP portforwarding is okay, since they are running on their respective ports alone and gets contact with steam.
- Have tried startup commands like -sport <secure port number>, -secure
- For ports, I have tried +hostport, +port and -port (because people are saying different things)
- Complete reinstall (Even server OS loaded from fresh IMG.)

The structure looks like this, so its separated - not running from same srcds.exe:
HLServer\CSS\orangebox\srcds.exe
HLServer\TF\orangebox\srcds.exe
HLServer\L4D\l4d\srcds.exe

This is what the console readout is when Im staring the first server:
Code:
Console initialized.
Steam is not active, running in -insecure mode.
Loading unsigned module server.dll
Access to secure servers is disabled.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 20
Unknown command "r_decal_cullsize"
maxplayers set to 20
Network: IP 188.72.xxx.xxx, mode MP, dedicated Yes, ports 27015 SV / 27008 CL
L 10/03/2010 - 15:57:56: -------- Mapchange to ctf_2fort --------
Executing dedicated server config file
material models/player/items/medic/medic_mirror has a normal map and $basealphae
nvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/all_halo has a normal map and $basealphae
nvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/id_badge_gold has a normal map and $basea
lphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/id_badge_silver has a normal map and $bas
ealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/id_badge_platinum has a normal map and $b
asealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/parasite_skin has a normal map and $basea
lphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_gold has a normal map and $
basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_silver has a normal map and
$basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_bronze has a normal map and
$basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_platinum has a normal map a
nd $basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

Failed to load Steam ServiceBOpenService failedServiceStart: failed to startCan'
t use cheat command mp_forcerespawnplayers in multiplayer, unless the server has
sv_cheats set to 1.
Can't use cheat command mp_forcewin in multiplayer, unless the server has sv_che
ats set to 1.
Unknown command "mp_teststalemate"
Adding master at 69.28.151.162
Adding master at 72.165.61.189
Adding master at 207.173.177.11
Adding master at 65.73.232.251:27040
Adding master at 65.73.232.253:27040
Adding master at 207.173.177.12:27010
exec: couldn't exec ctf_2fort.cfg
Connection to Steam servers successful.
   VAC secure mode is activated.

And the 2nd looks like this:
Code:
Console initialized.
Steam is not active, running in -insecure mode.
Loading unsigned module server.dll
Access to secure servers is disabled.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 20
Unknown command "r_decal_cullsize"
maxplayers set to 20
Unknown command "port"
WARNING: NNET_OpenSocket: bind: WSAEINVAL
Network: IP 188.72.xxx.xxx, mode MP, dedicated Yes, ports 27015 SV / -1 CL
L 10/03/2010 - 22:08:47: -------- Mapchange to ctf_2fort --------
Executing dedicated server config file
material models/player/items/medic/medic_mirror has a normal map and $basealphae
nvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/all_halo has a normal map and $basealphae
nvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/id_badge_gold has a normal map and $basea
lphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/id_badge_silver has a normal map and $bas
ealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/id_badge_platinum has a normal map and $b
asealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/parasite_skin has a normal map and $basea
lphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_gold has a normal map and $
basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_silver has a normal map and
$basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_bronze has a normal map and
$basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_platinum has a normal map a
nd $basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

Failed to load Steam ServiceBOpenService failedServiceStart: failed to startCrea
teBoundSocket: ::bind returned Win32 error [no name available](10022)
cminterface.cpp (821) : Assertion Failed: 0 != m_hConnection
Assert( Assertion Failed: 0 != m_hConnection ):.\cminterface.cpp:821

Can't use cheat command mp_forcerespawnplayers in multiplayer, unless the server
has sv_cheats set to 1.
Can't use cheat command mp_forcewin in multiplayer, unless the server has sv_che
ats set to 1.
Unknown command "mp_teststalemate"
Adding master at 69.28.151.162
Adding master at 72.165.61.189
Adding master at 207.173.177.11
Adding master at 65.73.232.251:27040
Adding master at 65.73.232.253:27040
Adding master at 207.173.177.12:27010
exec: couldn't exec ctf_2fort.cfg

Im not using BAT-files, but shortcuts to start them and they look like this:
CSS: srcds.exe -autoupdate -console -game cstrike +map de_dust2 +maxplayers 22 -tickrate 100 +port 27017 -fps_max 600 +tv_port 27089
TF2: srcds.exe -autoupdate -console -game tf +maxplayers 20 -tickrate 100 +map ctf_2fort +port 27015

So the short version is. All three servers are working properly, but only when they get to run alone. As soon as I try to run 2 or 3 together, only one (the first to launch) gets VAC-secured.

Any hints, tips and suggestions are appriciated! Big Grin
Reply
#2
I'm confused. Are the quotes below supposed to be two different servers? One CSS and the other TF2?

(10-04-2010, 08:06 AM)kenzuke Wrote:  This is what the console readout is when Im staring the first server:
Code:
Console initialized.
Steam is not active, running in -insecure mode.
Loading unsigned module server.dll
Access to secure servers is disabled.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 20
Unknown command "r_decal_cullsize"
maxplayers set to 20
Network: IP 188.72.xxx.xxx, mode MP, dedicated Yes, ports 27015 SV / 27008 CL
L 10/03/2010 - 15:57:56: -------- Mapchange to ctf_2fort --------
Executing dedicated server config file
material models/player/items/medic/medic_mirror has a normal map and $basealphae
nvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/all_halo has a normal map and $basealphae
nvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/id_badge_gold has a normal map and $basea
lphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/id_badge_silver has a normal map and $bas
ealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/id_badge_platinum has a normal map and $b
asealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/parasite_skin has a normal map and $basea
lphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_gold has a normal map and $
basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_silver has a normal map and
$basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_bronze has a normal map and
$basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_platinum has a normal map a
nd $basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

Failed to load Steam ServiceBOpenService failedServiceStart: failed to startCan'
t use cheat command mp_forcerespawnplayers in multiplayer, unless the server has
sv_cheats set to 1.
Can't use cheat command mp_forcewin in multiplayer, unless the server has sv_che
ats set to 1.
Unknown command "mp_teststalemate"
Adding master at 69.28.151.162
Adding master at 72.165.61.189
Adding master at 207.173.177.11
Adding master at 65.73.232.251:27040
Adding master at 65.73.232.253:27040
Adding master at 207.173.177.12:27010
exec: couldn't exec ctf_2fort.cfg
Connection to Steam servers successful.
   VAC secure mode is activated.

(10-04-2010, 08:06 AM)kenzuke Wrote:  And the 2nd looks like this:
Code:
Console initialized.
Steam is not active, running in -insecure mode.
Loading unsigned module server.dll
Access to secure servers is disabled.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 20
Unknown command "r_decal_cullsize"
maxplayers set to 20
Unknown command "port"
WARNING: NNET_OpenSocket: bind: WSAEINVAL
Network: IP 188.72.xxx.xxx, mode MP, dedicated Yes, ports 27015 SV / -1 CL
L 10/03/2010 - 22:08:47: -------- Mapchange to ctf_2fort --------
Executing dedicated server config file
material models/player/items/medic/medic_mirror has a normal map and $basealphae
nvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/all_halo has a normal map and $basealphae
nvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/id_badge_gold has a normal map and $basea
lphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/id_badge_silver has a normal map and $bas
ealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/id_badge_platinum has a normal map and $b
asealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/parasite_skin has a normal map and $basea
lphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_gold has a normal map and $
basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_silver has a normal map and
$basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_bronze has a normal map and
$basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/dueling_medal_platinum has a normal map a
nd $basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

Failed to load Steam ServiceBOpenService failedServiceStart: failed to startCrea
teBoundSocket: ::bind returned Win32 error [no name available](10022)
cminterface.cpp (821) : Assertion Failed: 0 != m_hConnection
Assert( Assertion Failed: 0 != m_hConnection ):.\cminterface.cpp:821

Can't use cheat command mp_forcerespawnplayers in multiplayer, unless the server
has sv_cheats set to 1.
Can't use cheat command mp_forcewin in multiplayer, unless the server has sv_che
ats set to 1.
Unknown command "mp_teststalemate"
Adding master at 69.28.151.162
Adding master at 72.165.61.189
Adding master at 207.173.177.11
Adding master at 65.73.232.251:27040
Adding master at 65.73.232.253:27040
Adding master at 207.173.177.12:27010
exec: couldn't exec ctf_2fort.cfg
Reply
#3
Hey, thanks for replying. Im sorry - I can see that was a bit confusing.
Thats the TF2 server you see in both code-boxes;
- The first code-box is when the TF2 gets launched when no other server are running.
- The second code-box is when the TF2 gets launched when the CSS is already running.

Edit:
If I do it the other way (Start the TF2 first, then launch CSS as 2nd - only the TF2 gets VAC-secured, and the CSS fails)
Funny thing, the HLDS.exe (CStrike 1.6) gets VAC secured at any time. Even If I am running CSS, TF2 and L4D before launching HLDS.exe ...
Reply
#4
-snip-

Make sure you don't have any port assignments in your server.cfgs

Also, Try defining the IP in the startup command. (+ip)
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#5
It was originally launched with +ip <IP>, but I removed it because someone at the steam forums said it wasnt nescessary.
None of my server.cfg's have port assignments.
#1 Tried a reboot of the server and ran CSS (Got VAC secured), then TF2 (no contact with steam servers.)
#2 Did another reboot, ran TF2 (Got VAC secured), then CSS (No contact with steam servers.)

Added +ip <IP> in both launch lines, and repeated #1 & #2 over again. The lovely problem perists.
Reply
#6
Well, after all my time and effort - it finally looks like I got it to work.

All I have to say, is that the solution was "LOL".

I had to move the +ip from last spot in the trigger, to about in the middle of the command on one of the servers (the 2nd doenst have IP at all).
They now both get VAC secured, doesnt matter if I start TF2 or CSS first Wink
So they now launch like this:

CSS: HLServer\CSS\orangebox\srcds.exe -autoupdate -console -game cstrike +map de_dust2 +maxplayers 22 -tickrate 66 -port 27017 -fps_max 600 +tv_port 27089

TF2: HLServer\TF2\orangebox\srcds.exe -autoupdate -console -game tf +map ctf_2fort +maxplayers 20 -tickrate 66 -port 27015 +ip 188.72.xxx.xxx +clientport 27004 -fps_max 600

First (CSS):
Adding master at 72.165.61.189
Adding master at 207.173.177.11
Adding master at 65.73.232.251:27040
Adding master at 65.73.232.253:27040
Adding master at 207.173.177.12:27010
Connection to Steam servers successful.
VAC secure mode is activated.


Second (TF2) - launched about 20secs after first one:
Adding master at 72.165.61.189
Adding master at 207.173.177.11
Adding master at 65.73.232.251:27040
Adding master at 65.73.232.253:27040
Adding master at 207.173.177.12:27010
Could not establish connection to Steam servers.
** about 40sec later ... **
Connection to Steam servers successful.
VAC secure mode is activated.

.. and they both stay connected to steam w/VAC after mapchanges etc.

I am still having problems running three at the same time. The third one to launch never gets VAC secured. Not even after 10min. But this is better than nothing - now I can host both CSS and TF2 Wink Dont think my VPS would manage 3x 66tick servers with 20+ slots anyway.
Reply
#7
General rule when making server command lines, Granted sometimes it doesn't matter its just good for organization.

Console, Game, IP, Port, Players, Map, Exec, Anything Else :3
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#8
He he, thanks. Will see if I can make em all three run
Reply
#9
I would like to continue this thread, since the problem isnt really solved completely. I got to run 2x SRCDS'es with VAC, but not 3 or more. The same goes with HLDS.exe, but thats another story.
The "fix" to get 2x SRCDS VAC'ed, was to have -ip <ip> in one of the start-up lines (not both, that wouldnt work).
I also have a Win 2008 based VPS that I have tried this on, and got the same problem there.

Anyway - I tried to move all my server-folders over to a win7-based machine (on the same network) and I was able to run 4+ togheter and get them all VAC-secured, which means that this problem is related to Windows Server 2008 somehow. If anyone that reads this have any clue what might be the problem, please leave a reply.
Reply
#10
Hmm, We use Server 2008 and we don't have any problems.
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#11
(10-11-2010, 09:47 AM)loopyman Wrote:  Hmm, We use Server 2008 and we don't have any problems.

Yeah. I dont really know what makes me special :b
What ports are u using? Lots of space between each server?
Maybe I should put the OS to run win update ...
Reply
#12
Just using 27015 - 27017 TCP/UDP
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#13
And that is 3x Srcds that are all vac ok? Do you mind pasting the startup line, in case im missing something...?
Patching up the server with updates as we speak.
Reply
#14
-game tf -console -ip %serverip% -port %serverport% +maxplayers %slots% +exec server.cfg +map cp_dustbowl
-game cstrike -console -ip %serverip% -port %serverport% +maxplayers %slots% +exec server.cfg +map de_aztec
-game garrysmod -console -ip %serverip% -port %serverport% +maxplayers %slots% +exec server.cfg +map gm_construct


These are our default startup lines for TF2, CSS, and GMOD. We use TCAdmin so the %'s are variables.
So if your IP was 204.27.62.230 then you would want to use the following 3:

-game tf -console -ip 204.27.62.230 -port 27015 +maxplayers 24 +exec server.cfg +map cp_dustbowl
-game cstrike -console -ip 204.27.62.230 -port 27016 +maxplayers 24 +exec server.cfg +map de_aztec
-game garrysmod -console -ip 204.27.62.230 -port 27017 +maxplayers 12 +exec server.cfg +map gm_construct
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#15
That looks right. I will post back when win update is ready and i have tested tomorrow. Its bedtime, 03 in the morning in my country Big Grin
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)