Record And Replay

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
User avatar
enrico123
Private First Class
Private First Class
Posts: 91
Joined: Tue Jul 14, 2009 10:49 am
Contact:

Record And Replay

Post by enrico123 »

WHAT IS THE DIFFERENCE
BETWEEN THE COMMANDS

/record start
/record save
/record file

they all seem to do pretty much the Same thing
"See a need fill a need"-(Bigweld from the movie "Robots")
User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 322
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: Record And Replay

Post by Cobra_Fast »

1.) Please don't shout.
2.) Please read the manual: http://my.bzflag.org/w/Replay_Server
User avatar
enrico123
Private First Class
Private First Class
Posts: 91
Joined: Tue Jul 14, 2009 10:49 am
Contact:

Re: Record And Replay

Post by enrico123 »

I don't inderstand the manual.... memory buffer?????
"See a need fill a need"-(Bigweld from the movie "Robots")
User avatar
Bambino
Private First Class
Private First Class
Posts: 1210
Joined: Mon Apr 21, 2008 10:27 pm
Location: Alberta, Canada

Re: Record And Replay

Post by Bambino »

IIRC, the memory buffer is used for how far back the recording goes when you save a recording (in seconds)
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
User avatar
enrico123
Private First Class
Private First Class
Posts: 91
Joined: Tue Jul 14, 2009 10:49 am
Contact:

Re: Record And Replay

Post by enrico123 »

so if i want to start a recording i should just do /record file
"See a need fill a need"-(Bigweld from the movie "Robots")
User avatar
Bambino
Private First Class
Private First Class
Posts: 1210
Joined: Mon Apr 21, 2008 10:27 pm
Location: Alberta, Canada

Re: Record And Replay

Post by Bambino »

Or you could read how to do it correctly...

Setup a replay server then do

Code: Select all

/record save <filename> <seconds>
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 322
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: Record And Replay

Post by Cobra_Fast »

Bambino wrote:Or you could read how to do it correctly...

Setup a replay server then do

Code: Select all

/record save <filename> <seconds>
doing /record on a replay server wouldn't do anything except throwing error messages.
the commands for replay servers are in /replay

if you specified -recdir on a normal server the /record command will be enabled.

to record a proper recording do the following on a /record-enabled server:
  1. /record start
  2. play...
  3. /record save filename
  4. /record stop
User avatar
Bambino
Private First Class
Private First Class
Posts: 1210
Joined: Mon Apr 21, 2008 10:27 pm
Location: Alberta, Canada

Re: Record And Replay

Post by Bambino »

Sorry, I should have made myself more clear. I ment, setup a replay server *then* go back onto the game server and save a recording and watch it on the replay server.
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
User avatar
enrico123
Private First Class
Private First Class
Posts: 91
Joined: Tue Jul 14, 2009 10:49 am
Contact:

Re: Record And Replay

Post by enrico123 »

just another quick question

when i do /say hi

it looks like SERVER: hi (enrico123)

how do i get rid of my name in the brackets?
"See a need fill a need"-(Bigweld from the movie "Robots")
User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 322
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: Record And Replay

Post by Cobra_Fast »

Get rid of lines 3492 to 3494 of commands.cxx of bzfs and recompile it.

The lines look like

Code: Select all

  // no anonymous messages
  messageText += " (";
  messageText += playerData->player.getCallSign();
  messageText += ")";
User avatar
enrico123
Private First Class
Private First Class
Posts: 91
Joined: Tue Jul 14, 2009 10:49 am
Contact:

Re: Record And Replay

Post by enrico123 »

but loads of people have this already and they have not done the above an i cant do that
"See a need fill a need"-(Bigweld from the movie "Robots")
User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 322
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: Record And Replay

Post by Cobra_Fast »

how can you tell?
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Record And Replay

Post by blast »

