Lub tshuab xa tawm ntawm cov neeg rau zaub mov rau rau Kev Tawm Tsam Tawm tsam qhov kev ua si yog nqa tawm siv lub console. Valve tau saib xyuas kev twv txiaj los ntawm kev muab lub peev xwm los tsim lawv cov neeg rau zaub mov rau Is Taws Nem ua si nrog tsuas yog siv ob peb xees. Tog twg los txoj kev, nws yog qhov zoo dua los khiav koj tus kheej qhov project ua si los ntawm Lub Chaw Nruab Nruab, es tsis yog los ntawm Chav interface, uas yuav tsum muaj kev pab ntau dua.
Tsim nyog
- - HLDSUpdateTool;
- - Txheeb Xyuas Qhov Ntaus Tawm tsam.
Cov Lus Qhia
Kauj ruam 1
Rub tawm lub Valve HLDSUpdatetool, uas yuav rub tawm cov version tam sim no ntawm tus neeg rau zaub mov los ntawm nplooj ntawv hloov tshiab nplooj ntawv. Tso cov ntawv rub tawm rau hauv cov ntawv teev ib ntus ntawm koj lub server (piv txwv li ntawm "C: / hlds").
Kauj ruam 2
Khiav hldsupdatetool.exe thiab ua raws cov lus qhia ntawm cov installer. Tom qab kev teeb tsa tiav, mus rau hldsupdatetool nplaub tshev tsim thiab khiav cov ntaub ntawv ua tiav los hloov kho cov haujlwm.
Kauj ruam 3
Tom ntej no, koj yuav tsum rub lub game server files files. Lub sijhawm tiv thaiv ntawm cov txheej txheem tuaj yeem mus txog ob peb teev, nws tag nrho yog nyob ntawm qhov ceev ntawm koj Is Taws Nem. Mus rau lub Windows console ("Pib" - "Khiav").
Kauj ruam 4
Hauv pop-up qhov rais, nkag mus rau cov lus txib nram qab no:
C: / koj_HLDS_folder / hldsupdatetool.exe updatecommand hloov tshiab –game "Txo Ntaus Tawm Zog" -dir C: / server_folder
Hloov "server_folder" nrog txoj hauv kev rau phau ntawv sau npe uas koj xav tau los nruab koj lub server siab. Qhov "-game" parameter sib raug mus rau hom kev ua si.
Kauj ruam 5
Tom qab kev ua tiav ntawm cov kev hais kom ua, qhov kev rub tawm ntawm qhov Source game server yuav pib. Tos rau rub tawm kom tiav thiab mus rau kab ntawv server, mus rau "cstrike / cfg" nplaub tshev. Qhib server.cfg nrog Notepad thiab ua txhua qhov tsim nyog, tom qab ntawd khaws cov ntawv.
Kauj Ruam 6
Mus Pib - Khiav thiab ntaus ntawv:
C: / server_folder / srcds.exe –console –game cstrike + daim ntawv qhia de_dust –maxplayers 16 –autoupdate
Kauj Ruam 7
Cov lus qhia "+ daim ntawv qhia" yog lub luag haujlwm los pib lub server los ntawm daim ntawv qhia tshwj xeeb. Tus cwj pwm "maxplayers" yog lub luag haujlwm rau tus naj npawb siab tshaj plaws ntawm cov players hauv daim duab qhia chaw. Yog tias koj xav tso lub qhov rai rau pom kev teeb tsa ntawm cov tsis tau, tom qab ntawd tsuas yog khiav cov ntaub ntawv srcds.exe hauv cov npe uas tsim nyog. Tus server khiav tau.
Kauj ruam 8
Txhawm rau pib lub server siv.bat file, tsuas yog tsim cov ntawv nrog qhov daws teeb meem tsim nyog thiab nkag mus qhov tsis dhau ntawm qhib cov ntaub ntawv siv Notepad:
@echo tawm
cls
echo Tsab ntawv no tiv thaiv koj ntawm kev sib tsoo
ncho Kaw lub qhov rai no yog tias koj xav txiav txim siab hom scard Y thiab nias Enter
title srcds.com Saib Xyuas
: ntuag
ncha (% lub sijhawm%)
pib / tos srcds.exe –console –game cstrike + daim ntawv qhia de_dust2 + maxplayers 18
ncha (% sijhawm) poob lossis kaw
tau txais srcds
Yog hais tias cov ntaub ntawv srcds poob, cov ntawv no yuav rov pib lub server li qub nrog qhov tsis tau teev tseg.