Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
In order to run the server you have to provide a commandline. You can do this by creating a batch file, typing it in CMD or create a shortcut. It should contain the following:
srcds.exe -console -tickrate <number 30-100 here> -game <cstrike, dod, hl2mp here> -maxplayers <number> +map <mapnamehere>
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
I'm not sure on how to write batch files but you need a certain syntax in it.
I always use a shortcut tho, I think it's easier.
Yes, when sometings written between <> it means everything has to be replaced by the value including the <>
Posts: 259
Threads: 17
Joined: Apr 2006
Reputation:
0
Post the contents of the patch file that you created.
Posts: 6
Threads: 2
Joined: Nov 2006
Reputation:
0
srcds.exe
-console
-tickrate <100>>
-game <cstrike>
-maxplayers <12>
+map <de_dust2>
Posts: 259
Threads: 17
Joined: Apr 2006
Reputation:
0
should be:
srcds.exe -game cstrike -console -maxplayers 12 -tickrate 100 +map de_dust2
Some other things that might be a good idea to add would be:
+port 27015 +fps_max 500 -autoupdate -secure
Posts: 623
Threads: 7
Joined: Mar 2005
Reputation:
0
Better to use serverchecker under windows, that auto restarts when a mod hangs at startup (and a batch file doesn't).
Posts: 2
Threads: 0
Joined: Dec 2006
Reputation:
0
Hello, thought I might as well jack this thread since I'm having a similar problem. ^_^
I downloaded hldsautoupdate.exe, ran it (CMD: hldsupdatetool -command update -game "dods" -dir C:\srcds) for Day of Defeat: Source, but I cannot get the window to come up. I created a batch file to execute; the contents are:
srcds.exe -console -tickrate 100 -game dods -maxplayers 18 +map dod_orange_fight_arena +port 27015 +fps_max 500
However when I execute this batch file a command prompt comes up displaying these commands, and shuts down imediately. Ideas? I'm at a loss.
Posts: 2
Threads: 0
Joined: Dec 2006
Reputation:
0
Strange, problem was that I used 'dods' instead of 'dod' in the command window. =S
Posts: 623
Threads: 7
Joined: Mar 2005
Reputation:
0
Won't work if server crashes in some times because mods crash the server.