Program steam

Od HLDS.pl
Skocz do: nawigacji, wyszukiwania

Spis treści

UWAGA ten artykuł jest wyłącznie pod Linuxa

Opis

Program steam to aplikacja do ściągnięcia z internetu całej reszty do serwera zarówno HLDS jak i SRCDS. W tym znaczeniu jest plikiem wynikowym programu hldsupdatetool.bin i potrafi przetwarzać pewnie parametry bo jest programem konsolowym.

Wywołanie

Po nadaniu praw wykonawczych komendą (jeśli nie wykonaliśmy tego oczywiście wcześniej)

chmod +x steam

mozmey wykonywac program komendą

./steam

Pierwsze uruchomienie

Przy pierwszym uruchomieniu steam sam się aktualizuje do najnowszej wersji i prosi o ponowne uruchomienie.

Parametry

Brak parametrów

Wystarczy wpisać bez parameterów i powinnismy dostać listę dostępnych opcji

Checking bootstrapper version ...

Use: steam -command <command> [parameters] [flags]

Commands:

 update: Install or update HLDS

   parameters:
      -game <game>            -   Game name: use 'list' to see available games
      -dir <installdir>       -   HLDS Install dir
      (if dir not specified, will use value from last run of tool)

   flags:
      -verify_all             -   Verify all HLDS files are up to date
      -retry                  -   Automatically retry every 30 seconds if the Steam Network is busy
      -remember_password      -   Remember password (if a username is supplied)

   For example: steam -command update -game cstrike -dir /hlds

 version: View installed versions

 list: View available games

Optional parameters for all commands:

      -username <username>    -   Steam account username (only needed to access limited content)
      -password <password>    -   Steam account password (only needed to access limited content)

Jak widać powinnismy się trzymać składni

./steam -command <komenda>  <inne parametry>

Aktualizacja serwera

./steam -command update -game "<nazwa modu>" -dir <katalog>

na przykład

./steam -command update -game "cstrike" -dir ~/hlds_l
./steam -command update -game "Counter-Strike Source" -dir ~/srcds

Automatyczne próby połączenia

Jesli mamy problemy z łączem dodajemy -retry i co 30 sekund program sam będzie próbował nawiązac utracone połączenie

Sprawdzenie plików

dodajemy parametr -verify_all jeśli mamy problemy z serwerem

./steam -command update -game "cstrike" -dir ~/hlds_l -verify_all

Lista gier

Uruchom steam z -command list, powines dostać coś podobnego do poniższego tekstu

./steam -command list
hlds@bagno ~/hl $ ./steam -command list
Checking bootstrapper version ...
** 'game' options for Source DS Install:

        "Counter-Strike Source"
        "dods"
        "hl2mp"

** 'game' options for HL1 DS Install:

        "cstrike"
        "czero"
        "dmc"
        "dod"
        "gearbox"
        "ricochet"
        "tfc"
        "valve"

** 'game' options for Third-Party game servers:

        "redorchestra"
        "sin"
Osobiste
Przestrzenie nazw
Warianty
Działania
HLDS.pl - Menu:
Inne
IRC
Inne sekcje:
Znajomi:
Narzędzia