SRCDS Steam group


Mani Admin Plugin - Sounds Keep ReDownloading Every Time
#1
Hi there guys.

I'm running a Team Fortress 2 dedicated server and I recently installed the latest Mani Admin Plugin. I have a problem though. Every time the server changes the level every client re downloads the sound files. This also happens to anyone that joins the server and has the sound files already downloaded. I have checked my hard drive after the files are supposed to have been downloaded and they actually exist in my hard drive. What could be wrong?

actionsoundlist.txt
Code:
// *****************************************************************************
//    Plugin    : Mani Admin Plugin
//
//   Filename   : actionsoundlist.txt
//
// Last Updated : 2009/07/21
//
// Description  : Soundfiles played upon specific events like round start
// *****************************************************************************
//
//
// Place all your action sounds in this file
//
// This file uses aliases to define
// the sound name, they must not be altered !
//
// The second part on each line is the location
// and name of the file itself. You can change
// this to be wherever you want.
//
// In the example below I have commented out
// joinserver, roundstart and roundend. If you
// uncomment joinserver a sample I made will
// be played upon connection to a server. You will
// probably get bored with this quickly so replace
// it with your own :)
//
// Samples "joinserver.mp3", "startyourvoting.mp3" and
// "endofvote.mp3" were made by me (Mani) using FruityLoops
// and a nice VST plugin synth. The rest are from the
// core HL2 server installation.
//


//"joinserver"        admin_plugin/actions/joinserver.mp3
"votestart"        admin_plugin/actions/startyourvoting.mp3
"voteend"        admin_plugin/actions/endofvote.mp3
//"roundstart"        admin_plugin/actions/roundstart.mp3
//"roundend"        admin_plugin/actions/roundend.mp3
"restrictedweapon"    admin_plugin/actions/restrictedweapon.wav

downloads.txt
Code:
// *****************************************************************************
//    Plugin    : Mani Admin Plugin
//
//   Filename   : downloads.txt
//
// Last Updated : 2009/07/21
//
// Description  : All files that should be downloaded to the clients
//                (Note: Sounds and Map Advert Textures don't need to be added
//                 if the autodownload feature is turned on in mani_server.cfg)
// *****************************************************************************


"downloads.txt"
{
    // The key can be any name you wish.
    // The value must be the location on your server of the file

    "downloads"
    {
    //    "my_file"    "materials/decals/custom/mani_admin_plugin/mani_logo.vmt"
    }
}

soundlist.txt
Code:
// *****************************************************************************
//    Plugin    : Mani Admin Plugin
//
//   Filename   : soundlist.txt
//
// Last Updated : 2009/07/21
//
// Description  : Sounds which will get played in game using ma_play <alias>
// *****************************************************************************
//
//
// This file can use aliases.
//
// Aliases are what is shown in the menu system a nice way of presenting
// the commands. Aliases must be enclosed in quotes.
//
// E.G. "Don't just stand there"
//
// Do not put another quote inside like :-
//
// "See "Ya" Later"
//
// You do not have to use aliases but it makes the
// menu's easier to use if you do.
//
// As the source engine doens't support all sound format, they have to be like
// MPEG-1 layer 3
// 128kbit
// 44100Hz Stereo
//
// or
//
// 8 Bit PCM
// 2 Channel
// 11025 Hz
//
// in order to work.


"Best man won" admin_plugin/bestman.wav
"Boo!" admin_plugin/boo.wav
"Cry some more!" admin_plugin/crysomemore.wav
"Didn't happen" admin_plugin/didnot.wav
"Evil laugh" admin_plugin/evillaugh.wav
"Owning You!" admin_plugin/owningyou1.wav
"Personal" admin_plugin/personal.wav
"Pffft!" admin_plugin/pfft.wav
"This sucks!" admin_plugin/thissucks.wav
"What the... !" admin_plugin/wth.wav

auto download configuration:
Code:
// mani_sounds_auto_'download is a cvar to control whether server sounds
// (not quake sounds) are auto downloaded to a client. If set to 0 you must
// provide your own .res files to initiate transfers to a client.
// If you change this value from 1 to 0 while the server is running you
// must restart your server.
mani_sounds_auto_download 1

my sv_downloadurl
Code:
http://tf2.ceidwarfare.net/gamefiles/

