Record and Playback?

All things BZFlag - no [OT] here please
Post Reply
User avatar
BIYA
Corporal
Corporal
Posts: 891
Joined: Fri Dec 03, 2004 1:43 am
Location: Fredericksburg, Virginia
Contact:

Record and Playback?

Post by BIYA »

I read the heading on bzflag.org and it said record and playback as a new feature in 2.0??? What is this?
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

you can record games, and play them back.
the recordings can be saved from a circular
buffer, or straight into a file. check the bzfs
man page.
User avatar
SilverFox
Private First Class
Private First Class
Posts: 163
Joined: Wed Oct 06, 2004 6:51 pm
Contact:

I'm interested...

Post by SilverFox »

I can't find "record" anywhere in the bzfs man page. (of the bzflag man page for that matter)
User avatar
The Gecko
Private First Class
Private First Class
Posts: 99
Joined: Tue Jan 18, 2005 10:22 pm
Location: In front of the computer.

Post by The Gecko »

Cool!!! I was hoping that I could record games. I've tried programs that record what goes on, on the screen, but that makes the game way too laggy, and it usually doesn't do a good job. :lol-old:
Image
Save up to 50% on tank insurance!
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

why does the server record not the client?
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

Silver: you are not looking at the right man pages.

Code: Select all

man ./bzfs.6 | grep -i record | wc -l
gives me 15, how is it possible that you didn't find 1?
(note: that's a *nix command to count the number of
times that a word appears in a file, case insensitive)

Scorch: it was originally written to help admin'ing.
The rest I'll leave for you to figure out.
User avatar
SilverFox
Private First Class
Private First Class
Posts: 163
Joined: Wed Oct 06, 2004 6:51 pm
Contact:

Post by SilverFox »

heh, I know wordcount. Anyhow... I must have the 1.10.x man page. I did a "find / -name bzfs.6" and only found the one that didn't have "record" in it.

I used the .deb to install 2.0, I wonder if they didn't package it with a man file....
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

The current CVS man pages can be found at:
http://my.bzflag.org/bzfman.cgi

The man2html tools mangles them a bit.
User avatar
BIYA
Corporal
Corporal
Posts: 891
Joined: Fri Dec 03, 2004 1:43 am
Location: Fredericksburg, Virginia
Contact:

Post by BIYA »

How do I utilize this feature?!?!
brad2901
Private First Class
Private First Class
Posts: 223
Joined: Sun Sep 12, 2004 9:17 am
Location: UK
Contact:

Post by brad2901 »

Add the command which tells the server where to look for and save recordings eg.

-recdir "C:\Documents and Settings\Brad2901\My Documents\My BZFlag Files\recordings"

If you want to replay the recordings you need to restart the server with the following command:

-replay
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

Whenever I restart the server with -replay, it craps out whenever someone joins. Like one of those 'Please send an error report to microsoft' crap out screens.
brad2901
Private First Class
Private First Class
Posts: 223
Joined: Sun Sep 12, 2004 9:17 am
Location: UK
Contact:

Post by brad2901 »

Worked fine with me yesterday when I had a 2.0 server running on windows..

Just load the correct clip (/replay load mybzflagclip) and then type /replay play
User avatar
BIYA
Corporal
Corporal
Posts: 891
Joined: Fri Dec 03, 2004 1:43 am
Location: Fredericksburg, Virginia
Contact:

Post by BIYA »

Okay..but I cant do it cause my server doesnt seem to work :)
User avatar
Memnarch
Sergeant First Class
Sergeant First Class
Posts: 273
Joined: Mon Jul 05, 2004 10:42 pm
Location: Sorry, I'm a Nowhere Man
Contact:

Post by Memnarch »

So only server owners can record and replay?...
Image
brad2901
Private First Class
Private First Class
Posts: 223
Joined: Sun Sep 12, 2004 9:17 am
Location: UK
Contact:

Post by brad2901 »

All admins can record and replay but the server owner has to restart the server in replay mode.
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

and what does "replay mode" do?
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

It allows you to type in /replay load myBZFLAGclip and then /replay play. In normal mode you can't do those commands.
romfis-austria
Private First Class
Private First Class
Posts: 22
Joined: Sun Oct 10, 2004 12:22 pm
Location: Österreich - Wien
Contact:

Post by romfis-austria »

HI

on windows the command -replay crashet the server :cry:

mfg.
romfis
brad2901
Private First Class
Private First Class
Posts: 223
Joined: Sun Sep 12, 2004 9:17 am
Location: UK
Contact:

Post by brad2901 »

This happened to me when I tryed to play a clip from a 1.11 server.
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

Same with me.
Post Reply