Codename CURE

Codename CURE

34 ratings
Creating A Dedicated Server (18.09.17)
By rah
This is a guide for players who need help and want to setup a dedicated server
   
Award
Favorite
Favorited
Unfavorite
SteamCMD[ENG]
The first thing you need to download is SteamCMD which can be found here: SteamCMD
After you download SteamCMD you need to extract it to a folder. Once extracted run SteamCMD. It will download some core components of SteamCMD then once that's done you type in login anonymous once you are connected to the Steam Community you type in force_install_dir C:\examplefolder Now replace example folder with your own folder name. It will force create the folder in the C:\ directory once done. Now once that's done you need to type app_update 383410 validate
Some issues people have with update like error error 0x402 can be caused by your antivirus program. Disabling it should fix the error.
Port Forwarding[ENG]
Now if you haven't noticed you can't join servers without portforwarding. To portforward you must go to your router's local ip. ex. 10.0.0.1 (not everybody's). You need to login and navigate to your Wan. Then Portforwarding/Port triggering (sometimes just port forwarding). You add one for cure and call it anything. Then for port range you put 27015. The ip you type in is your local ip which usually starts with 192.168 Then you type in local port which would also be 27015. After this you can hit apply.
Config[ENG]
Now before you start the server you want to go to the location where you downloaded the server files. In that folder you want to go to the sub-folder called "cure" in that folder you go to the sub-folder called "cfg" once in there you should find either server.cfg which you can edit right away or server.cfg.example. If you have server.cfg.example rename and remove .example from it.
So the default text in there should say something like this:
hostname "Cure Dedicated Server" sv_lan 0 bot_quota 3 sv_difficulty 1 heartbeat
The hostname you may change to your liking. If you are hosting an internet server do not touch "sv_lan 0" but if your hosting a lan server change it to "sv_lan 1". The difficulty ranges from
Casual - 0
Average - 1
Skilled - 2
Insane - 3

You can also add tags using sv_tags tick,bhop,ex
bot_quota 3 sets the amount of bots 5 is max 0 is lowest.
Starting Server[ENG]
You want to go back to the main directory you installed the server files into. Once there right click on srcds.exe and then click send to and in there click desktop or just create a shortcut and drag it to the desktop. After you created the shortcut right click on it then find the target line. after the directory on the target line you want to right (or just copy and paste this) -game cure +map cbe_bunker -console -insecure Now from that shortcut you can run the server. If you want to join it you need to use console ingame. connect xxx.xxx.xx.xx replace the x with your ipv6. Or you can join under the lan tab on the server browser. It's not a lan server just ways to join. You can also do connect 0.0.0.0 or connect locahost
Auto-Restarter[ENG]
So the server crashes alot you say? Well good thing for you I made an auto-restarter. It's not the best in code but you can optimize it to your likings.
So you want to create a .txt file in the directory where you installed. You want to paste this in there.
:srcds echo (%time%) srcds started. start /wait srcds.exe -game cure +map cbe_bunker -console -insecure echo (%time%) WARNING: srcds crashed, restarting. goto srcds
When done save it. Then rename the file run.bat after that create a shortcut for it to your desktop for ease of access.