And the access log that shows that the clients actually access and download the files (check the http 200 responses)
Code:
**** - - [23/Mar/2012:13:53:19 +0100] "GET /gamefiles/materials/decals/custom/mani_admin_plugin/mani_logo.vmt.bz2 HTTP/1.1" 404 557 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:19 +0100] "GET /gamefiles/materials/decals/custom/mani_admin_plugin/mani_logo.vmt HTTP/1.1" 200 430 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:19 +0100] "GET /gamefiles/materials/decals/custom/mani_admin_plugin/mani_logo.vtf.bz2 HTTP/1.1" 404 556 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:19 +0100] "GET /gamefiles/materials/decals/custom/mani_admin_plugin/mani_logo.vtf HTTP/1.1" 200 44149 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:20 +0100] "GET /gamefiles/sound/admin_plugin/bestman.wav.bz2 HTTP/1.1" 404 531 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:20 +0100] "GET /gamefiles/sound/admin_plugin/bestman.wav HTTP/1.1" 200 167476 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:23 +0100] "GET /gamefiles/sound/admin_plugin/boo.wav.bz2 HTTP/1.1" 404 527 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:23 +0100] "GET /gamefiles/sound/admin_plugin/boo.wav HTTP/1.1" 200 116754 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:25 +0100] "GET /gamefiles/sound/admin_plugin/crysomemore.wav.bz2 HTTP/1.1" 404 535 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:25 +0100] "GET /gamefiles/sound/admin_plugin/crysomemore.wav HTTP/1.1" 200 178005 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:27 +0100] "GET /gamefiles/sound/admin_plugin/didnot.wav.bz2 HTTP/1.1" 404 530 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:28 +0100] "GET /gamefiles/sound/admin_plugin/didnot.wav HTTP/1.1" 200 102873 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:29 +0100] "GET /gamefiles/sound/admin_plugin/evillaugh.wav.bz2 HTTP/1.1" 404 533 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:29 +0100] "GET /gamefiles/sound/admin_plugin/evillaugh.wav HTTP/1.1" 200 155543 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:31 +0100] "GET /gamefiles/sound/admin_plugin/owningyou1.wav.bz2 HTTP/1.1" 404 534 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:31 +0100] "GET /gamefiles/sound/admin_plugin/owningyou1.wav HTTP/1.1" 200 255390 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:33 +0100] "GET /gamefiles/sound/admin_plugin/personal.wav.bz2 HTTP/1.1" 404 532 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:33 +0100] "GET /gamefiles/sound/admin_plugin/personal.wav HTTP/1.1" 200 241363 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:36 +0100] "GET /gamefiles/sound/admin_plugin/pfft.wav.bz2 HTTP/1.1" 404 528 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:36 +0100] "GET /gamefiles/sound/admin_plugin/pfft.wav HTTP/1.1" 200 86323 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:37 +0100] "GET /gamefiles/sound/admin_plugin/thissucks.wav.bz2 HTTP/1.1" 404 533 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:37 +0100] "GET /gamefiles/sound/admin_plugin/thissucks.wav HTTP/1.1" 200 86424 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:38 +0100] "GET /gamefiles/sound/admin_plugin/wth.wav.bz2 HTTP/1.1" 404 527 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:38 +0100] "GET /gamefiles/sound/admin_plugin/wth.wav HTTP/1.1" 200 102919 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:39 +0100] "GET /gamefiles/sound/admin_plugin/actions/startyourvoting.mp3.bz2 HTTP/1.1" 404 547 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:39 +0100] "GET /gamefiles/sound/admin_plugin/actions/startyourvoting.mp3 HTTP/1.1" 200 84684 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:40 +0100] "GET /gamefiles/sound/admin_plugin/actions/endofvote.mp3.bz2 HTTP/1.1" 404 541 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:40 +0100] "GET /gamefiles/sound/admin_plugin/actions/endofvote.mp3 HTTP/1.1" 200 89066 "hl2://91.215.159.24:27015" "Half-Life 2"
**** - - [23/Mar/2012:13:53:41 +0100] "GET /gamefiles/sound/admin_plugin/actions/restrictedweapon.wav.bz2 HTTP/1.1" 404 548 "hl2://91.215.159.24:27015" "Half-Life 2"



Sorry for the long post.
Reply
#2
After lots and lots of searching I found out that it was sv_pure that was responsible for this.
I have sv_pure set to 1 but I didn't include the sound files in the pure_server_whitelist.txt file thus forcing every client to redownload the files on every join/changelevel.

If you have sv_pure set to 1 add the following lines to pure_server_whitelist.txt and it will solve the problem:
Code:
//Whitelisting Mani Admin Plugin files
sound\admin_plugin\...                          allow_from_disk
sound\admin_plugin\actions\...                  allow_from_disk
materials\decals\custom\mani_admin_plugin\...   allow_from_disk
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)