[Tutroial]HLDS Installation & Setup Tutorial

Vezi subiectul anterior Vezi subiectul urmator In jos

[Tutroial]HLDS Installation & Setup Tutorial

Mesaj  Tre la data de Lun Aug 23, 2010 5:25 pm


[i]Cuprins
    1. Instalarea propriu-zisa
    2. Reglare server.cfg
    3. Instalarea unui addons
    4. Transformarea Serverului Steam & NonSteam
    4.1. Instalearea Dproto 0.2.7
    5. Instalarea unui Booster


1. Instalarea propiu-zisa
[*] Cea mai buna metoda de a instala un server este cea manuala, adica cu ajutorul HLDSUpdateTool
Descarcati HLDSUpdateTool de aici
Instalarea HLDSUpdateTool : Rulati executabilul

Va aparea o fereastra ca aceasta

Urmati pasii de instalare, alegeti Folderul in vreti sa instalati HLDSUpdateTool si Continentul
Dupa ce ati instalat HLDSUpdateTool intrati in Start->Run si scrieti in spatiul liber cmd si dati Enter
Acum luati cu Drag & Drop executabilul HLDSUpdateTool din folderul unde l-ati instalat peste fereastra care s-a deschis : exemplu

Scrieti
parametrii de instalare -command update -game cstrike -dir D:\HLDS (in
loc de D:\HLDS puneti adresa folderului unde vreti sa se instaleze
serverul), exemplu

Dati Enter si asteptati sa se descarce serverul, dupa finalizarea instalarii folderul serverului trebuie sa ocupa aproximativ 310-315 Mb

2. Reglare server.cfg
Dupa cum puteti observa server.cfg default este cam gol...
Asa ca aveti la dispozitie un server.cfg mai specializat sa zic eu.
server.cfg | Afiseaza codul// Server Name
hostname ""

// Rcon & Server passswords
rcon_password ""
sv_password ""

// Server Cvars
sv_consistency 0
mp_consistency 1
mp_friendlyfire "0"
mp_footsteps "1"
mp_autoteambalance "1"
mp_autokick "0"
mp_flashlight "1"
mp_tkpunish "0"
mp_forcecamera "0"
mp_limitteams "1"
mp_hostagepenalty "0"
mp_allowspectators "1"
mp_timelimit "25"
sv_aim "0"
sv_cheats "0"
sv_gravity "800"
sv_maxspeed "320"
pausable "0"

// Round Cvars
mp_freezetime "0"
mp_roundtime "2"
mp_startmoney "800"
mp_c4timer "45"
mp_fraglimit "0"
mp_maxrounds "0"
mp_winlimit "0"

// Bandwidth Rates
sv_cmdrate "101"
rate "25000"
sv_rate "0"
sv_minrate "10000"
sv_maxrate "25000"
sv_maxupdaterate "101"
sv_minupdaterate "20"
decalfrequency "99"
sv_uploadmax "80"
sv_dlmax "80"
sys_ticrate "1000"
sv_unlag "1"
sv_maxunlag "0.1"
sv_unlagpush "0"
sv_unlagsamples "1"
sv_timeout "20"

// Server logging
log "on"
sv_logbans "1"
sv_logecho "1"
sv_logfile "1"
sv_log_onefile "1"

// Internet Settings
sv_lan "0"
sv_region "3"
sv_contact ""
sv_latency "-20"

// Master Servers
setmaster add 69.28.151.162:27010
setmaster add 72.165.61.189:27010
setmaster add 68.142.72.250:27010

//Voice settings
sv_alltalk "1"
sv_voiceenable "1"
sv_voicecodec "voice_speex"
sv_voicequality "5"


//FastDownload Settings
sv_filetransfercompression "1"
sv_downloadurl ""
sv_allowdownload 1
sv_allowupload 1


//Other
fps_max "1000"
fps_modem "1000"

exec addons/hlbooster/booster.cfg
exec banned.cfg
exec listip.cfg
echo ==================
echo SERVER CFG EXECUTED
echo ==================
Completati cu optiunile voastre.

3. Instalarea unui addons
Pentru functionarea unui addons trebuie sa "spuneti" serverului unde este dll-ul metamod ( inima addonului )
Acest lucru se realizeaza print modificare fisierului liblist.gam din folerul cstrike al serverului.
Deschideti fisierul cu Notepad sau Wordpad si cautati linia
gamedll "dlls\mp.dll"
Moficati in felul urmator
gamedll "addons\metamod\dlls\metamod.dll"

Aveti mare grija la addonurile pe care le luati gata facute, pot contine multe magarii...
Ca sa verificati daca serverul a citit addonul deschideti serverul si tastati in consola meta list, daca nu v-a returnat nimic inseamna ca ati gresit adresa dll-ului metamod sau nu aveti un addons.
Daca a returnat ceva ca in imagine inseamna ca functioneza


4. Transformarea Serverului Steam & NonSteam
Din
cate s-au vazut pana acuma batalia dintre Steam si Nonsteam e apriga si
continua asa ca rusii au creat un mic ( dar bun ) plugin de metamod Dproto ( dual protocol ) ce actioneaza ca un patch pentru server ca sa accepte amblele protocoale.
Ultima versiunea a acestui plugin este 0.2.7
Download

4.1. Instalearea Dptoto 0.2.7
Intrati in addons si creati un folder nou cu numele dproto si puneti in el dll-ul dproto din arhiva pe care ati descarcat-o.
Apoi tot din arhiva puneti in folerul cstrike fisierul dproto.cfg
Intrati in addons/metamod/plugins.ini si adaugati la inceputul fisierului urmatoarea linie
win32 addons\dproto\dproto.dll
Totusi puteti folosi acest dproto.cfg
dproto.cfg | Afiseaza codul# ========================================================
# DPROTO CONFIGURATION
# ========================================================

