Tom's Hardware > Forum > Games General > PC Gaming > Really need help with a NON_DEDICATED CS:S server!!!

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

Forum Games General : PC Gaming - Really need help with a NON_DEDICATED CS:S server!!!

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

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.

Sponsored Links
Register or log in to remove.

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:Program 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.

Reply to NavySEALBrian

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.

Reply to PorkyTheClown

Holy F*CK! IT worked! Thanx man! .bat solution kicks ass!

Reply to PorkyTheClown

NavySEALBrian wrote :

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

Reply to cocacola_dragon
Tom's Hardware > Forum > Games General > PC Gaming > Really need help with a NON_DEDICATED CS:S server!!!
Go to:

There are 1259 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them