[QUOTE]NOTE: This tutorial starts off from you adding the DarkRP gamemode
and setting up admins and that kinda stuff.[/QUOTE]
[B]Your next steps...[/B]
You've nearly finished your garrys mod DarkRP server but you need another thing to run
it. Counter-Strike source, don't worry. You don't have to buy the game!
Just follow these steps to add the Counter-Strike source content to your server!
[I]XP and Console Server:[/I]
1. Type cmd into run. (Start/Run)
2. Using the cd command find your server directory.
E.G C:/srcds
3. Type the following command into the console:
hldsupdatetool -command update -game "Counter-Strike Source" -dir C:\srcds\orangebox
[I]Vista and Console Server:[/I]
1. Find Command Prompt and run it as an admin by right-clicking and
selecting Run As Admin....
2. Using the cd command find your server directory.
E.G C:/srcds
3. Type the following command into the console:
hldsupdatetool -command update -game "Counter-Strike Source" -dir C:\srcds\orangebox
[u]The reason I actually made this Tutorial[/u]
For this question that sombody's sent me:
Q: I installed counter-strike source but then my server messed up and just repeating
an error message.
A: Simply delete every file in your orangebox/bin folder then re-update your server.
Normally your server should have a batch file. Here's mine...
[code]
@echo off
echo This will take a long time, I would recommend you go do something else.
echo Updating/installing Garrysmod
hldsupdatetool -command update -game "garrysmod" -dir C:\srcds
rem echo Updating/installing CS:S
rem hldsupdatetool -command update -game "Counter-Strike Source" -dir C:\srcds
rem echo Updating/installing dods
rem hldsupdatetool -command update -game "dods" -dir C:\srcds
rem echo Updating/installing hl2mp
rem hldsupdatetool -command update -game "hl2mp" -dir C:\srcds
rem echo Updating/installing tf
rem hldsupdatetool -command update -game "tf" -dir C:\srcds
rem echo Updating/installing sin
rem hldsupdatetool -command update -game "sin" -dir C:\srcds
rem echo Updating/installing ship
rem hldsupdatetool -command update -game "ship" -dir C:\srcds
rem echo Update/installation Complete
echo Installed to c:\srcds\
echo Your server is now ready to use!
echo To add extra addons or maps etc. place them in c:\srcds\orangebox\garrysmod\
echo This installer can also update necessary server files, so it is recommended that you run it often.
pause
[/CODE]
As you probably know this script can be used for updating your entire server and installing
one from scratch.
Another question:
Q: My server sometimes crashes and I'm never there to keep it running!
A: Use the following script, this will run a gmod server plus
restart it if anything goes wrong!
[CODE]
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to stop protecting just close this window!
echo By deathtime38 (Facepunch: KillerLUA)
title Crash Protect - V2
:srcds
echo (%time%) server was started.
srcds.exe -console -game garrysmod +map rp_downtown_v2 +maxplayers 8 +gamemode "DarkRP" +port 27015
echo (%time%) WARNING: Server crashed, restarting server!
goto srcds
[/CODE]
[b]The previous version of this batch file will not work, I have just recently updated
a typing error. :-)[/b]
Sorry, you need to Log In to post a reply to this thread.