The only way to do it is to write some kind of code. Either the modification that Cobra_Fast mentioned, or a custom plugin that adds a new command that acts like /say.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
enrico123
Private First Class
Private First Class
Posts: 91
Joined: Tue Jul 14, 2009 10:49 am
Contact:

Re: Record And Replay

Post by enrico123 »

oh i have just realized there is the anonsay plugin
"See a need fill a need"-(Bigweld from the movie "Robots")
User avatar
enrico123
Private First Class
Private First Class
Posts: 91
Joined: Tue Jul 14, 2009 10:49 am
Contact:

Re: Record And Replay

Post by enrico123 »

by any chance blast could you do my groups please

thanks
"See a need fill a need"-(Bigweld from the movie "Robots")
User avatar
enrico123
Private First Class
Private First Class
Posts: 91
Joined: Tue Jul 14, 2009 10:49 am
Contact:

Re: Record And Replay

Post by enrico123 »

does anybody know why my anonsay plugin won't work???
"See a need fill a need"-(Bigweld from the movie "Robots")
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Record And Replay

Post by blast »

enrico123 wrote:does anybody know why my anonsay plugin won't work???
Are you compiling it to match your copy of bzfs?
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
enrico123
Private First Class
Private First Class
Posts: 91
Joined: Tue Jul 14, 2009 10:49 am
Contact:

Re: Record And Replay

Post by enrico123 »

bassicly I am running my server on fairserve.bzflag.net and when I do /say it comes up with the brackes thing at the end (enrico123) but on honeytanks server also hosted on fairserve it doesn't
"See a need fill a need"-(Bigweld from the movie "Robots")
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Record And Replay

Post by blast »

Ask the server owner then.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
McSpider
Private First Class
Private First Class
Posts: 49
Joined: Mon May 11, 2009 10:11 pm
Location: Yukon Canada
Contact:

Re: Record And Replay

Post by McSpider »

enrico123 wrote:does anybody know why my anonsay plugin won't work???
annoSay uses /asay command not the /say command.
read here: http://theme.freehostia.com/bzflag/plugins/#anonSay

And it only removes the SERVER: as far as I know.
I don't know what the other plugin is called that removes the senders name at the end.
McSpider - BZFlag Maps
User avatar
Bambino
Private First Class
Private First Class
Posts: 1210
Joined: Mon Apr 21, 2008 10:27 pm
Location: Alberta, Canada

Re: Record And Replay

Post by Bambino »

McSpider wrote: I don't know what the other plugin is called that removes the senders name at the end.
The "asay" plugin removes the name. It uses the "asay" group permission. Anonsay makes it look like anonymous /me. It uses the "anonsay" group permission.
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
User avatar
enrico123
Private First Class
Private First Class
Posts: 91
Joined: Tue Jul 14, 2009 10:49 am
Contact:

Re: Record And Replay

Post by enrico123 »

ok tanks
"See a need fill a need"-(Bigweld from the movie "Robots")
User avatar
mrapple
Sergeant Major
Sergeant Major
Posts: 460
Joined: Wed May 27, 2009 11:59 am
Location: Unknown
Contact:

Re: Record And Replay

Post by mrapple »

Just a little update to your previous post about not adding the name to who used /say.

I use a nice mod on my server which doesnt send it in the message, but instead sends a message to the admin channel saying "Callsign used the say command".

Heres the mod on line 3491

Code: Select all

  std::string adminMessage = playerData->player.getCallSign();
  adminMessage += " used the say command";

  // send the message
  sendMessage(ServerPlayer, AllPlayers, messageText.c_str() + messageStart );

  // send the admin message
  sendMessage(ServerPlayer, AdminPlayers, adminMessage.c_str());
  return true;
}
Image
User avatar
enrico123
Private First Class
Private First Class
Posts: 91
Joined: Tue Jul 14, 2009 10:49 am
Contact:

Re: Record And Replay

Post by enrico123 »

but im using fairserve so cannot edit bzfs and cannot compile
"See a need fill a need"-(Bigweld from the movie "Robots")
Post Reply