Satthutraidudu
Mr & Ms Pac-Man
- 11/7/04
- 172
- 0
Đầu tiên forward port 27020 (trong router) tương tự như foward port 27015 cho server game cho máy làm HLTV. Nếu HLTV và server game cùng 1 máy thì foward port 27020 về máy server luôn.
Trong thư mục của server game sẽ có sẵn 2 file
hltv.exe
hltv.cfg
Tạo thêm 1 file director.cfg nội dung sẽ là những config cần thiết nếu có, còn ko cứ tạo với file rỗng cho hltv ko báo lỗi do không tìm thấy file director.cfg
Edit file hltv.cfg theo ý bạn như set password, sửa tên HLTV server, chỉnh max spectator,...
Tham khảo:
Chờ cho nó load các dòng lệnh xong đánh lệnh sau:
connect IP:27015
trong đó
IP là IP của server game, 27015 là port của Game.Nếu HLTV chạy trong mạng LAN cùng mạng với cái máy làm server thì connect với IP Lan:
Ví dụ:
connect 192.168.1.30:27015
Xong nếu HLTV này ko set password ở trên trong file hltv.cfg thì mọi người có thể vào xem thoải mái.
---------------------------------------------------------------------
Để xem HLTV, người xem chỉ việc chạy CS 1.6 và connect vô server có HLTV.
Ví dụ:
connect procsvn.servegame.org:27020
connect ck.game-host.org:27020
----------------------------------------------------------------------
Không nhất thiết HLTV phải chạy trên cùng máy làm server CS.
Ví dụ máy của anh UZI làm server CS, thì máy anh Forza có thể chạy HLTV,
connect vô máy anh UZI : connect ck.game-host.org:27015 như chơi game (lệnh đánh trong console của HLTV). Sau khi đã foward port như nói ở trên, mọi người có thể xem bắn nhau trong server chicken.game-host.org bằng cách connect vô server procsvn:
connect procsvn.servegame.org:27020
Cách này dùng để giảm tải cho server chicken nếu spectator connect vô HLTV quá nhiều.
Trong thư mục của server game sẽ có sẵn 2 file
hltv.exe
hltv.cfg
Tạo thêm 1 file director.cfg nội dung sẽ là những config cần thiết nếu có, còn ko cứ tạo với file rỗng cho hltv ko báo lỗi do không tìm thấy file director.cfg
Edit file hltv.cfg theo ý bạn như set password, sửa tên HLTV server, chỉnh max spectator,...
Tham khảo:
Sau đó chạy file htlv.exe mỗi khi muốn mở HLTV cho mọi người vào xem.// HLTV Proxy configuration file
// HLTV proxy runs this file on start up
// This file should only be edited if you want to broadcast a game
// set HLTV proxy name as shown in score board
name "HLTV For Procsvn-STTdd testing"
// set HLTV name, how it should appear in game server browsers
hostname "CK clan HLTV Proxy"
// set offline info text clients will see as reject reason if HLTV isn't broadcasting yet
offlinetext "Sorry, game is delayed. Please try again later."
// delays broadcasting for 30 seconds
delay 30.0
// allow 3.5 KByte/sec as client rate. This is good a value
// for internet broadcasts. On LAN you may set this value to 10000
maxrate 3500
// log HLTV console in proxy.log
// logfile 1
// local chatting for HLTV spectators enabled
chatmode 2
// if game server is password protected, enable this line
// serverpassword "*****"
// proxy's adim password for rcon, commentator etc.
// adminpassword "*****"
// show message for 5 seconds each 60 seconds in center of X axis (-1) and
// above help text bar (0.85). Color given as hexadecimal RGBA .
loopcmd 1 60 localmsg "You're watching HLTV. Visit www.procsvn.com" 5 -1 0.85 FFA000FF
// hltv.tga will be shown instead of the default HLTV logo in spectator GUI
// bannerfile "hltv.tga"
// these commands will be executed on connecting spectator client and may be used
// to adjust settings for HLTV (for example voice parameters)
signoncommands "voice_scale 2; voice_overdrive 16; volume 0.5; echo Voice adjusted for HLTV"
echo hltv.cfg loaded.
Chờ cho nó load các dòng lệnh xong đánh lệnh sau:
connect IP:27015
trong đó
IP là IP của server game, 27015 là port của Game.Nếu HLTV chạy trong mạng LAN cùng mạng với cái máy làm server thì connect với IP Lan:
Ví dụ:
connect 192.168.1.30:27015
Xong nếu HLTV này ko set password ở trên trong file hltv.cfg thì mọi người có thể vào xem thoải mái.
---------------------------------------------------------------------
Để xem HLTV, người xem chỉ việc chạy CS 1.6 và connect vô server có HLTV.
Ví dụ:
connect procsvn.servegame.org:27020
connect ck.game-host.org:27020
----------------------------------------------------------------------
Không nhất thiết HLTV phải chạy trên cùng máy làm server CS.
Ví dụ máy của anh UZI làm server CS, thì máy anh Forza có thể chạy HLTV,
connect vô máy anh UZI : connect ck.game-host.org:27015 như chơi game (lệnh đánh trong console của HLTV). Sau khi đã foward port như nói ở trên, mọi người có thể xem bắn nhau trong server chicken.game-host.org bằng cách connect vô server procsvn:
connect procsvn.servegame.org:27020
Cách này dùng để giảm tải cho server chicken nếu spectator connect vô HLTV quá nhiều.
, khi nào có giải nhiều người muốn coi thì làm vậy, lúc đó nên nhờ cái máy của UZI làm HLTV server đi thì server sẽ không bị lag và mọi người thi đấu sẽ đỡ lag hơn.