This topic has been locked
EVO63XX. Oct 10, 2014 @ 11:19pm
SteamCMD / SRCDS Doesn't Launch Properly
I recently installed SteamCMD, did all the mumbo jumbo, updated and installed Garry's Mod and Counter Strike: Source. When I went into my css and clicked srcds.exe, it doesn't launch, at all. It doesn't do anything, in-fact, no error messages, no failed to launches, not in my task manager

I've tried running srcds.exe as an Administator, doesn't work.
I've tried running srcds.exe through the CMD Prompt, doesn't work.

The only things in the configuration files I've touched is fixing the file paths for the SteamCMD location, nothing else.

Help, please. :csgohelmet:

< >
Showing 1-10 of 10 comments
Tev Oct 10, 2014 @ 11:23pm 
What's the commands you link with the srcds.exe on CMD or in its path?

I.e.

Copypaste this to your notepad:
Originally posted by Other topics:
@echo off
cls
start C:\srcds\css\orangebox\srcds.exe -console -game cstrike -port 27015 +clientport 27005 -maxplayers 13 +map de_dust2 -autoupdate
cls
quit

Save as a .bat file and launch through that.
Replace directory path to where it is on your PC and port if you have changed it in the server.cfg
Last edited by Tev; Oct 10, 2014 @ 11:31pm
-SH-Ariesw0w Oct 10, 2014 @ 11:25pm 
.........
EVO63XX. Oct 11, 2014 @ 9:19am 
Originally posted by Teutep:
What's the commands you link with the srcds.exe on CMD or in its path?

I.e.

Copypaste this to your notepad:
Originally posted by Other topics:
@echo off
cls
start C:\srcds\css\orangebox\srcds.exe -console -game cstrike -port 27015 +clientport 27005 -maxplayers 13 +map de_dust2 -autoupdate
cls
quit

Save as a .bat file and launch through that.
Replace directory path to where it is on your PC and port if you have changed it in the server.cfg

I did the .bat you told me to do, but I'm not sure it did much, unless I'm missing something. I'm relatively new to using SteamCMD by itself, though I've ran servers before.

Give me the h0w2fourd00mies edition, please. :pinkheart:
b vs
EVO63XX. Oct 11, 2014 @ 11:45am 
Originally posted by фастумгель:
b vs

Very useful imput, thanks.
EVO63XX. Oct 11, 2014 @ 6:46pm 
Buuump. Help a brother out.
Tev Oct 12, 2014 @ 1:32am 
Originally posted by BadBoy17 ctOS:
Buuump. Help a brother out.
I don't think I've ever hosted a Counter-Strike: Source or a Gmod -server, I've had a TF2 server up, Contagion -server & a No More Room in Hell -server (before the game went up on the Steam Store and was just a plain sourcemod.) so I can't say I have much experience with Source -based servers, but I'll try what I can possibly apply here.

I'm sorry, but I'm going to ignore the whole I've ran servers before I don't mean to say I doubt you, but I'd rather say this to be sure anyway.

How to Port Forward
1. Open up CMD.exe, you can find this on [Windows Key + R], or Windows' search.
2. Type in ipconfig/all (Keep this open if you want to setup a static IP after)
3. Take a look at your IPv4 and DHCP -addresses.
4. Copy the DHCP -address on your web-browser. (Typically 192.168.100.1 or 192.168.1.1)
(5). If you use the NoScript -extension on your web-browser, allow the script.
6. Now you're in your router's settings. Login if necessary, by default the username & password are usually admin & admin, or admin without password. If you don't know your password, but you've never changed it. Google the router's manufacturer & model no. on Google, or look for its manual. Typically this information is written under the said router, but can also be on the settings -page.

