Zum Inhalt springen
Heli-Champ

Battlerecorder

Empfohlene Beiträge

Hi.

Ich hab die Anleitung für die Installation für den recorder schon auf eurer HP gefunden,

ich hab einen webserver von strato...

ich hab nun einen bf2demos order angelegt, peer FTP kann ich da zugreifen, und so alles perfekt.

aber wieso kann das der Battlerecorder nicht.

Passwort und so ist doch alles richtig

Nur bei:

hab ich eben name der domain und dann der pfad zum bf2demos ordner.

sv.demoIndexURL http://www.meinwebserver.de/bf2demos/

sv.demoDownloadURL http://www.meinwebserver.de/bf2demos/

Und im BF2CC hab ich auch alles so eingestellt

jetzt weiß ich nicht mehr was ich machen soll

gruß christian

Link zu diesem Kommentar
Auf anderen Seiten teilen

Gast

Hi!

Läuft auf dem Server überhaupt ein Webserver wie der Apache?

Hat der User der den Battlerecorder läuft Schreibrechte auf das bf2demos Verzeichniss?

Hast du die rotate_demo.py an deine Wünsche angepasst?

Hier nochmal die Anleitung mit den Erklärungen zu den einzelnen Einstellungen:

========================================================================

BATTLE RECORDER

========================================================================

USAGE

The BattleRecorder allows a round to be recorded and distributed.

The system is very flexible, and the current implementation can be easily

changed. We recommend you have a good knowledge of Python before you

edit the scripts used here.

There are two components to BattleRecorder. First is the Dedicated Server

Launcher.

The Dedicated Server Launcher requires the following information:

- AutoRecord

  Set AutoRecord to on to enable the BattleRecorder. Every round played

  on the server will now be recorded to a file.

- DemoDownloadURL <http://YourServer.com/YourDirectory/>

  This is the URL that will be passed to all the connected clients at the

  end of the round. This is the URL that the Battlefield 2 front end will

  try and download the demo file from when the user selects 'download'.

  The demo file must be in the directory specified in the URL, or the

  demo download will fail.

- AutoDemoHook <adminutils/demo/Your_Script.exe>

  The server runs this script at the end of every round where AutoRecord

  is enabled. Note that the exe ending is only relevant for the

  windows-server, on linux it can be any executable file. A python script,

  for instance.

The second component to BattleRecorder is the script that is run when a

round ends. This script can be rewritten or replaced as needed. The

Battlefield 2 server will simply attempt to execute the script specified

in AutoDemoHook at the end of each round.

The default script, called auto_rotate, was written in Python and then

built in to an executable.

The Python script can be found here \adminutils\demo\rotate_demo.py

The script will move a BattleRecorder file from the server to a new local

location, or to an FTP site. You can also specify the number of files to

keep archived.

The script is configured using a configuration file, called

'auto_rotate.cfg', found in the root of the Battlefield 2 installation

root directory.

In this file you can configure:

- file_limit = <value>

  Use this value to set the number of BattleRecorder files you would like

  to keep available. The default is 30. Once the limit is reached, a new

  file will replace the oldest one.

- target_root = <local directory path>

  If you intend to transfer to a local directory, enter the path here.

- use_ftp = <bool>

  Set this to 1 if you wish to FTP the DemoRecorder file to a new

  location.

- ftp_target_dir = <path to webroot demos>

  Enter the path on the FTP site where you want the DemoRecording

  transferred to.

- ftp_server = <server URL or IP>

  Enter the URL or IP of your FTP server.

- ftp_user = <FTP login username>

  Enter your FTP sites login username.

- ftp_password = <password>

  Enter the password for your login account.

NOTES

DemoRecorder files become larger as you increase the number of players

and the ticket allocation. For a round with 64 players with 250 tickets

on each side, you should expect a file size of around 10-12 Mb.

Link zu diesem Kommentar
Auf anderen Seiten teilen

Nabend Fisch

ich hab den webserver von strato, und auf diesem server läuft auch die clan website

aber was ist Apache?

gruß christian

Link zu diesem Kommentar
Auf anderen Seiten teilen

Gast

Apache ist ein Webserver... :)

Kannst du auf die Demos per:

http://www.meinwebserver.de/bf2demos/

zugreifen bzw. werden die dahin gespeichert? Wenn nicht musst du den Localen Pfad zu diesem Verzeichniss (z.B. /usr/local/httpd/htdocs/bf2demos, kommt aber ganz auf deine Installation drauf an wo sich das Verzeichniss befindet) wie ich schon oben geschrieben habe in der \adminutils\demo\rotate_demo.py anpassen. Hast du da die in der obigen Anleitung beschriebenen Veränderungen gemacht?

Link zu diesem Kommentar
Auf anderen Seiten teilen

Erstelle ein Benutzerkonto oder melde Dich an, um zu kommentieren

Du musst ein Benutzerkonto haben, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen. Es ist einfach!

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde Dich hier an.

Jetzt anmelden


  • Wer ist Online   0 Benutzer

    • Keine registrierten Benutzer online.
×
×
  • Neu erstellen...

Wichtige Information

Wir haben Cookies auf Deinem Gerät platziert. Das hilft uns diese Webseite zu verbessern. Du kannst die Cookie-Einstellungen anpassen, andernfalls gehen wir davon aus, dass Du damit einverstanden bist, weiterzumachen.