Steam Support Wiki
 
 

Managing HLDS Server Resources

 
 

http://support.steampowered.com/cgi-bin/steampowered.cfg/php/enduser/std_adp.php?p_faqid=139

HLDS serverio išteklių skirstymas

Šio puslapio turinys yra prižiūrimas Steam Support ir Steam naudotojų bendruomenės - bet kokia nuoroda į išorinius puslapius turėtų būti traktuojama atsargiai.

Steam Support neprašys Jūsų Steam sąskaitos slaptažodžio dėl jokios priežasties, nei Jūs kada nors būsite prašomas įvesti savo Steam sąskaitos slaptažodį į internetinio puslapio formą.

Egzistuoja grupė konsolės kintamųjų (CVAR), kurie kontroliuoja HLDS serverio išteklių skirstymą, t.y. tokių dalykų kaip žemėlapių ar klientų sukurtų emblemų (spray) atsisiuntimą ir išsiuntimą.

Kaikurie iš šių kintamųjų gali būti valdomi ir paties kliento.

Visuose toliau pateikiamuose aprašymuose 1 reiškia, kad komanda įjungta, o 0 - kad neįjungta.

Kliento valdomi kintamieji:

  • cl_allowdownload 1/0 - leidžiami/draudžiami visi siuntiniai iš serverio į klientą.
  • cl_allowupload 1/0 - leidžiami/draudžiami visi siuntiniai (ir emblemos) iš kliento į serverį.

Serverio valdomi kintamieji:

  • sv_allowupload 1/0 - leidžiama/draudžiama klientui į serverį siųsti sukurtas emblemas.

Pastaba: įvedus sv_allowupload 0, serverio konsolėje pasirodis toks pranešimas: "ignoring custom decal from xxxxxx" (sukurti trafaretai neleidžiami iš xxxxxx).

  • sv_send_logos 1/0 leidžiama/draudžiama serveriui į klientą siųsti sukurtas emblemas. Tam, kad komanda sv_send_logos 1 veiktų, turi būti panaudota ir sv_allowdownload 1 komanda.
  • sv_allowdownload 1/0 - leidžiama/draudžiama serveriui į klientą siųsti bet kokius duomenis (žemėlapius, emblemas ir pan.).
  • sv_send_resources 1/0 - leidžiamas/draudžiamas bet kokių saugių duomenų siuntimas į klientą.

Jeigu išjungta ir ši, ir sv_allowdownload komanda, tada klientui nebus siunčiami jokie, net ir saugūs duomenys (0:0 įvykis).

Jeigu toks serveris yra saugus, prie jo klientai prisijungti negalės.

Jeigu įjungta ir ši, ir sv_allowdownload bei sv_send_logos komandos, klientui bus siunčiami visi duomenys (1:1 įvykis).

Jeigu ši komanda įjunta, sv_allowdownload - ne, o serveris veikia ne saugos režimu, tada prisijungti gali visi klientai, tačiau jokie duomenys jiems nėra siunčiami (1:0 įvykis).

Jeigu toks serveris veikia saugos režimu, klientai prie jo jungtis galės.

Jeigu ši komanada neįjungta, o sv_allowdownload - įjungta, tada visi neapsaugoti duomenys išskyrus žemėlapius klientui siunčiami bus (0:1 įvykis). Jeigu toks serveris nesaugus, prie jo jungtis galės ir duomenis siųstis galės visi klientai. Jeigu toks serveris yra saugus, prie jo klientai jungtis negalės.

  • sv_filetransfercompression 1/0 - leidžiama/draudžiama serveriui spausti ir siųsti suspaustus duomenis klientui.
  • sv_downloadurl <url> - panaudojus šią komandą, duomenys klientui bus siunčiapi iš HTTP puslapio, o ne iš serverio. Tai užtikrina žymiai didesnį greitį.

Jeigu noritem kad duomenys vėl būtų siunčiami iš serverio, nustatykite šį kintamąjį "" (neapibrėžta reikšmė). Daugiau informacijos rasite Server DownloadURL DUK.

hpk_maxsize 0/bet koks (mažinimui pasirinkite 0.1) Serveryje leidžiamas neriboto/iki 100k dydžio custom.hpk failas, kuriame kaupiamos kliento emblemos.