7. Up to your router & its model how things go from here, unfortunately. Typically found under Network Settings -> [NAT]. What you want to find is Port Forwarding or Port Mapping
8. Add & apply these rules:
  • Service name: CSS
  • Start Port: 1200
  • End Port: 1200
  • Translation Start Port: 1200
  • Translation End Port: 1200
  • Server IP-address: your IPv4 -address in Step 3
  • Protocol: UDP

  • Service name: CSS2
  • Start Port: 27000
  • End Port: 27004
  • Translation Start Port: 27000
  • Translation End Port: 27004
  • Server IP-address: your IPv4 -address in Step 3
  • Protocol: UDP

  • Service name: CSS3/Gmod
  • Start Port: 27005
  • End Port: 27005
  • Translation Start Port: 27005
  • Translation End Port: 27005
  • Server IP-address: your IPv4 -address in Step 3
  • Protocol: TCP/UDP

  • Service name: CSS4
  • Start Port: 27006
  • End Port: 27014
  • Translation Start Port: 27006
  • Translation End Port: 27014
  • Server IP-address: your IPv4 -address in Step 3
  • Protocol: UDP

  • Service name: CSS5/Gmod
  • Start Port: 27015
  • End Port: 27015
  • Translation Start Port: 27015
  • Translation Start Port: 27015
  • Server IP-address: your IPv4 -address in Step 3
  • Protocol: TCP/UDP

  • Service name: CSS6
  • Start Port: 27020
  • End Port: 27039
  • Translation Start Port: 27020
  • Translation End Port: 27039
  • Server IP-address: your IPv4 -address in Step 3
  • Protocol: TCP
[Apply], [log out] of your router's settings.

Make a Static IP if necessary
If Windows 7
  1. Write down your IPv4, Subnet Mask, Default Gateway, Name Servers (DNS).
  2. Open up your Control Panel
    • 1. View network status and tasks
    • 2. Change adapter settings
    • 3. Properties
    • 4. Click on Internet Protocol Version 4 (TCP/IPv4)
    • 5. Make sure it's on Use the following IP address, if it is, leave it there, if it's not, switch it to it.
    • 6. Write the details in, you may change the IPv4 -address to any of 192.168.1.xxx but (1<x<254), but note that you will have to re-adjust the 'Server IP-address from Port Forwarding', if you do so. (It shouldn't collide with other Devices' internal IPs in the same network either!)

Acquiring the server files
1. Download Steam CMD for Windows / Steam CMD for Linux / Steam CMD for Mac Unfortunately I only know how Windows goes from here, so you might want to stick to this: https://developer.valvesoftware.com/wiki/SteamCMD for other OS.

2. Launch SteamCMD, type in
  1. login <username> <password>
  2. (ENTER)
  3. (SteamGuard -key)
  4. force_install_dir <Location>
    If you make a folder on your desktop, by default its location is at C:\Users\<username>\Desktop\Foldername (apply %20 with spaces if you have any, preferrably still use none, i.e. Program%20Files.)
  5. app_update [GID] Meaning, it's app_update 232330 || Gmod is 4020 (Server GIDs are separate from the base game's with these two cases)

3. After it's all done, type in quit

Setting up the server.cfg
1. You may download a preset for CS:S here: Click me
2. You may download a preset for Gmod here: Click me[www.dropbox.com]
3. Change the filetype to .cfg and put it in the cfg folder of the server's. I downloaded & uploaded the above as cfgs just incase: CSS[www.dropbox.com] and Gmod[www.dropbox.com]
4. Open with WordPad and apply changes through it.

Launch the server
1. Use the CMD to launch it with commands / Set the path to your srcds.exe (or its shortcut) / Make a .bat file to launch the server with.
  • For Windows:
    ./srcds.exe -game <game> +map <map> +maxplayers X -autoupdate +exec server.cfg
  • For OS/Linux:
    ./srcds_run -game <game> +map <map> +maxplayers X -autoupdate +exec server.cfg

The IP-address you've to give to other people (outside your network) can be found at http://whatismyip.com, that's your external IP, add a colon to it (:) and the host port. (Default: 27015.)

ExtIP:27015
Last edited by Tev; Oct 12, 2014 @ 12:19pm
гг буит? Oct 12, 2014 @ 1:59am 
+
SpiderMan Jan 2, 2024 @ 6:29am 
doesnt work
Katie Jan 2, 2024 @ 7:49am 
This thread was quite old before the recent post, so we're locking it to prevent confusion.
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Oct 10, 2014 @ 11:19pm
Posts: 10