Steam Support Wiki
 
 

Pornirea unui server stand-alone dedicat

 
 

Conţinutul acestei pagini este moderat atât de Ajutorul Tehnic Steam cât şi de comunitatea utilizatorilor Steam - orice legături către site-urile din afară trebuie tratate cu atenţie.

Ajutorul Tehnic Steam nu vă va cere niciodată parola contului dvs Steam pentru nici un motiv, nici nu vi se va cere vreodată să introduceţi parola contului dvs Steam într-un formular de pe o pagină de internet.

Serverele dedicate de sine statatoare sunt cea mai buna alegere a utilizatorilor experimentati. Va rugam observati topicul Overview: Types of Game Servers daca doriti mai multe informatii pentru a determina care este cea mai buna alegere pentru serverul dumneavoastra.


Downloadati si Instalati HldsUpdateTool

  1. Downloadati HldsUpdateTool Installer (aproximativ 700 KB)
  2. Rulati instalerul si selectati un director pentru instalare
    Nota: Nu utilizati o cale catre un director in interiorul directorului Steam.
  3. Selectati regiunea cea mai apropiata de locul unde locuiti dumneavoastra (aceasta valoare va fi folosita pentru pozitionarea serverului dumneavoastra in lista server browser)
  4. La completarea instalarii asistate, mergeti in directorul instalarii HldsUpdateTool si executati HldsUpdateTool.exe pentru a downloada updateuri

Parametrii si Marcari ai HldsUpdateTool

Utilizati acesti parametri si marcari cand rulati programul HldsUpdateTool din linia de comanda:

Format: hldsupdatetool -command <command> [parameters] [flags]

  • Comenzi
    • -command version - Vizualizati versiunile instalate
    • -command list - Vizualizati jocurile disponibile
  • Parametri
    • -game <game> - Instalati un joc, unde <game> este codul jocului dorit
    • -dir <installdir> - Specificati calea absoluta catre directorul instalarii cu <installdir> (unealta se va instala in ultimul director utilizat daca nu este specificata calea)
    • -username <username> - Numele contului Steam (necesar doar pentru a accesa continut limitat)
    • -password <password> - Parola contului Steam (necesar doar pentru a accesa continut limitat)
  • Marcari
    • -remember_password - Memorati parola (daca numele si parola contului Steam sunt puse la dispozitie)
    • -verify_all - Verificati ca toate fisierele HLDS au fost updatate
    • -retry - Reincercati la fiecare 30 de secunde daca Reteaua Steam este ocupata

Instalati Continutul Jocului

Odata HldsUpdateTool instalat, puteti incepe instalarea continutului jocului:

  1. Deschideti fereastra command prompt (Start > Run > cmd)
  2. Mergeti la directorul instalarii HldsUpdateTool
  3. Folositi comanda urmatoare pentru a instala un joc::
    hldsupdatetool -command update -game <game> -dir <installdir>
    (unde <game> este unul din codurile jocurilor listate mai jos si <installdir> este calea absoluta catre directorul unde doriti sa stocati continutul)
  • Jocurile Source-engine
    • Counter-Strike Source - Counter-Strike Source
    • dods - Day of Defeat: Source
    • hl2mp - Half-Life 2: Deathmatch
  • Jocuri GoldSrc-engine
    • cstrike - Counter-Strike 1.6
    • czero - Counters-Strike: Condition Zero
    • dmc - Deathmatch: Classic
    • dod - Day of Defeat
    • gearbox - Opposing Force
    • ricochet - Ricochet
    • tfc - Team Fortress Classic
    • valve - Half-Life Deathmatch
  • Continutul jocurilor terte
    • redorchestra - Red Orchestra
    • ship - The Ship
    • sin - Sin Episodes
    • darkmessiah - Dark Messiah
    • garrysmod - Garry’s Mod

Moduri Terte

Trebuie sa instalati fisierele modului tert, sub directorul serverului dedicat. Va rugam apelati la siteurile de suport tehnic ale modurilor terte pentru informatii suplimentare.

Configurati Serverul