"sv_send_logos" (pagal nutylėjimą: 1) - šis kintamasis, nustatytas 1, kontroliuoja emblemų vartojimą serveryje. "sv_send_resources" (pagal nutylėjimą: 1) šis kintamasis, nustatytas 1, kontroliuoja išteklių vartojimą serveryje.

Jeigu nustatysite komandas "sv_allowdownload 1" ir "sv_send_resources 0", klientai galės prisijungti prie Jūsų serverio (veikiančio saugiu režimu), tačiau žaidimo ištekliai jiems siunčiami nebus.

Jeigu norite, kad siuntimai būtų vykdomi, nustatykite komandą "sv_send_resources 1".

Vartotojai, nustate tokius parametrus, saugiame režime problemų nepatiria. Čia pateikėme aplinkelį serverių administratoriams, kurie nenori leisti siuntimų.


Interested in assisting with translation? Apply to become a Steam Support Wiki Translator
English content to translate (START)

There are a set of CVARs that control how HLDS Server Resources are managed, that is, uploading and downloading things like Map Resources and Client custom Sprays.

Some of these CVARs have Client-side controls as well.

In all below descriptions, 1 = enabled, 0 = disabled

Client side:

  • cl_allowdownload 1/0 - Allow/Prevent any download from the server to the client
  • cl_allowupload 1/0 - Allow/Prevent any content (including sprays) from being sent from the client to the server.

Server side:

  • sv_allowupload 1/0 - Allows/Prevents clients sending custom sprays to the server

NOTE: sv_allowupload 0 will cause the message: "ignoring custom decal from xxxxxx" on the server console.

  • sv_send_logos 1/0 - Enables/Prevents the server from sending custom sprays to the clients.
  • sv_send_logos 1 - Requires sv_allowdownload 1 to work
  • sv_allowdownload 1/0 - Enables/Prevents the server from downloading any content to the client (maps, sprays and related)
  • sv_send_resources 1/0 - Enable/Disable all secure resources from being sent to the client.

If this is disabled, and sv_allowdownload is disabled then nothing will be sent to the client - this includes secure content (0:0 case)

If the server is secure no client should be able to join.

If this is enabled and sv_allowdownload is enabled, (and sv_send_logos is enabled) then everything will be sent to the client (1:1 case)

If this is enabled and sv_allowdownload is disabled and the server is not in secure mode then any clients should be able to connect but no content will get sent to them (1:0 case)

If the server is in secure mode, clients will be able to join.

If this is disabled and sv_allowdownload is enabled, then _no_ secure content will be sent but map resources will be sent to the client. (0:1 case). If the server is insecure clients will be able to join and get content. If the server is secure, I presume that no clients will be able to join.

  • sv_filetransfercompression 1/0 - Enables/Disables the server from compressing & sending compressed content to the client.
  • sv_downloadurl <url> - Setting this CVAR will allow Clients to download Custom Content via HTTP instead of sourcing the content from the game server, much faster.

Set this to "" (null string) to convert back to normal downloads. for more information, please refer to the: Server DownloadURL FAQ

hpk_maxsize 0/(whatever, set to 0.1 to minimize) No limit/100k limit to the size of the custom.hpk file on the server that stores all the sprays from the client.

"sv_send_logos" (default: 1) - When "sv_allowdownload" is set to 1, this cvar will control whether custom logos are propagated to clients.

"sv_send_resources" (default: 1) - When "sv_allowdownload" is set to 1, this cvar will control whether resources are propagated to clients.

If you set "sv_allowdownload 1" and "sv_send_resources 0", clients will be able to connect to your server (running in "secure" mode) and game resources will NOT be downloaded to them.

If you want to allow downloads, then you can set "sv_send_resources 1" and everything will be fine.

People who are doing that are already running fine in secure mode. This was just a work-around for the server admins who don't want to allow downloads.

(END) English content to translate
Interested in assisting with translation? Apply to become a Steam Support Wiki Translator
 
  Paieška  
 

 
  Žiūrėti  
   
  Kitomis kalbomis  
   
 
  link: Valve Software MediaWiki Logo