Owi je jedan:
Ovo je za sada privremeni tutorial dok se ne obradi jedan drugi, dotle se nadam da vam ovo moze pomoci...
Za podizanje servera na windows platformi potrebno vam je sledece:
HLDS - trenutno aktuelna verzija je 4.1.1.1 - HLDS 4.1.1.1.exe - 118MB
Counter strike 1.6 v7 full.exe - 278MB
Counter Strike 1.6 patch v21.exe - 21MB - zadnji patch koji sadrzi dosta zakrpa o cemu ce biti rec kasnije.
AMX plugin - AMX 0.9.9 won.zip - 783KB [trenutna i zadnja ver. je 0.9.9]
Metamod plugin - 256KB - Metamod 1.17.4.zip [trenutna i zadnja ver. je 1.17.4]
Dodatni amx pluginovi za administraciju i ostalo...po zelji i kreativnosti administratora.
KORAK 1.-Instalacija HLDS
Posto ste skinuli HLDS 4.1.1.1.exe sa interneta ili nasli od nekoga(za sve zainteresovane posto se fajl teze nalazi na netu,imate ga na pr. u download sekciji na http://www.fileshack.com/file.x?fid=184 - evo iskoristite moj user name:TrEeXxX - pass:88888888,posto samo za to i sluzi...smanjujem vam cak i vreme da se registrujete i smarate xe xe )pokrenite instalaciju,posle prvog koraka instalacija vam nudi Def. putanju instalacije C:HLserver
prihvatite postavke i idite do kraja.
Nakon instalacije HLDS prelazimo na instalaciju Counter strike-a
KORAK 2.-Instalacija Counter Strike 1.6 non steam
Predpostavljam da vec posedujete tako poznat fajl Counter Strike 1.6 full v7.exe svi,no ako ga ne posedujete skinite ga iz nase download sekcije.Pokrenite instalaciju i promenite putanju instalacije na C:\HLserver gde vam je instaliran HLDS,posle instalacije CS-a potrebno je instalirati i patch na najnoviju verziju v21,takodje promenite install putanju istog na C:\HLserver jer je def. putanja C:\Program Files\Valve
Posto smo sve zavrsili prelazimo na sledeci korak.No,pre sledeceg koraka obrisite slobodno ikonice koje su vam se stvorile na desktopu slobodno jer vam one nece biti potrebne kako vas ne bi zbunjivale
KORAK 3.-Provera servera
Ako ste sve zavrsili kako treba valjalo bi testirati server da li funkcionise?
Zato cete izvuci shortcut na desktop od izvrsnog file-a hlds.exe koji se nalazi u C:\HLserver
Nakon sto ste to uradili kliknucete desnim tasterom misa na pomenuti shourtcut i pogledati "target" polje,tu cete verovatno naci sledece "C:\Hlserver\hlds.exe".Ono sto je potrebno da uradite je sledece:da dodate par komandi:-game cstrike -console -noipx -nomaster +map de_dust2 +maxplayers 16 +sv_lan 0 +port 27015 +secure 1
Znaci nas "target" bi trebalo da izgleda na sledeci nacin:
C:\HLServer\hlds.exe -game cstrike -console -noipx -nomaster +map de_dust2 +maxplayers 16 +sv_lan 0 +port 27015 +secure 1
Komanda -game cstrike -console nalaze HLDS da se startuje u Counter Strike modu i to u konzoli
+map de_dust2 - startna mapa
+maxplayers 16 - nalaze maximalni broj igraca
O ostalim ce biti kasnije rec.
Startujte server i proverite da li sve funkcionise kako treba.Da li vam se pojavljuje neka greska,ako je tako proverite da li ste negde pogresili.
KORAK 4.-Instalacija AMX plugin-a i Metamod plugin-a
Za Ovaj korak potrebna vam je instalacija AMX plugin-a koju mozete naci na www.amxmod.net/download.php - OBAVEZNO SKINITE WON VERZIJU AMX-a jer je ona podrzana za patchovane servere.
Takodje je potrebno i Metamod plugin koji takodje mozete preuzeti sa lokacije: http://prdownloads.sourceforge.net/metamod/metamod-1.17.4-win.zip?download
Nakon sto ste nabavili sledece fajlove krecemo u instalaciju sledecim redom AMX plugin pa Metamod jer u AMX fajlu koji ste skinuli vec sadrzi Metamod plugin samo ver. pre zadnje aktuelne 1.17.1 koju cemo updateoveti sa novom tako sto cemo iskopirati dll file u odredjen folder.Sledi duze objasnjenje:
Evo sta cete uraditi:Iz zip fajla AMX 0.9.9 won.zip prekopirajte sadrzaj u folder C:\HLserver\cstrike
Znaci dobicemo nov folder u csstrike direktorijumu pod nazivom "addons" koji sadrzi poddirektorijume "amx" i "metamod" - znaci sledece:
C:\HLserver\cstrike\addons\amx i
C:\HLserver\cstrike\addons\metamod
Odma nakon toga uzmite najnoviju verziju Metamod plugin-a i iskopirajte je u "C:\HLserver\addons\metamod\dlls"-ovime smo updateovali na najnoviju verziju.
Sledece sto morate da uradite je da u folderu
C:\HLserver\cstrike\addons\metamod\sample_plugins.ini prepravite na plugins.ini znaci na "C:\HLserver\cstrike\addons\metamod\plugins.ini"
Zatim-Idite u direktorijum C:\HLserver\cstrike i nadjite fajl pod nazivom liblist.gam,otvorite fajl upotrebom notepad-a i uradite sledece:
U liblist.gam file-u umesto reci:
gamedll "dlls\mp.dll"
morati imati sledece-znaci prepravite red u ovo:
gamedll "addons\metamod\dlls\metamod.dll"
PROVERA RADA,nakon ponovnog startovanja servera ukucajte u konzoli "amx" da vidite listu svih mogucih komandi za AMX mod,sa tom komandom proveravate verziju AMX-a,listu svih cvars i server komandi registrovanih od plugin-a.Ako nijedan od njih ne radi ili dobijete error poruku onda niste instalirali AMX mod kako treba.
Ovo bi bilo najbrze uputstvo za podizanje servera na windows platformi.U sledecim topicu cemo se upoznati detaljno sa amx-om,komandama,kompajliranjem svojih pluginova,cemu oni sluze,sta nam pomazu kod administracije,detaljno konfigurisanje servera,prolazicemo kroz server.cfg gde cemo videti listu sa svim potrebnim komandama sa kojima server startuje.Takodje cemo se upoznati i sa CD-om,kompletnim konfigurisanjem,do detalja,ubacivanjem dodatnih pluginova na server i njihova administracija.
Pricu nastavljamo sa server.cfg koji je jako bita.Prvo da objasnimo cemu on sluzi.Doticni fajl "server.cfg" koji cete kreirati u vashem /valve/cstrike folderu sadrzi spisak svih komandi koje se startuju sa serverom...na primer pri pokretanju servera on iz istoga fajla vuce sve komande...tipa mp_freeztime 5 - vreme na pocetku 5 sec. ili slicno...Da bi se ovaj .cfg fajl izvirshio i da bi ga server ucitao potrebo je da upisemo dodatnu komandu u precicu naseg CS servera i to (mada mislim da se on i sam izvrsava automatski-ispravite me ako gresim-mada 100% ste sigurni ako upisete ovu komandu jer ce se to izvrsiti):"+ exec server.cfg" znaci konacan rezultat bi treba ovako nekako da izgleda:
C:\HLServer\hlds.exe -game cstrike -console -noipx -nomaster +exec server.cfg +map de_dust2 +maxplayers 32 +sv_lan 0 +port 27015 +secure 1
U ovom fajlu mozete stavljati tipicne komande sa kojima se server startuje tipa:
// Use this file to configure your DEDICATED server.
// This config file is executed on server start.
// disable autoaim
sv_aim 0
// disable clients' ability to pause the server
pausable 0
// default server name. Change to "Bob's Server", etc.
//
hostname "Ovde stavite ime servera na primer" - na primer CS 1.6 server
sv_downloadurl "ovde mozete svoj url da stavite"
sv_send_resources 1
sv_allowdownload 1
sv_contact "svoj mail"
cdrequired 1
cdrequiredmsg "Potrebna vam je najnovija verzija CD-a,posetite www.unitedadmins.com"
// maximum client movement speed
sv_maxspeed 320
rcon_password "vas rcon password"
sv_roundtime "3"
mp_friendlyfire "1"
mp_forcechasecam "2"
mp_flashlight "1"
mp_c4timer "35"
mp_buytime "0.5"
mp_autokick "0"
mp_roundtime "3"
mp_tkpunish "0"
sv_maxrate "9999"
sv_password ""
//cdrequiredversion "4.31.0"
sv_maxspeed "320"
sv_airmove "0"
// 20 minute timelimit
mp_timelimit "45"
mp_freezetime "5"
cl_weather 0
sv_cheats 0
// load ban files
exec listip.cfg
exec banned.cfg
mp_logdetail 3
i takodje jos mnogo drugih komandi koje mozete ovde uneti i sve ce se one izvrsiti pri paljenju servera i dovesce do takve postavke.Milsim da je nepotrebo objashnjavati svaku od ovih komanda ponaosob.
Eto to je to za sada, sto sam iskopao na nety, zahvaljem se autoru ovog tutoriala.... detaljnije upustvo ce biti okaceno kasnije
Owo je drugi:
Create a new folder where you want to install the game server. As an example we will use C:/HLDS
Open hldsupdatetool.exe and click Next,Agree, choose the destination folder.
Press Browse and select the C:/ driver, double click on HLDS folder. A message will appear saying that that the folder already exists and than we press Yes, then next until the setup ends.
Next step is to give a command from DOS command line. To do that, press Start button, press Run, write cmd and press OK. Change the current directory by writing the following command: cd C:\HLDS.
Depending on the Internet connectio speed it may take up to a couple of minutes or few hours. Write the following command in DOS command line:
hldsupdatetool.exe -command update -game valve -dir .
This command starts the HLDS download. After the download is complete, the following message is displayed: HLDS installation up to date. We will now download the files needed for Counter - Strike Mod, write the next line in DOS:
hldsupdatetool.exe -command update -game cstrike -dir .
After the download is complete, the following message is displayed: HLDS installation up to date
Making the Server NO-Steam
Download NO-Steam patch
Extract hldsw32-emporio.rar to C:/HLDS
2. server.cfg - The server Config
Server.cfg is located in C:\HLDS\cstrike(if you used C:\HLDS as the destination where to install the server)
directory. Open it with Wordpad or Notepad. Delete all it is in the .cfg
Add the following lines in server.cfg
hostname "The Name of THe Server"
mp_autokick 0
mp_autocrosshair 0
mp_autoteambalance 0
mp_buytime 2
mp_consistency 1
mp_c4timer 35
mp_fadetoblack 0
mp_falldamage 0
mp_flashlight 1
mp_forcecamera 3
mp_forcechasecam 2
mp_friendlyfire 1
mp_freezetime 3
mp_fraglimit 0
mp_hostagepenalty 0
mp_limitteams 6
mp_logfile 1
mp_logmessages 1
mp_logdetail 3
mp_maxrounds 0
mp_playerid 0
mp_roundtime 3
mp_startmoney 800
mp_timelimit 35
mp_tkpunish 0
mp_winlimit 0
sv_aim 0
sv_airaccelerate 10
sv_airmove 1
sv_allowdownload 1
sv_clienttrace 1.0
sv_clipmode 0
sv_allowupload 1
sv_cheats 0
sv_gravity 800
sv_lan 1
sv_maxrate 7000
sv_maxspeed 320
sv_maxupdaterate 101
sys_ticrate 10000
decalfrequency 60
pausable 0
log on
decalfrequency 60
edgefriction 2
host_framerate 0
exec listip.cfg
exec banned.cfg
rcon_password PASSWORD
To write anything you want (eg. My CS 1.6 Server), than delete the word and write the password for remote administration.
3. Installing and Configureing Adminmod for Windows
First we have to download Adminmod for Windows Extract the archieve you just downloaded, double click on install_admin.vbs, press OK, select where you have installed the CS server(in ower case C:\HLDS), than choose the number that correspond to Counter-Strike Mod
Admin Mod Config Go to C:\HLDS\cstrike\addons\adminmod\config,and open adminmod.cfg with WordPad or Noptead and change the following cvars:
- admin_balance_teams 0
- admin_bot_protection 0 (exec commands on bots)
- admin_connect_msg (the message shown immediatelly after a player connects to the server)
- admin_cs_restrict 1 (restrict items during the game)
- admin_debug 0
- admin_fun_mode 0
- admin_fx 1
- admin_highlander 0
- admin_ignore_immunity 1
- admin_repeat_msg (green message that is shown in the middle of the screen every 3 minutes)
- admin_quiet 0
- allow_client_exec 1
- password_field _pass (when an admin connects to the server he writes in the console:
/setinfo _pass *****, you can change _pass with what you want)
- reserve_slots 2 (number of slots reserved on the server)
- reserve_type 0
The rest of the variables should be left as they are initially.
4. Installing and Configureing StatsMe
Download Statsme Extract the downloaded archieve,statsme-2.8.3-cstrike.zip to C:\HLDS\cstrike directory.
Go to C:\HLDS\cstrike\addons\metamod directory and open plugins.ini
with WordPad. Add the following line at the begining of the file:
win32 addons\statsme\dlls\statsme_mm.dll
Go to C:\HLDS\cstrike\addons\statsme and open statsme.cfg with WordPad. Modify the sm_menupassword from r3wt with another password. When entering the game you will have to write in the console statsme_menu password_from_statsme.cfg.cfg in order to modify last settings.
5.How to make /rank and /top10 work
Open statsme.cfg and change the sm_storebyauth from 1 to 0.
Secure server
It is important to have a non secure server because of many reasons. To do that, go to C:\HLDS\cstrike and open liblist.gam with WordPad. Modify secure from 1 to 0. Save and exit.
Starting the server - method #1
(This is the simple mode but the server usses more resources)
Go to C:\HLDS. Double click on hlds.exe and select the following options:
- Game: CounterStrike
- Server Name: eg. Best CS 1.6 Server
- Map: anything
- Network: Internet
- Max. Players: as many as you want
- UDP Port: the port on which the server will run (default: 27015)
- RCON Password: remote password administration
- Secure (Valve Anti-Cheat): unchecked!
Starting the server - method #2
(Simpler method, usses little resources)
Go to C:\HLDS.
Right click on hlds.exe and choose "Create Shortcut" or "Send to > Desktop".
Right click on the created shortcut and choose Properties.
In Target field you will see C:\HLDS\hlds.exe after, add the following:
-console -game cstrike +ip EXTERNAL_IP +sv_lan 1 +maxplayers PLAYERS_NUMBER +map de_dust2 -nomaster
Press Ok and double click on the shortcut.