Aceste proceduri de configurare se aplica serverelor GoldSrc-engine (hlds.exe) si serverelor Source-engine (srcds.exe).

Setari de Lansare

Setarile de lansare pot fi introduse in command prompt sau salvate in scurtaturile Windows hlds.exe sau srcds.exe. Puteti utiliza cate setari de lansare doriti, totusi, setarile trebuie introduse corect sau serverul nu va porni.

  • -autoupdate - Efectueaza updateuri automate pentru server cand acestea sunt aplicate
  • -console - Porneste serverul in modul consola (fara GUI)
  • -game <game name> - Indica jocul pentru care serverul va fi lansat
  • -ip <ipaddress> - Seteaza IP-ul serverului daca sunt disponibile IP-uri multiple
  • -port <port number> - Seteaza portul prin care serverul va accepta conexiuni (27015 este port initial daca acesta nu este specificat)
  • +maxplayers <number of players> - Seteaza numarul maxim de jucatori pe server
  • +map <map name> - Seteaza harta de inceput

Setari server.cfg

Un fisier de configurare a serverului jocului, poate fi folisit pentru a executa automat variabile (CVARs) cand serverul este pornit.

Fisierul server.cfg a fiecarui joc poate fi gasit in directorul instalarii jocului (acesta va fi un subdirector numit dupa codul jocului in directorul instalarii specificat la rularea HldsUpdateTool)

  • hostname "numele gazdei" - Introduceti numele gazdei ca nume al serverului ce doriti sa apara in server browserul jucatorului
  • rcon_password "parola dumneavoastra" - Introduceti parola dumneavoastra ca parola de securitate, pe care sa o folositi pentru a va autentifica, pentru a modifica configuratia serverului in timp ce sunteti logat in joc ca client
  • sv_aim # - Setati tinta-automata pentru jucatori, unde # este 1 pentru "activat" si 0 pentru "dezactivat"
  • sv_cheats # - Seteaza optiunea single-player cheat, unde # este 1 pentru "activat" si 0 pentru "dezactivat"
  • sv_contact "admin@yourdomain.com" - Seteaza adresa e-mail de contact administrativ
  • sv_maxrate # - Seteaza rata maxima de bytes pe secunda care serverul are voie sa-o trimita, unde # este minimum : 1000 / initial: 10000 / si maximum 25000
  • sv_region # - Seteaza regiunea in care serverul dumneavoastra este localizat, unde # este:
    • -1 - Intreaga lume
    • 0 - Coasta de est a Statelor Unite
    • 1 - Coasta de vest a Statelor Unite
    • 2 - America de Sud
    • 3 - Europa
    • 4 - Asia
    • 5 - Australia
    • 6 - Orientul Mijlociu
    • 7 - Africa

Va rugam sa observati topicul Server Settings pentru o lista extinsa a comenzilor server.

Resurse HLDS de management CVARS

Folostiti urmatoarele CVARs prentu a controla modul in care HLDS/SRCDS utilizeaza resursele.

  • sv_allowdownload # - Setati 1 pentru a activa incarcarea continutului catre client (harti, sprayuri, si materiale) si 0 pentru a dezactiva
  • sv_allowupload # - Setati 1 pentru a permite clientului sa uploadeze sprayuri pe server si 0 pentru a dezactiva sprayurile personalizate
  • hpk_maxsize # - Limiteaza dimensiunea fisierului sprayului uploadat de la client (in limitele: .1 MB la 1.5 MB - setati 0 pentru a permite fisiere de orice dimensiune)
  • sv_downloadurl <url> - Utilizati aceasta setare pentru a permite clientului sa folosesca un server diferit pentru a downloada continutul (aceasta reduce timpul de incarcare a serverului asociat cu clientii ce downloadeaza continutul) - setati <url> in formatul http://www.<domain>.com/<filepath> precum in instructiunile Fast HTTP Downloading
  • sv_filetransfercompression # - Setati 1 pentru a permite comprimarea fisierelor trimise de gameserver catre client si 0 pentru a o dezactiva
  • sv_send_logos # - Setati 1 pentru a permite serverului sa trimita spayuri costumizate inapoi catre jucatori (sv_allowdownload trebuie sa fie activat) si 0 pentru a dezactiva sprayurile
  • sv_send_resources # - Setati 1 pentru a forta trimiterea resurselor (modele) catre client si 0 pentru a o dezactiva

Setari jocuri

Puteti de asemenea sa creati fisiere de configurare si sa le incarcati folosind CVAR-ul exec <numefisier> (unde <numefisier> este numele fisierului localizat in directorul jocului instalat)

  • Counter-Strike
    • mp_timelimit <minute> - Folositi <minutes> pentru a seta numarul de minute petrecute pe fiecare harta
    • mp_buytime <minutes> - Folositi <minutes> pentru a seta timpul permis pentru ca jucatorii sa-si cumpere/recumpere arme inainte de a incepe runda
    • mp_startmoney <cantitate> - Folositi <cantitate> pentru a seta cantitatea de bani primiti de jucatori la inceputul rundei
    • mp_c4timer <secunde> - Folositi <secunde> pentru a seta timpul detonatorului C4 care a fost plantat
    • mp_freezetime <secunde> - Folositi <secunde> pentru a seta timpul cat jucatorii sunt imobilizati la inceputul fiecarei runde

motd.txt

Acest fisier contine "Mesajul zilei" al serverului dumneavoastra. Puteti include informatia de contact si adresa websiteului in acest fisier daca doriti.

Codul HTML este permis in acest fisier.

Exemplu motd.txt:

 MESAJUL ZILEI
Bine ati venit pe Serverul meu CounterStrike
Rotatia hartilor pentru acest server:
de_dust2
cs_assault
de_train
cs_Havana

mapcycle.txt

Acest fisier poate contine lista de harti pe care serverul le ruleaza.

Exemplu mapcycle.txt:

de_dust2
cs_assault
de_train
cs_Havana

Download HTTP Rapid

Utilizatorii pot downloada continut personalizat de la un server web prin HTTP pentru a reduce resursele si latimea de banda necesara serverului dedicat. Downloadul HTTP rapid permite SRCDS sau HLDS sa utilizeze toate resursele si latimea de banda pentru jocurile gazduite.

  1. Creati o lista a tuturor fisierelor personalizate (bsp, wav, mdl, etc) utilizate pe serverul dumneavoastra
  2. Uploadati fisierului pe un server web mentinand structura directoarelor intacta
  3. Optional: Pentru a afisa o imagine-afis (de exemplu, o imagine cu mesajul "Gazduirea Continutului pus la dispozitie de...") uploadati o imagine 340x56 pixeli la <custom content directory>/gfx/banner.gif
  4. Folositi setarea sv_downloadurl <url> si setati <url> la http://<domain>/<custom_content_directory>/ (unde <domain> este numele domeniului care indica ruta catre serverul dumneavoastra si <custom_content_directory> este numele directorului care gazduieste continutul personalizat al directorului unde este instalat HLDS sau SRCDS)

    Daca serverul web este securizat cu Autentificare HTTP Baza, folositi formatul http://<username>:<password>@<domain>/<custom_content_directory> pentru a adauga numele si parola HTTP pentru autentificare, unde <username> si <password> este combinatia nume si parola pentru contul server web cu privilegii de citire a continutului fisierelor

Resurse suplimentare de configurare a Serverului Dedicat

Asistenta pentru Serverul Dedicat

Participati la discutia lista serverelor dedicate, pentru sistemului dumneavoastra de operare si revedeti arhiva cu mesaje pentru a gasi solutii pentru problemele serverului dedicat:

Articole legate de acest subiect


Conţinut în engleză de tradus (START)

Standalone dedicated servers are the best choice for experienced users. Please see the Overview: Types of Game Servers topic if you would like more information to determine which type of game server is the best choice for you.

