Raised This Month: $51 Target: $400
 12% 

Where to put plugin sounds after SteamPipe update.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wildd
SourceMod Donor
Join Date: Jun 2011
Location: Latvia, Riga
Old 06-21-2013 , 05:36   Where to put plugin sounds after SteamPipe update.
Reply With Quote #1

Hi, back in 2012 and before SteamPipe or w/e update, I had such configuration

Plugin, who search for intro sound in "/sound/myintro/intro.mp3"

On server and FastDownload mp3 file was in "cstrike/sound/myintro/intro.mp3"

In "/cstrike/cfg/server.cfg" - "sv_pure 1"

In "/hl2/pure_server_whitelist.txt" - "sound\myintro\... allow_from_disk"

Question - is anything changed for now and what configuration I need now (as I understand, now custom stuff need to be placed under "/cstrike/download/sound" or something like that? what else I need to change)?

Thanks for help!

Last edited by wildd; 06-21-2013 at 05:37.
wildd is offline
marcintojatak
BANNED
Join Date: Sep 2010
Location: PL
Old 06-21-2013 , 07:59   Re: Where to put plugin sounds after SteamPipe update.
Reply With Quote #2

Quote:
Originally Posted by wildd View Post
Hi, back in 2012 and before SteamPipe or w/e update, I had such configuration

Plugin, who search for intro sound in "/sound/myintro/intro.mp3"

On server and FastDownload mp3 file was in "cstrike/sound/myintro/intro.mp3"

In "/cstrike/cfg/server.cfg" - "sv_pure 1"

In "/hl2/pure_server_whitelist.txt" - "sound\myintro\... allow_from_disk"

Question - is anything changed for now and what configuration I need now (as I understand, now custom stuff need to be placed under "/cstrike/download/sound" or something like that? what else I need to change)?

Thanks for help!
sound\... allow_from_disk

all sounds will be download and on pure list sound directory

but if dont work try in cstrike\pure_server_whitelist.txt this file
i add folders or file on pure_list but cople years before but i have file
and somting remember on pure srv cfg maybe it will be usefull for you

this is my cfg on pure srv maps,sounds.admin models and logo are on list
Attached Files
File Type: txt pure_server_whitelist.txt (1.9 KB, 116 views)

Last edited by marcintojatak; 06-21-2013 at 09:21.
marcintojatak is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-21-2013 , 09:30   Re: Where to put plugin sounds after SteamPipe update.
Reply With Quote #3

The location of pure_server_whitelist.txt has changed. It's now located in the cstrike/cfg folder. If this file doesn't exist, the game uses cfg/pure_server_whitelist_default.txt, but this file is overwritten every update so make a copy of it as cfg/pure_server_whitelist.txt. It also uses "any" instead of "allow_from_disk", although "allow_from_disk" is still recognized for compatibility. Anyway, your entry should look like this:

Code:
sound\myintro\...    any
sv_pure must now be set on the server's command line (+sv_pure 1). Something to do with how the server hashes files when loading from VPKs. If sv_pure 1 is on during server startup, it can be toggled on and off in config files, though.

You can put sound files in a subdirectory of custom, such as custom/mystuff/sound/myintro/intro.mp3. This is part of a virtual file system and will be seen as sound/myintro/intro.mp3 by both the server and client, meaning that the fastdownload location is still sound/myintro/intro.mp3
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 06-21-2013 at 09:31.
Powerlord is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-22-2013 , 03:00   Re: Where to put plugin sounds after SteamPipe update.
Reply With Quote #4

Rigth way change server sv_pure mode,
just add -sv_pure parameter in launch parameters, without any value.
Add sv_pure <number> in ...cfg/autoexec.cfg

*edit
wtf, have they change that, again ?
*edit
nah,

Last edited by Bacardi; 06-22-2013 at 03:06.
Bacardi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode