::. Counter-Strike .::

Counter-Strike Biggest Share.
 
AcasaSiteCalendarFAQCautareMembriGrupuriInregistrareConectare

Distribuiţi | 
 

 HLDS Installation & Setup Tutorial

In jos 
AutorMesaj
Admin
Admin


Mesaje : 64
Data de înscriere : 03/09/2009
Varsta : 25
Localizare : Romania

MesajSubiect: HLDS Installation & Setup Tutorial   Mar Sept 08, 2009 9:40 pm







Cuprins

1. Instalarea propriu-zisa
2. Reglare server.cfg
3. Instalarea unui addons
4. Transformarea Serverului Steam & NonSteam
4.1. Instalearea Dproto 0.3.0
5. Protejarea serverului [ AntiCSDos ]
6. Tips


1. Instalarea propiu-zisa

* Cea mai buna metoda de a instala un server este cea manuala, adica cu ajutorul HLDSUpdateTool
* Descarcati HLDSUpdateTool LINK
* 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. (cstrike/server.cfg)

// 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"
sv_minrate "0"
sv_maxrate "25000"
sv_maxupdaterate "101"
sv_minupdaterate "20"
decalfrequency "99"
sys_ticrate "1000"
sv_unlag "1"
sv_timeout "22"

// 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 ==================


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...

# O scurta verificare prin comanda 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.3.0
* DOWNLOAD:LINK

4.1. Instalearea Dptoto 0.3.0

* 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 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 = 3
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 = 11
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🅱c
# ^ - this prefix for authids generated by IP
IPGen_Prefix1 = 0

# IPGen_Prefix2 (int)
# STEAM_a🅱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_PENDING, jucatorii nonsteam p48 vor avea ID : STEAM_666:88:666, iar restul raman neschimbate.
# Veti mai gasi in arhiva un folder amxx care contine un plugin pentru AmxModX - dp_test.amxx care necesar pentru functionarea corecta pluginului dproto 0.3.0. Instalati ca orice alt plugin amxx.

# 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.3.0 ini Start Never inseamna ca functioneaza si serverul dumneavoastra apare la internet si la favorit la toata lumea

5. Protejarea serverului [ AntiCSDos ]

* Probabil ca unii dintre voi aveti dureri de cap cu serverul, pica frecvent.
* Solutia acestei probleme vine cu softul creat de Shoker, AntiCSDos, ultima versiune fiind 3.2
* Acesta blocheaza atacurile : CSDos, Born to be pig si versiuni modificate ale acestuia.
* Mai multe informatii despre acesti soft le gasiti aici
* Puteti descarca de aici sau de pe pagina principala.
* Dezarhivati si instalati oriunde pe disc.
* Are o interfata usor de folosit si nu necesita multe resurse.




6. Tips

* Incearca sa tineti serverul cat mai simplu, cu cat mai simplu cu atat mai bine.
* Asta nu inseama sa lasati serverul pe mod clasic.
* Folositi functia sv_downloadurl pentru alte resurse necesare ( sunete, harti, wad-uri etc. )
* Nu vreau sa aud "najpa tutorial, am bagat si swds-uri si redirect si tot k 0/22" -> Nu este vina mea daca ati gresit voi ceva
* Nu uitati sa deschideti porturile necesare ( router sau modem )
Sus In jos
Vezi profilul utilizatorului http://just-cs.forumz.ro
 
HLDS Installation & Setup Tutorial
Sus 
Pagina 1 din 1
 Subiecte similare
-
» [Tutorial] Cum sa faci un sistem de logare/inregistrare!

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
::. Counter-Strike .:: :: TUTORIALE-
Mergi direct la: