Муз.файлы постоянно перекачиваются

Обсуждаем все, что относится к выделенным серверам *NIX (Unix, Linux) и Windows
Ответить
Сообщение
Автор
raven92
Нович0к
Нович0к
Сообщения: 13
Зарегистрирован: 09.01.2011

#1 Сообщение 12.03.2011, 11:49

Здравствуйте,помогите пожалуйста новичку,вообщем то поставил звуки на сервер, quake sound,вроде так,все работает,но при смене карты или перподключения заставляет перекачивать файлы,как избавить от этого,раз скачал и все,а то глупо....
Вот pure_server_whitelist.txt

Код: Выделить всё

whitelist
{
	//
	// 3 modifiers are allowed on file specifications:
	//
	//	from_steam			- only check the Steam cache for the file (ignore anything on disk)
	//	allow_from_disk		- allow the file to come from disk
	//	check_crc			- used with allow_from_disk - server does CRC checks on the client's file to make sure it matches
	//
	//	The default modifier on all files is allow_from_disk. Thus, all files can come from disk and don't need CRC checks unless 
	//	allow_from_disk can be set at the same time as check_crc. Use the + character in between them to signify this: allow_from_disk+check_crc.


	//
	// Three types of file specifications:
	//
	//	1. directory\*.*			- refers to all files under the directory
	//	2. directory\...			- refers to all files under the directory and all directories under that (recursively)
	//	3. directory\filename		- refers to a single file
	

	//	
	// By default, when in pure server mode, most content file types are only allowed to come from Steam.
	//
	materials\...		from_steam
	models\...			from_steam
	sound\...			from_steam
	
	
	//
	// Allow custom player models. Don't do CRC checks on them because the clients may all
	// have different custom models and the server won't have them all.
	//	
	models\player\...			allow_from_disk
	materials\models\player\...	allow_from_disk

	//
	// Allow custom spray decals.
	//
	materials\temp\...			allow_from_disk
	materials\vgui\logos\...	allow_from_disk
	materials\vgui\logos\ui\...	allow_from_disk
	sound\music\...	                allow_from_disk
                sound\nusic\female\...	                allow_from_disk
                sound\music\actions\...	                allow_from_disk
	//
	// Allow replay browser thumbnails.
	//
	materials\vgui\replay\thumbnails\...   allow_from_disk
	
	//
	// (Uncomment and edit these for mods).
	// Allow mod resources to come from disk.
	//
	// materials\mymod\...		allow_from_disk+check_crc
	// models\mymod\...			allow_from_disk+check_crc
	// sound\mymod\...			allow_from_disk+check_crc
}
Вот server.cfg (часть что отвечает за загрузку файлов)

Код: Выделить всё

sv_pure 0
sv_downloadurl "тут все работает)"
sv_allowupload "1"
sv_allowdownload "1"

Killeron
Лейтенант
Лейтенант
Сообщения: 103
Зарегистрирован: 28.05.2007

#2 Сообщение 12.03.2011, 12:02

1. Файлы не находятся на фасте
2. Название файлов на фасте/сервере отличается.

raven92
Нович0к
Нович0к
Сообщения: 13
Зарегистрирован: 09.01.2011

#3 Сообщение 12.03.2011, 12:05

Копировал одну и ту же,папку что и на фаст,что и на сервер,да,на фасте заархивированны в bzip2 ,из за этого может быть??

raven92
Нович0к
Нович0к
Сообщения: 13
Зарегистрирован: 09.01.2011

#4 Сообщение 13.03.2011, 10:23

Всем спасибо,разобрался,в конфиге путь к одному файлу был не так прописан)Тему офф

Ответить