Sign in with
Sign up | Sign in
Your question

Really need help with a NON_DEDICATED CS:S server!!!

Tags:
  • PC gaming
  • LAN
  • Servers
  • Video Games
Last response: in Video Games
Share
June 22, 2006 1:40:02 AM

I want to set up a CSS serverthat i can host over the internet and play on it at the same time with the same computer. I start the server and for some reason sv_lan 0 always changes back to sv_lan 1. If anyone has any info for setting up a Non dedicated server in CS:S or CS 1.6 I would greatly appreciate it.

More about : dedicated server

June 22, 2006 8:12:31 PM

What is the problem you are having? Is it that you want it to start up with sv_lan 0 without you having to change it to that each time? Also, a non-dedicated server is called a listen server.

You could do the following.
Go into the counter-strike source folder, which should be in C:p rogram FilesValveSteamSteamAppsUSER NAMEcounter-strike source (apperently, these forums don't display slashes...) by default with USER NAME replaced by your account for SteamMake a file with Notepad. Now, type in the following:


hl2.exe -(secure or insecure) -console -game cstrike +sv_lan (0 or 1) +maxplayers (number value) +map (map name)


Now, it shouldn't have any (), just replace that with whatever options are in the (). Secure means VAC, insecure means no VAC, everything else is self explanatory. Here's an exampe of what it should look like.

hl2.exe -secure -console -game cstrike +sv_lan 0 +maxplayers 16 +map de_dust

Save it as whatever file name you want, but after it's saved, replace the .txt with .bat. Now, you need to have Steam on, but CS:S off, then just open up that file and it'll turn on CS:S and set up the server. Also, it should be possible to add any othere commands so long as you do +(command) after the word cstrike in the file.
June 25, 2006 3:33:24 AM

thanx for the .bat ill be trying that in a min. To answer the question, i start CSS, type sv_lan 0, then start the server. As soon as everything loads and im in the game, i check sv_lan and it is set to 1. It does not do this in garry's mod and garry's mod works fine as a Non-dedicated server.
Related resources
June 25, 2006 3:42:59 AM

Holy F*CK! IT worked! Thanx man! .bat solution kicks ass!
October 16, 2008 1:54:27 PM

navysealbrian said:
Save it as whatever file name you want, but after it's saved, replace the .txt with .bat. Now, you need to have Steam on, but CS:S off, then just open up that file and it'll turn on CS:S and set up the server. Also, it should be possible to add any othere commands so long as you do +(command) after the word cstrike in the file.


What is an bad file?, i realy need this to, i want to make my own server but it is not going online.. please
Help me
!