Need help setting up Battlecorder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • D_Lusted

    #1

    Need help setting up Battlecorder

    Hi guys,
    I need help setting up my Battlecorder on my Server.....
    Only problem is I want to redirect the recorded demos to my Web Server, so they can be downloaded thru BF2 directly, as my Game Server doesn't have HTTP.

    Can anyone help me on this problem?
    Many thanks
  • Cigar_Man

    #2
    Re: Need help setting up Battlecorder

    Try the record demo info from bf2.fun-o-matic.org.

    Comment

    • D_Lusted

      #3
      Re: Need help setting up Battlecorder

      My Game Server and Web Server are both Linux tho, so exe won't work

      Comment

      • Cigar_Man

        #4
        Re: Need help setting up Battlecorder

        So use the .py instead of the .exe.

        The compiled .exe is only recommended for Windows instead of the source .py file. On you linux box, just use the source .py file and you will be ok.

        Also don't forget to modify your rotate_demo.cfg file.

        Comment

        • D_Lusted

          #5
          Re: Need help setting up Battlecorder

          Originally posted by Cigar_Man
          Also don't forget to modify your rotate_demo.cfg file.
          So here I place the appropiate info for my FTP on my Web Server, and use the FTP path to, in my case, var/www/html/demos/
          Code:
          # set the number of demo files to keep in rotation
          file_limit = 30
          
          # for local web server; edit this path and make it match the one in serversettings.con
          target_root = /path/to/webroot/demos
          
          # set to 1 to enable ftp uploading
          use_ftp = 1
          
          # set to the target directory on the ftp server
          ftp_target_dir = /var/www/html/demos/
          
          # login information for the ftp server goes here
          ftp_server = 69.36.*.*
          ftp_user = **************
          ftp_password = **************
          Then, in my serversettings.con add the lines:
          Code:
          sv.autoRecord 1
          sv.demoIndexURL http://www.lusted-enterprises.co.uk/demos/
          sv.demoDownloadURL http://www.lusted-enterprises.co.uk/demos/
          Is that right?

          Comment

          • Cigar_Man

            #6
            Re: Need help setting up Battlecorder

            All that looks good. The only thing that may give any problems is the ftp transfer. Check the ftp server logs to see if the connection is made after a demo round is finished. We had problems there and it was cause of a passive ftp setting. So just try it out and see what happens.

            Comment

            Working...