I'm currently setting up my HLTV and webspace to talk to each other.
I followed this thread on Allied Mods to set up a cronjob to query my server and auto record an HLTV demo only if 4+ people are on the server.
Where I'm stuck now is actually moving over the files. I started another script for another cronjob to be run once a day (in the morning) to pull completed HLTV demos over to the webserver and delete the demos on the HLTV server.
Code: Select all
cd /usr/www/user/public/demos/
wget ftp://hltvuser:hltvpass@user.hltv.nfoservers.com/tfc/*.dem -N
ftp -n -i user.hltv.nfoservers.com << EOF
user hltvuser hltvpass
mdelete tfc/*.dem
quit
EOF
Any ideas? I was sent here by TimeX..