Raised This Month: $32 Target: $400
 8% 

Script to start HLTV


Post New Thread Reply   
 
Thread Tools Display Modes
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 04-09-2012 , 18:58   Re: Script to start HLTV
Reply With Quote #31

Awesome man! Don't worry about the wait - Like I said, I'm grateful for any help I can get. I'll just bump this thread if there are bugs, in case anybody else was going to try out the script, too.
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 04-10-2012 , 21:02   Re: Script to start HLTV
Reply With Quote #32

I'm having some trouble setting this up, mostly due to being pretty much linux retarded. Is it possible to add you on steam tomorrow evening or so? PM me your steam profile if that is acceptable.
__________________
Boycott ESEA
My servers

Last edited by ghostofmybrain; 04-10-2012 at 21:02.
ghostofmybrain is offline
8088
Veteran Member
Join Date: Jan 2008
Old 04-11-2012 , 21:19   Re: Script to start HLTV
Reply With Quote #33

Turned out my scripts were bugged :| For anyone caring, I've updates the .zip above (including an updated version of SourceQuery.class.php - thanks again, xPaw). Ghostofmybrain confirmed it's working. If it's not working for you, blame him!
__________________
steamID converter with OpenSearch browser plugin

Last edited by 8088; 04-11-2012 at 21:22. Reason: smilies :|
8088 is offline
Obsession
Member
Join Date: Jan 2012
Old 04-15-2012 , 12:27   Re: Script to start HLTV
Reply With Quote #34

make a shourcut and wirte

+connect IP -port 27015 and the next hltv shourcut 27016

and the final OPEN the shorcut HLTV
Obsession is offline
8088
Veteran Member
Join Date: Jan 2008
Old 04-15-2012 , 13:04   Re: Script to start HLTV
Reply With Quote #35

Did you read the thread before posting that?
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 04-15-2012 , 14:22   Re: Script to start HLTV
Reply With Quote #36

Quote:
Originally Posted by 8088 View Post
Did you read the thread before posting that?
Clearly not.
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
Hampster
New Member
Join Date: Jul 2012
Old 07-17-2012 , 01:02   Re: Script to start HLTV
Reply With Quote #37

8088, thank you for the files! I found this thread with a google search and this cronjob was very easy to set up. Many thanks again
__________________

Last edited by Hampster; 07-17-2012 at 01:06.
Hampster is offline
Arrow
Member
Join Date: Sep 2008
Old 10-02-2012 , 12:12   Re: Script to start HLTV
Reply With Quote #38

Trying to run this script on a HL1 Server. I am getting this emailed to me:

Server - SERVER IP - id 1
Server should be monitored

Notice: You should pass $Engine variable to Connect(), defaulting to Source. in /home/PATH/cronjob/SourceQuery.class.php on line 75

Fatal error: Uncaught exception 'SourceQueryException' with message 'GetInfo: Packet header mismatch. (0)' in /home/PATH/cronjob/SourceQuery.class.php:163
Stack trace:
#0 /home/PATH/cronjob/cronjob.php(140): SourceQuery->GetInfo()
#1 /home/PATH/cronjob/cronjob.php(53): queryHLDS(Array)
#2 {main}
thrown in /home/PATH/cronjob/SourceQuery.class.php on line 163

Last edited by Arrow; 10-02-2012 at 12:50.
Arrow is offline
Arrow
Member
Join Date: Sep 2008
Old 10-02-2012 , 15:05   Re: Script to start HLTV
Reply With Quote #39

I tried updating the SourceQuery.class.php from paw's site.

and it runs, except I get another error saying that it cannot connect to the server. I have triple checked the server ip and port and rcon pw everything is right.

Server1 - IP:27015 - id 2
Server1 should be monitored
Could not connect to IP:27015
-----------------------------
Server2 - IP:27015 - id 3
Server2 should be monitored
Could not connect to IP:27015
-----------------------------

Last edited by Arrow; 10-02-2012 at 15:25.
Arrow is offline
demonicserver
Member
Join Date: Jul 2007
Old 01-08-2015 , 00:25   Re: Script to start HLTV
Reply With Quote #40

Sorry to revive old topic but, will this script continue recording on mapchange? As far as I've seen, when it reads from mysql that recording is set to 1, on a mapchange, recording will stop but nothing checks if script needs to start recording again.
demonicserver is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode