You should see files based on this set of paths:

                        char path[ MAX_PATH ];
                        Q_snprintf( path, sizeof( path ), "%s/voice",
g_pSoundServices->GetGameDir() );
                        g_pFileSystem->CreateDirHierarchy( path );

                        char fn[ MAX_PATH ];
                        Q_snprintf( fn, sizeof( fn ),
"%s/pl%02d_slot%d-time%d.wav", path, index, data->m_nCount,
(int)g_pSoundServices->GetClientTime() );

                        WriteWaveFile( fn, (const char
*)data->m_Buffer.Base(), data->m_Buffer.TellPut(),
g_VoiceSampleFormat.wBitsPerSample, g_VoiceSampleFormat.nChannels,
Voice_SamplesPerSec() );

                        Msg( "Writing file %s\n", fn );

Note it will write out a timestamped file each time they release the mic
button.  This only works from the client side.

Could be a bug running under Steam, so if it still fails to put files
under gamedir/voice let me know and I'll investigate at some point.

Yahn

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Ottalini
Sent: Tuesday, August 14, 2007 4:29 PM
To: [email protected]
Subject: Re: [hlcoders] Weird request ... sound logs?

I just tested this in the current beta, and although the cvar is there
and appears active, when I set it to "1" I'm not seeing any files being
created on the server (or client).



----- Original Message -----
From: "Yahn Bernier" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 14, 2007 3:59 PM
Subject: RE: [hlcoders] Weird request ... sound logs?


> voice_writevoices writes each player's voice out separately to file (I

> think this cvar has shipped out, but if not, it will go out the next
> time the Source engine updates on Steam).
>
> Yahn
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Spencer
> 'voogru' MacDonald
> Sent: Tuesday, August 14, 2007 3:14 PM
> To: [email protected]
> Subject: RE: [hlcoders] Weird request ... sound logs?
>
> I highly wish that server admins would get the option of recording all

> voice traffic on the server with an individual file for each STEAMID.
> (Probably one file for each day or so).
>
> But, I'm just daydreaming.
>
> Oh well.
>
> - voogru
>
>
> -----Original Message-----
> From: Keeper [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 14, 2007 11:05 AM
> To: [email protected]
> Subject: [hlcoders] Weird request ... sound logs?
>
> We have often used chat logs to determine people that were being
> abusive on our servers.  Lately we've had some problems and there is
> no way to back it up because they use the microphone instead of the
keyboard.
>
> The quality doesn't have to be great, but does anyone know if it's
> possible via plugin to record that sound stream to a file?  I would
> love to add it to my plugin.
>
> TIA,
> Keeper


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to