Download and Install HldsUpdateTool

  1. Download the HldsUpdateTool Installer (approximately 700 KB)
  2. Run the installer and select an installation folder
    Note: Do not use a path within any existing Steam folders
  3. Select the region which most closely matches your region (this value will be used to position your server in users' server browser lists)
  4. Upon completing the guided installation, navigate to the HldsUpdateTool installation folder and execute HldsUpdateTool.exe to download updates for the tool


HldsUpdateTool Parameters and Flags

Use these parameters and flags when running HldsUpdateTool program from the command line:

Format: hldsupdatetool -command <command> [parameters] [flags]

  • Commands
    • -command version - View installed versions
    • -command list - View available games
  • Parameters
    • -game <game> - Install a game where <tt<game></tt> is the desired game's code
    • -dir <installdir> - Specify the absolute path to the desired installation directory with <installdir> (the tool will install to the last directory used if no directory is specified)
    • -username <username> - Steam account username (only needed to access limited content)
    • -password <password> - Steam account password (only needed to access limited content)
  • Flags
    • -remember_password - Remember password (if a Steam account username and password are supplied)
    • -verify_all - Verify that all HLDS files have been updated
    • -retry - Automatically retry every 30 seconds if the Steam Network is busy


Install Game Content

Once HldsUpdateTool has been installed, you may begin installing game content:

  1. Open a command prompt (Start > Run > cmd)
  2. Navigate to the HldsUpdateTool installation directory
  3. Use the following command install a game:
    hldsupdatetool -command update -game <game> -dir <installdir>
    (Where <game> is one of the game codes listed below and <installdir> is the absolute path to the folder where you wish to store the content)
  • Source-engine Games
    • Counter-Strike Source - Counter-Strike Source
    • dods - Day of Defeat: Source
    • hl2mp - Half-Life 2: Deathmatch
  • GoldSrc-engine Games
    • cstrike - Counter-Strike 1.6
    • czero - Counters-Strike: Condition Zero
    • dmc - Deathmatch: Classic
    • dod - Day of Defeat
    • gearbox - Opposing Force
    • ricochet - Ricochet
    • tfc - Team Fortress Classic
    • valve - Half-Life Deathmatch
  • Third-party Game Content
    • redorchestra - Red Orchestra
    • ship - The Ship
    • sin - Sin Episodes
    • darkmessiah - Dark Messiah
    • garrysmod - Garry’s Mod


Third-party Mods

You must install the third-party mod files under the dedicated server folder. Please refer to the third-party mod support site for additional information on specific mods.


Configure the Server

These configuration procedures apply to both GoldSrc-engine servers (hlds.exe) and Source-engine servers (srcds.exe).


Launch Switches

Launch switches may be entered at the command prompt or saved with the hlds.exe or srcds.exe Windows shortcut. You may use as many launch switches as you would like, however, the switches must be entered correctly or your dedicated server will not start.

  • -autoupdate - Automatically updates the server whenever updates are released
  • -console - Starts the server in console mode (no GUI)
  • -game <game name> - Indicates which game server to launch
  • -ip <ipaddress> - Sets the server IP if multiple IPs are available
  • -port <port number> - Sets the port which the server will accept connections through (port 27015 will be used by default if no port is specified)
  • +maxplayers <number of players> - Sets the maximum number of players allowed on the server
  • +map <map name> - Sets the starting map


server.cfg Settings

A game server config file can be used to automatically execute set server console variables (CVARs) whenever the server is started.


Each game's server.cfg file can be found under the game's installation directory (this will be a subfolder named after the game's code under the installation directory specified when running HldsUpdateTool).


  • hostname "yourhostname" - Enter yourhostname as the server name which you would like to appear players' server browser
  • rcon_password "yourpassword" - Enter yourpassword as the secure password you would like to use to authenticate so you may change the server's configuration while logged in to play as a client
  • sv_aim # - Set auto-aiming for players where # is 1 for "on" and 0 for "off"
  • sv_cheats # - Set single-player cheat options where # is 1 for "enabled" and 0 for "disabled"
  • sv_contact "admin@yourdomain.com" - Sets the administrative contact e-mail address
  • sv_maxrate # - Set the maximum rate of bytes per second which the server is allowed to transmit where # is at minimum: 1000 / at default: 10000 / at maximum 25000
  • sv_region # - Sets the region which your server will report as its location where # is:
    • -1 - World
    • 0 - US East Coast
    • 1 - US West Coast
    • 2 - South America
    • 3 - Europe
    • 4 - Asia
    • 5 - Australia
    • 6 - Middle East
    • 7 - Africa

Please see the Server Settings topic for an extensive list of server commands.


HLDS Resource Management CVARS

Use the following CVARs to control how the HLDS/SRCDS manages resources.

  • sv_allowdownload # - Set to 1 to load content on the client (maps, sprays, and related materials) and 0 to disable
  • sv_allowupload # - Set to 1 to allow clients to upload custom sprays to the server and 0 to disable custom sprays
  • hpk_maxsize # - Limits the file size of spray uploads from clients (range: .1 MB to 1.5 MB - set to 0 to allow any file size)
  • sv_downloadurl <url> - Use this setting to allow clients to use a different server to download content (this reduces the server load associated with clients downloading content) - set your <url> in the format http://www.<domain>.com/<filepath> as directed in the Fast HTTP Downloading instructions
  • sv_filetransfercompression # - Set to 1 to enable file compression on files sent from the gameserver to the client and 0 to disable
  • sv_send_logos # - Set to 1 to allow the server to send custom sprays back to all players (sv_allowdownload must also be enabled) and 0 to disable sprays
  • sv_send_resources # - Set to 1 to enforce the sending of secure resources (models) to clients and 0 to disable


Game Settings

You may also create custom config files and load them by using the exec <filename> CVAR (where <filename is the name of a file located in the game installation folder).

  • Counter-Strike
    • mp_timelimit <minutes> - Use <minutes> to set the number of minutes spent on each map
    • mp_buytime <minutes> - Use <minutes> to set the amount of time players are allowed to buy/rebuy weapons before the round starts
    • mp_startmoney <amount> - Use <amount> to set the amount of money players start the round with
    • mp_c4timer <seconds> - Use <seconds> to set the detonation timer for C4 which has been planted
    • mp_freezetime <seconds> - Use <seconds> to set how long players are frozen before being able to move at the beginning of each round


motd.txt

This file contains your servers "Message of the Day". You may include your contact information and website address in this file if you wish.

HTML code is allowed in this file.

Example motd.txt:

 MESSAGE OF THE DAY
Welcome to my Counterstrike Server
Map Rotation For This Server:
de_dust2
cs_assault
de_train
cs_Havana


mapcycle.txt

This file contains the list of maps your server cycles through.

Example mapcycle.txt:

de_dust2
cs_assault
de_train
cs_Havana


Fast HTTP Downloading

Users may download custom content from a web server over HTTP to reduce the resources and bandwidth required by your dedicated server. Fast HTTP downloading allows the SRCDS or HLDS to use all the available resources and bandwidth for hosted games.

  1. Make a list of all the custom files (bsp, wav, mdl, etc) used on your server
  2. Upload the files to a web server while keeping the directory structure intact
  3. Optional: To display a banner image (for example, an image with the message "Content Hosting Provided By ...") upload a 340x56 pixel image to <custom content directory>/gfx/banner.gif
  4. Use the sv_downloadurl <url> CVAR and set <url> to http://<domain>/<custom_content_directory>/ (where <domain> is the domain name which points to your web server and <custom_content_directory> is the name of the directory which mirrors the custom content directory under your HLDS or SRCDS game installation folder)

    If your web server is secured with Basic HTTP Authentication, use the format http://<username>:<password>@<domain>/<custom_content_directory> to add your HTTP username and password for authentication where <username> and <password> is the username and password combination for a web server account with read privileges for the content files


Additional Dedicated Server Configuration Resources


Dedicated Server Assistance

Join the dedicated server discussion list for your operating system and review the mailing list archives to find solutions for dedicated server issues:




(END) Conţinut în engleză de tradus
 
 
  link: Valve Software MediaWiki Logo