i'm trying to get scrds working
-
- New to forums
- Posts: 6
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri Dec 02, 2011 10:36 pm
i'm trying to get scrds working
but it just opens and closes instantly i need the pacific path as in ? "cmd.exe /c start /high /d"c:\game installs\sourcebase\css" "Game server" "c:\game installs\sourcebase\css\srcds.exe" -game cstrike -ip xxx.xxx.xxx.xxx" need the correct for dod source i tried to rewrite it for dods but i guess i coded it wrong need to set up three of these if u can help with string i can fix rest
Re: i'm trying to get scrds working
DoD:S is run from a different folder. Its line would look more like:
Code: Select all
cmd.exe /c start /high /d"c:\game installs\sourcebase\orangebox" "Game server" "c:\game installs\sourcebase\orangebox\srcds.exe" -game dod -ip xxx.xxx.xxx.xxx
-
- New to forums
- Posts: 6
- Joined: Fri Dec 02, 2011 10:36 pm
Re: i'm trying to get scrds working
something in that line doesnt let it boot up it opens makes a black box then vanishesEdge100x wrote:DoD:S is run from a different folder. Its line would look more like:
Code: Select all
cmd.exe /c start /high /d"c:\game installs\sourcebase\orangebox" "Game server" "c:\game installs\sourcebase\orangebox\srcds.exe" -game dod -ip xxx.xxx.xxx.xxx
Re: i'm trying to get scrds working
Try running a simplified version directly from the command line.
1. Start->Run, and "cmd.exe"
2. Commands:
1. Start->Run, and "cmd.exe"
2. Commands:
Code: Select all
cd\game installs\sourcebase\orangebox
srcds.exe -game dod -ip xxx.xxx.xxx.xxx
-
- New to forums
- Posts: 6
- Joined: Fri Dec 02, 2011 10:36 pm
Re: i'm trying to get scrds working
doesnt seem to do anything just refreshes the line in cmd no new windows or anythingEdge100x wrote:Try running a simplified version directly from the command line.
1. Start->Run, and "cmd.exe"
2. Commands:Code: Select all
cd\game installs\sourcebase\orangebox srcds.exe -game dod -ip xxx.xxx.xxx.xxx
Re: i'm trying to get scrds working
Are you using files that were installed by us, or did you download them through hldsupdatetool?
-
- New to forums
- Posts: 6
- Joined: Fri Dec 02, 2011 10:36 pm
Re: i'm trying to get scrds working
i did a reinstall not sure if the game files where uploaded and most of the configs and stuff r for cssEdge100x wrote:Are you using files that were installed by us, or did you download them through hldsupdatetool?

