hltv only works with a specific setup. What you need to do is start it up with something like this
hltv +connect 7.7.7.7:27015 -ip 8.8.8.8 -port 27020 +rate 3500 -maxclients 16 setup hltv.cfg like this ------------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 that shows in game" // set HLTV name, how it should appear in game server browsers hostname "name of hltv server" // 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 "mypassword" // proxy's adim password for rcon, commentator etc. adminpassword "adminpass" // 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 "http:\\www.mywebsite.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. connect 8.8.8.8:27015 ------------hltv.cfg----------------- > sorry > i thought problem is gone > but not > script is working if i start in current session > but if i start it in screen > the problem the same > may be i miss something? > > if i run > > #!/bin/bash > LD_LIBARARY_PATH=$PWD:$LD_LIBRARY_PATH > ./hltv +connect localhost:27035 > > all ok > > if > > #!/bin/bash > LD_LIBARARY_PATH=$PWD:$LD_LIBRARY_PATH > screen -A -m -d -S cs16tv ./hltv +connect localhost:27035 > > error -( > > > ---------- Thursday, February 14, 2008 3:41:23 PM ---------- > ////////////////////////////////////////////////// > dL> I'm lol > dL> -) > dL> i write this script on windows notepad > dL> and it place ^ at end of strings > dL> edit file at linux - all worked > dL> thank all of you -) > > > dL> ---------- Thursday, February 14, 2008 3:00:30 PM ---------- > dL> ////////////////////////////////////////////////// > JL>> Gary Stanley wrote: >>>> At 11:28 PM 2/13/2008, dtms Levinchuk wrote: >>>>> hi >>>>> i installed cs1.6 on centOS >>>>> server started successful >>>>> but i cant start hltv >>>>> >>>>> i using script to run hltv >>>>> >>>>> tv.sh >>>>> ------------------------- >>>>> #/bin/bash >>>>> export >>>>> LD_LIBRARY_PATH=/home/filoret/cs16_hltv_public:$LD_LIBRARY_PATH >>>>> screen -A -m -d -S cs16tv ./hltv +connect localhost:27035 >>>>> ------------------------- >>>> >>>> #!/bin/bash >>>> LD_LIBARARY_PATH=$PWD:$LD_LIBRARY_PATH >>>> screen -A -m -d -S cs16tv ./hltv +connect localhost:27035 >>>> >>>> >>>> -- Gary Stanley ([EMAIL PROTECTED] | [EMAIL PROTECTED]) >>>> >>>> Q: Because it reverses the logical flow of conversation. >>>> A: Why is top-posting (putting a reply at the top of the message) >>>> frowned upon? >>>> Let's not play "Jeopardy-style quoting" >>>> >>>> >>>> >>>> _______________________________________________ >>>> > > JL>> Or > > JL>> export LD_LIBRARY_PATH=/where/SteamValidateblah/is/:$LD_LIBRARY_PATH > > JL>> before the rest of your string > > > > JL>> _______________________________________________ > JL>> To unsubscribe, edit your list preferences, or view the list > archives, please visit: > JL>> http://list.valvesoftware.com/mailman/listinfo/hlds > > dL> ////////////////////////////////////////////////// > dL> -------------------------------------------------- > dL> ______________________ > dL> ÎÎÎ "Äàëüòåõìàøñåðâèñ" > dL> Îòäåë ïðîäàæ > dL> Ëåâèí÷óê Ô.Â. > dL> òåë\ôàêñ:(4232) 321286,321372 > > > dL> _______________________________________________ > dL> To unsubscribe, edit your list preferences, or view the list archives, > please visit: > dL> http://list.valvesoftware.com/mailman/listinfo/hlds > > ////////////////////////////////////////////////// > -------------------------------------------------- > ______________________ > ÎÎÎ "Äàëüòåõìàøñåðâèñ" > Îòäåë ïðîäàæ > Ëåâèí÷óê Ô.Â. > òåë\ôàêñ:(4232) 321286,321372 > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds