Page 1 of 1

[Help] Battlerecorder

Posted: 2011-02-10 14:56
by John_Sheppard
Hi there hope this is ok to post in here

As this is a very active forum and the PR guys rock I am hoping that they can help with this before I pull the rest of my hair out

I have setup a Windows Dedicated server 1.5 on my Windows Server using BF2cc now everything is working fine Except Battlerecorder

I have edited all the files that need to be setup but it wont upload the Demo's to my FTP now either I am getting the paths slightly wrong so I am going to give you as much info as I can.

The site and path for the demo's is Index of /bf2/demos the FTP user account has access to the root as in /public_html/

Now in the rotate_demo.cfg i have set the following settings

Code: Select all

# 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 = \mods\bf2\demos\

# set to 1 to enable ftp uploading
use_ftp = 1

# set to the target directory on the ftp server
ftp_target_dir = public_html/bf2/demos

# login information for the ftp server goes here
ftp_server = ftp://94.76.222.80
ftp_user = [email protected]
ftp_password = blahblahblah

I put IP instead of the URL but have tried both
Now when I run a game I am watching the server and when I join it starts to record and when the game comes to a end it fails on the Upload. I can manually FTP the file but that's a pain

These are the settings i put in the Serversettings.con file

Code: Select all

sv.demoIndexURL http://www.stargate4bf2.co.uk/bf2/demos/
sv.demoDownloadURL http://www.stargate4bf2.co.uk/bf2/demos/
sv.autoDemoHook "adminutils/demo/rotate_demo.exe"
Oh I changed the CHMOD of the folders on my FTP to 777 just incase

If anyone can help or point out the error of my ways as its driving me mad look forward to reading your replies

Re: Help with Battlerecorder

Posted: 2011-02-10 14:59
by Amok@ndy
it would have been better if you had posted this in the ServerAdmin Forums
i guess you are not running a PR Server do you ?

Re: Help with Battlerecorder

Posted: 2011-02-10 15:18
by John_Sheppard
No its not a PR server but there isnt much support around for BF2 anymore so i was hoping somone here might be able to help

If it would be better in another section can the post be moved please

Re: Help with Battlerecorder

Posted: 2011-02-10 20:53
by John_Sheppard
Ok I tried to move it to my IIS folder on the same drive and it still cant upload it

anyone have any ideas on this please

Re: Help with Battlerecorder

Posted: 2011-02-10 21:45
by AfterDune
Check the server console, does it give an error? Usually, if something goes wrong, it displays messages about it.

If you want to test it: run your server, join it, spawn, go to next map, check server console for messages.

Re: Help with Battlerecorder

Posted: 2011-02-10 21:48
by John_Sheppard
thats the thing the only error is

Code: Select all

Uploading file mods/bf2/demos/auto_2011_02_10_21_37_59.bf2demo ...
Demo upload failed Check 'rotate_demo_err_txt' for more info
Now its not creating this error file

I have tired sending the file to a local drive and it cant do that or FTP it up so i am very confused

Running modmanager 2.0 files from BF2cc and ofcourse latest Dedicated server files from EA

Re: Help with Battlerecorder

Posted: 2011-02-11 21:00
by dunem666
fix....


rotate_demo.py....

It doesnt support FTP user names in the form of an email address. Replace the @ symbol with a '+'

all sorted.

also, the python fix that DOES support these user names only works in BF2 and not PR for some reason so its still best to use a '+'

Re: Help with Battlerecorder

Posted: 2011-02-11 22:19
by John_Sheppard
Great i am trying that now and will let you know how it goes.

Re: Help with Battlerecorder

Posted: 2011-02-11 23:33
by John_Sheppard
ok i changed my username to bf2+stargate4bf2.co.uk if that is what u meant and it still cant FTP it up

Re: [Help] Battlerecorder

Posted: 2013-09-08 16:03
by dutch
I have the same problem

But I do use the PR dedicated server files

IT gives the above error

and also the rotate_demo_err_txt file is not being created

Re: [Help] Battlerecorder

Posted: 2016-09-23 00:47
by Stronkie
dutch wrote:I have the same problem

But I do use the PR dedicated server files

IT gives the above error

and also the rotate_demo_err_txt file is not being created

We still have the issue.. But the error file is not being created.. I have used the new .py file now.. But it is still not uploading.. Uploading failed

Re: [Help] Battlerecorder

Posted: 2016-10-06 07:25
by rushowr
I too am experiencing the same issue. Error file not being created, file not uploaded. I am changing the username to use + instead of @ and will report.

Re: [Help] Battlerecorder

Posted: 2016-10-06 08:04
by rushowr
Yep, even changing the username in the title did not work. I am running the latest PR server files rand I am using the replacement rotate_demo.py from the PR SA tutorial.