[GH-ISSUE #1294] HLTV #1002

Open
opened 2026-02-27 02:54:46 +03:00 by kerem · 8 comments
Owner

Originally created by @uGamers on GitHub (Feb 3, 2017).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1294

Can add a script for HLTV? for cs 1.6 cs source csgo and any other servers that can use it?

Originally created by @uGamers on GitHub (Feb 3, 2017). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1294 Can add a script for HLTV? for cs 1.6 cs source csgo and any other servers that can use it?
Author
Owner

@UltimateByte commented on GitHub (Feb 3, 2017):

Can you be more specific? We're not on twitter, this is a development place, so if you got a project or a request, you need to provide details. Unless you wish to work about it on your own and already know what you need exactly.

<!-- gh-comment-id:277239412 --> @UltimateByte commented on GitHub (Feb 3, 2017): Can you be more specific? We're not on twitter, this is a development place, so if you got a project or a request, you need to provide details. Unless you wish to work about it on your own and already know what you need exactly.
Author
Owner

@uGamers commented on GitHub (Feb 4, 2017):

I will keep looking for info on it.

Check this out http://www.slipgate.de/download/HLTV-Readme.txt

<!-- gh-comment-id:277449589 --> @uGamers commented on GitHub (Feb 4, 2017): I will keep looking for info on it. Check this out http://www.slipgate.de/download/HLTV-Readme.txt
Author
Owner

@UltimateByte commented on GitHub (Feb 4, 2017):

So this is for goldsource engine? Like cs 1.6 etc, that don't offer sourcetv?

<!-- gh-comment-id:277455579 --> @UltimateByte commented on GitHub (Feb 4, 2017): So this is for goldsource engine? Like cs 1.6 etc, that don't offer sourcetv?
Author
Owner

@uGamers commented on GitHub (Feb 6, 2017):

Yes GoldSource. It runs along side the HLDS Server providing a way to have spectators without using slots on the server besides the 1 the HLTV uses to connect to server.

<!-- gh-comment-id:277572586 --> @uGamers commented on GitHub (Feb 6, 2017): Yes GoldSource. It runs along side the HLDS Server providing a way to have spectators without using slots on the server besides the 1 the HLTV uses to connect to server.
Author
Owner

@uGamers commented on GitHub (Mar 1, 2017):

Files needed

  1. hltv.cfg
`// 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 "Name the HLTV on Player list"

// set HLTV name, how it should appear in game server browsers
hostname                "Server Browser Name"

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

// 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 12 seconds in center of X axis (-1) and
// above help text bar (0.85). Color given as hexadecimal RGBA .
//loopcmd 1 120 localmsg "Voce esta assintindo a LiBra-TV -
//www.ligabrasileira.com.br" 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"

maxclients "35"

connect server|ip <This is the server you want HLTV to connect to>

echo hltv.cfg loaded.
  1. I use this to start but you would prob do something like this within csserver script.
tmux kill-session -t hltv
tmux new-session -d -s hltv ./hltv.lib -console -ip 000.000.000.000 -port 27020
echo "Server Started Successfully" 

IP == What you want the HLTV IP to be in Server Browser.

  1. I use this to stop
echo "Server Stopped"

Anyways Just thought some might need or want it in this script 💃

<!-- gh-comment-id:283207128 --> @uGamers commented on GitHub (Mar 1, 2017): Files needed 1. hltv.cfg ``` `// 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 "Name the HLTV on Player list" // set HLTV name, how it should appear in game server browsers hostname "Server Browser Name" // 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 1 // 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 12 seconds in center of X axis (-1) and // above help text bar (0.85). Color given as hexadecimal RGBA . //loopcmd 1 120 localmsg "Voce esta assintindo a LiBra-TV - //www.ligabrasileira.com.br" 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" maxclients "35" connect server|ip <This is the server you want HLTV to connect to> echo hltv.cfg loaded. ``` 2. I use this to start but you would prob do something like this within csserver script. ``` tmux kill-session -t hltv tmux new-session -d -s hltv ./hltv.lib -console -ip 000.000.000.000 -port 27020 echo "Server Started Successfully" ``` IP == What you want the HLTV IP to be in Server Browser. 3. I use this to stop ```tmux kill-session -t hltv echo "Server Stopped" ``` Anyways Just thought some might need or want it in this script 💃
Author
Owner

@borzaka commented on GitHub (Nov 19, 2018):

For CS:GO, there is an ESL serverconfig, which contains an eslgotv.cfg:

// ESL - www.eslgaming.com
// GOTV Config
// 14.01.2016


sv_hibernate_postgame_delay 180

tv_allow_camera_man 1        	// Auto director allows spectators to become camera man
tv_allow_static_shots 1        	// Auto director uses fixed level cameras for shots
tv_autorecord 1            	// Automatically records all games as GOTV demos.
tv_chatgroupsize 0        	// Set the default chat group size
tv_chattimelimit 8        	// Limits spectators to chat only every n seconds
tv_debug 0                	// GOTV debug info.
tv_delay 90                	// GOTV broadcast delay in seconds
tv_delaymapchange 1        	// Delays map change until broadcast is complete
tv_deltacache 2            	// Enable delta entity bit stream cache
tv_dispatchmode 1            	// Dispatch clients to relay proxies: 0=never, 1=if appropriate, 2=always
tv_enable 1                	// Activates GOTV on server.
tv_maxclients 10            	// Maximum client number on GOTV server.
tv_maxrate 20000            	// Max GOTV spectator bandwidth rate allowed, 0 == unlimited
tv_name "ESL - GOTV"    	// GOTV host name
tv_overridemaster 0        	// Overrides the GOTV master root address.
tv_port 27020            	// Host SourceTV port
tv_relaypassword schmetterling 	// GOTV password for relay proxies
tv_relayvoice 0            	// Relay voice data: 0=off, 1=on
tv_snapshotrate 24        	// Snapshots broadcasted per second
tv_timeout 60            	// GOTV connection timeout in seconds.
tv_title "ESL - GOTV"    	// Set title for GOTV spectator UI
tv_transmitall 1            	// Transmit all entities (not only director view)

say "> ESL GOTV Config loaded - 14.01.2016 <"
<!-- gh-comment-id:439839803 --> @borzaka commented on GitHub (Nov 19, 2018): For CS:GO, there is an [ESL serverconfig](https://play.eslgaming.com/download/26251762/), which contains an `eslgotv.cfg`: ``` // ESL - www.eslgaming.com // GOTV Config // 14.01.2016 sv_hibernate_postgame_delay 180 tv_allow_camera_man 1 // Auto director allows spectators to become camera man tv_allow_static_shots 1 // Auto director uses fixed level cameras for shots tv_autorecord 1 // Automatically records all games as GOTV demos. tv_chatgroupsize 0 // Set the default chat group size tv_chattimelimit 8 // Limits spectators to chat only every n seconds tv_debug 0 // GOTV debug info. tv_delay 90 // GOTV broadcast delay in seconds tv_delaymapchange 1 // Delays map change until broadcast is complete tv_deltacache 2 // Enable delta entity bit stream cache tv_dispatchmode 1 // Dispatch clients to relay proxies: 0=never, 1=if appropriate, 2=always tv_enable 1 // Activates GOTV on server. tv_maxclients 10 // Maximum client number on GOTV server. tv_maxrate 20000 // Max GOTV spectator bandwidth rate allowed, 0 == unlimited tv_name "ESL - GOTV" // GOTV host name tv_overridemaster 0 // Overrides the GOTV master root address. tv_port 27020 // Host SourceTV port tv_relaypassword schmetterling // GOTV password for relay proxies tv_relayvoice 0 // Relay voice data: 0=off, 1=on tv_snapshotrate 24 // Snapshots broadcasted per second tv_timeout 60 // GOTV connection timeout in seconds. tv_title "ESL - GOTV" // Set title for GOTV spectator UI tv_transmitall 1 // Transmit all entities (not only director view) say "> ESL GOTV Config loaded - 14.01.2016 <" ```
Author
Owner

@aronmgv commented on GitHub (Dec 5, 2018):

Can we please have this problem addressed? Or please point me where exactly I should do the script execution.

I would like to bind HLTV startup with the server itself - so the HLTV will reconnect on every start/restart etc.

Thanks!

<!-- gh-comment-id:444424103 --> @aronmgv commented on GitHub (Dec 5, 2018): Can we please have this problem addressed? Or please point me where exactly I should do the script execution. I would like to bind HLTV startup with the server itself - so the HLTV will reconnect on every start/restart etc. Thanks!
Author
Owner

@aronmgv commented on GitHub (Jun 29, 2020):

Any progress on this?

<!-- gh-comment-id:651048918 --> @aronmgv commented on GitHub (Jun 29, 2020): Any progress on this?
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#1002
No description provided.