-
- New to forums
- Posts: 6
- Joined: Fri Dec 02, 2011 10:36 pm
Re: i'm trying to get scrds working
i even made a steam account and tried to run dedicated from the steam and got lcoked to a lan server
-
- This is my homepage
- Posts: 1573
- Joined: Sun Jun 26, 2011 8:03 am
Re: i'm trying to get scrds working
Using the above startup command lines, create a .bat file, add a line at the bottom that says "pause" without the quotes. Then save the .bat file and just double click it to start the server. That's assuming your using a windows server.
This will keep your black box open so you can actually see what is happening, and to close it, follow the instructions which should be "Hit any key to close"
This will allow you to see what's happening and better trouble shoot.
This will keep your black box open so you can actually see what is happening, and to close it, follow the instructions which should be "Hit any key to close"
This will allow you to see what's happening and better trouble shoot.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Find Your GSP Coupons at gspreviews.com/coupons/
-
- This is my homepage
- Posts: 1573
- Joined: Sun Jun 26, 2011 8:03 am
Re: i'm trying to get scrds working
Sorry - can't edit the above, but you probably should remove the cmd.exe part, but here's an example of what I use.
Ceate a .bat file, add the lines:
srcds.exe -game left4dead2 -console -norestart -nocrashdialog +maxplayers 8 +tv_port 27025 +map "c3m1_plankcountry" +ip 74.201.57.240 +port 27015 +exec port27015.cfg
pause
This is an example of what I use for our l4d2.
(Off course edit the first line for your game type, ip and settings)
(Add/remove anything to it as you want to)
pause keeps the cmd box open so you can see the output.
Then save the .bat file and just double click it to start the server. That's assuming your using a windows server.
This will keep your black box open so you can actually see what is happening, and to close it, follow the instructions which should be "Hit any key to close"
This will allow you to see what's happening and better trouble shoot.
Ceate a .bat file, add the lines:
srcds.exe -game left4dead2 -console -norestart -nocrashdialog +maxplayers 8 +tv_port 27025 +map "c3m1_plankcountry" +ip 74.201.57.240 +port 27015 +exec port27015.cfg
pause
This is an example of what I use for our l4d2.
(Off course edit the first line for your game type, ip and settings)
(Add/remove anything to it as you want to)
pause keeps the cmd box open so you can see the output.
Then save the .bat file and just double click it to start the server. That's assuming your using a windows server.
This will keep your black box open so you can actually see what is happening, and to close it, follow the instructions which should be "Hit any key to close"
This will allow you to see what's happening and better trouble shoot.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Find Your GSP Coupons at gspreviews.com/coupons/
Re: i'm trying to get scrds working
Running it from the command prompt would also show any error with the command line. The fact that he's not seeing anything at all when the command is run tells me that the server is probably starting and then immediately crashing, which can happen for a variety of reasons.
* Check to make sure that c:\game installs\sourcebase\orangebox\dod is a valid folder
* Try running hldsupdatetool.exe to check the installation and make sure it is up to date:
* Try a different command line that specifies the map and the whole nine yards, just to be safe.
* Make sure that you're putting your actual, valid IP on the command line, instead of "xxx.xxx.xxx.xxx" or "x.x.x.x".
* Check to make sure that c:\game installs\sourcebase\orangebox\dod is a valid folder
* Try running hldsupdatetool.exe to check the installation and make sure it is up to date:
Code: Select all
cd\game installs
hldsupdatetool.exe -game dods -command update -dir sourcebase -verify_all
Code: Select all
cd\game installs\sourcebase\orangebox
srcds.exe -game dod -ip x.x.x.x -debug -port 27015 +maxplayers 32 +map dod_anzio
-
- New to forums
- Posts: 6
- Joined: Fri Dec 02, 2011 10:36 pm
Re: i'm trying to get scrds working
i finnally figured it out it is very sensitive to every letter in the paths
Re: i'm trying to get scrds working
Is there an advantage to running a shortcut to srcds.exe on the desktop with lines appended versus running a batch file with the path to the srcds.exe? I guess the batch file will also let me include the crash protection on a windows OS, correct?
Re: i'm trying to get scrds working
If you run a batch file, you could have it loop to handle server crashes, that's correct. That would be the main benefit.
Using FireDaemon is even better, as that makes it into a system service. If you need a free solution, nssm is worth looking at, but it's not as feature-rich.
Using FireDaemon is even better, as that makes it into a system service. If you need a free solution, nssm is worth looking at, but it's not as feature-rich.
Re: i'm trying to get scrds working
I couldn't get any batch file running today by the way
I tried ANSI and UTF-8 encoding.
I get the update working fine, and -verify_all works fine. But when it gets to the -game dod it says "cannot find -game" and the server won't start from the batch file. So I have it currently running from a shortcut to srcds.exe with my command line appended in the "target file" line.
*Edit: it won't make a difference that the cmd.exe is rooted in the C: drive and the server installation path is on the F: drive, would it? Just trying to figure out if the problem is with my batch coding or the actual files paths. I did put quotes around the paths that have spaces in them too.

I get the update working fine, and -verify_all works fine. But when it gets to the -game dod it says "cannot find -game" and the server won't start from the batch file. So I have it currently running from a shortcut to srcds.exe with my command line appended in the "target file" line.
*Edit: it won't make a difference that the cmd.exe is rooted in the C: drive and the server installation path is on the F: drive, would it? Just trying to figure out if the problem is with my batch coding or the actual files paths. I did put quotes around the paths that have spaces in them too.