#LoggingMode:
# 1 = Console
# 2 = Log Files
# 3 = Both
LoggingMode = 2

# UserinfoVerification - Userinfo verification mode
# 1 = Check for max size when user connecting (Use MaxUserInfoSize with this mode)
# 2 = Remove unneeded fields in userinfo (Use ValidInfoFields with this mode)
# 3 = Both
# Verification needed to avoid overflows in userinfo. Overflows may cause svc_bad messages for clients
UserinfoVerification = 0
MaxUserInfoSize = 230
ValidInfoFields_Engine = \name\bottomcolor\topcolor\model\cl_lc\cl_lw\cl_updaterate\cl_dlmax\rate\_pw\*hltv\password
ValidInfoFields_cstrike = \_vgui_menus\_cl_autowepswitch
ValidInfoFields_ag = \cl_autowepswitch


# ========================================================
# AUTHID MANAGEMENT
# ========================================================

# ClientIDs
# 1: Real steam (STEAM_xx:xx:xx)
# 2: Real valve (VALVE_xx:xx:xx)
# 3: STEAM_ by IP
# 4: VALVE_ by IP
# 5: Deprected - client will be rejected
# 6: reserved
# 7: HLTV
# 8: STEAM_ID_LAN
# 9: STEAM_ID_PENDING
# 10: VALVE_ID_LAN
# 11: VALVE_ID_PENDING
# 12: STEAM_666:88:666

# Use this to set authid's for clients
cid_HLTV = 7
cid_NoSteam47 = 10
cid_NoSteam48 = 12
cid_Steam = 1

# Client recognized as pending when they sucessfully authorized, but did not get steam id
cid_SteamPending = 9

# IPGen_Prefix1 (int)
# STEAM_a:b:c
# ^ - this prefix for authids generated by IP
IPGen_Prefix1 = 0

# IPGen_Prefix2 (int)
# STEAM_a:b:c
# ^ - this prefix for authids generated by IP
IPGen_Prefix2 = 3

# Note that banid will use steamid WITHOUT any prefixes!

# ========================================================
# OTHER STUFF
# ========================================================

# Emulation (0/1)
# Enables built=in eSTEAMATiON support
Emulation = 0

# DisableNativeAuth (0/1)
# Disables valve/steam auth system.
# For p.47 Based: Server will not connect to auth servers.
# For All: Server will not call authorization functions.
# This is a fix for startup freeze for old servers.
DisableNativeAuth = 0

# ServerInfoAnswerType (0/1)
# Sets server answer type for query requests
# 0 = New style (Source)
# 1 = Old Style
# 2 = Hybrid mode - best solution for now, server is visible anywhere
ServerInfoAnswerType = 2


# MasterClient (0/1)
# Enables master-client emulation; it helps to register server on master list
# if you having "You server is old" error.
# USE THIS ONLY WITH -nomaster MODE!
# you can use Master_GameVersion to set version of game
MasterClient = 0

# Master_GameVersion (string)
# Sets version of game that master-client will send on master-server
Master_GameVersion = 1.1.2.6/Stdio

# SubServer_Enable (0/1)
# Enables secondary mini-server that redirects clients on main server.
# Use the SubServer_AnswerType parameter to set answer type to info queries
# Use the SubServer_Port parameter to set secondary server port
# Use the SubServer_MasterClient parameter to enable master-client for secondary server.
# This is useful feature if you want all clients to see you server.
# Its possible if you set different answer types for main and secondary servers.
# Clients which cant "see" main server will be able to see secondary
SubServer_Enable = 0
SubServer_Port = 28015
SubServer_MasterClient = 0
SubServer_AnswerType = 0
SubServer_RedirectCommand = connect 169.254.141.3:27015


# Game_Name (string)
# Sets game name displayed for clients
# If Game_Name is empty, native game name will be used
Game_Name =


# Enables fix for proper player id displaing on HLStats server monitoring
# Enable this only if you have HLStats
HLStatsPlayerIdFix = 0
L-am setat astfel incat jucatorii nonsteam p47 vor avea ID : VALVE_ID_LAN, jucatorii nonsteam p48 vor avea ID : STEAM_666:88:666, iar restul raman neschimbate.

Atentie!!! Pentru a functiona corect Dproto serverul trebuie sa fie STEAM ONLY
Ca sa verificati daca Dproto functioneaza deschideti serverul si tastati in consola meta list
Daca a returnat asta : [ 1] dproto RUN - dproto.dll v0.2.7 ini Start Never inseamna ca functioneaza si serverul dumneavoastra apare la internet si la favorit la toata lumea

5. Instalarea unui Booster
Cel mai bun Booster la ora actuala este HL Booster 2.4 ( plugin pentru MetaMod )
Download
Dezarhivati folerul din arhiva in addons apoi intrati in addons/metamod/plugins.ini si adaugati la sfarsit
win32 addons\hlbooster\booster_mm.dll
booster.cfg este setat la 500 fps-uri
Nu uitati sa adaugati in server.cfg o linie care executa booster.cfg
exec addons/hlbooster/booster.cfg
Daca folositi server.cfg de mai sus nu mai este nevoie


Tre
Owner
Owner

Respectarea Regulilor :
100 / 100100 / 100

Mesaje : 91
Data de inscriere : 22/08/2010

Vezi profilul utilizatorului http://killangel.forumhit.ro

Sus In jos

Vezi subiectul anterior Vezi subiectul urmator Sus

- Subiecte similare

 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum