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

some materials wont download from my server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nocturnal
Junior Member
Join Date: Aug 2011
Old 12-30-2011 , 17:09   some materials wont download from my server
Reply With Quote #1

I'm trying to add some downloadable material to my server. I never had any problems with sounds and maps, they always download fine from my server. But now with the materials, it just wont download.

I was wondering if there is a plugin needed for that or any tweek or solutions for the problem.

Thank you for any help and have a nice day.
Nocturnal is offline
SuperShadow
SourceMod Donor
Join Date: Jun 2008
Location: Westminster, MD
Old 12-30-2011 , 19:06   Re: some materials wont download from my server
Reply With Quote #2

Have you added the path to the materials in your white list?
SuperShadow is offline
Nocturnal
Junior Member
Join Date: Aug 2011
Old 12-30-2011 , 21:30   Re: some materials wont download from my server
Reply With Quote #3

Quote:
Originally Posted by SuperShadow View Post
Have you added the path to the materials in your white list?
Hm sorry, i'm not sure to know what that means?
Nocturnal is offline
SuperShadow
SourceMod Donor
Join Date: Jun 2008
Location: Westminster, MD
Old 12-31-2011 , 01:33   Re: some materials wont download from my server
Reply With Quote #4

There is a file on the server called pure_server_whitelist.txt, since you don't mention what game, I'll use TF2 as an example. The files is located in the orangebox\hl2\ folder as shown in the picture below.



Below is an example of the contents of that file. Edit it so that the paths to your materials (and models if you need those) are included in the list with allow_from_disk following the path.

Code:
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.
 // 
 materials\hud\...  allow_from_disk
 materials\effects\...  allow_from_disk
 materials\backpack\...    allow_from_disk
 materials\backpack\weapons\... allow_from_disk
 materials\models\buildables\... allow_from_disk
 materials\models\decapitation\... allow_from_disk
 materials\models\effects\... allow_from_disk
 materials\models\flag\... allow_from_disk
 materials\models\luigi\... allow_from_disk
 materials\models\player\... allow_from_disk
 materials\models\sprites\... allow_from_disk
 materials\models\weapons\... allow_from_disk
 materials\models\items\...  allow_from_disk
 materials\sprites\...  allow_from_disk
 materials\vgui\...  allow_from_disk 
 materials\consol\...  allow_from_disk 
 models\rss-custom\...   allow_from_disk
 models\custom\...   allow_from_disk 
 models\buildables\...  allow_from_disk
 models\decapitation\...  allow_from_disk
 models\effects\...  allow_from_disk
 models\flag\...   allow_from_disk
 models\items\...  allow_from_disk
 models\player\...  allow_from_disk
 models\weapons\...  allow_from_disk
 models\sleeveless\...  allow_from_disk
 models\weapons\v_models\... allow_from_disk
 models\weapons\c_models\... 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
 
 //
 // 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
 sound\misc\...   allow_from_disk
 sound\quake\...   allow_from_disk
 sound\admin_plugin\...  allow_from_disk
 sound\vo\*.*   allow_from_disk
 sound\mario\...   allow_from_disk
 sound\goomba\...  allow_from_disk
}
SuperShadow is offline
Nocturnal
Junior Member
Join Date: Aug 2011
Old 12-31-2011 , 12:14   Re: some materials wont download from my server
Reply With Quote #5

Thank you very much for the info, but it didnt work, I'm probably not doing it right or something.

Btw, it's for a css server and what I'm trying to add are overlays.

Here is what I did with the pure_server_whitelist.txt maybe you know what i should do...

Code:
    //    
    // 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
    materials\hh\...            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
    
    //
    // 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
Nocturnal is offline
Nocturnal
Junior Member
Join Date: Aug 2011
Old 01-03-2012 , 17:53   Re: some materials wont download from my server
Reply With Quote #6

bump

No one can help?
Nocturnal is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 01-03-2012 , 18:45   Re: some materials wont download from my server
Reply With Quote #7

Quote:
Originally Posted by Nocturnal View Post
I'm trying to add some downloadable material to my server. I never had any problems with sounds and maps, they always download fine from my server. But now with the materials, it just wont download.

I was wondering if there is a plugin needed for that or any tweek or solutions for the problem.

Thank you for any help and have a nice day.
How are you pushing these files to the clients? You're using a plugin to add the files to the download table?
TnTSCS is offline
Nocturnal
Junior Member
Join Date: Aug 2011
Old 01-04-2012 , 19:49   Re: some materials wont download from my server
Reply With Quote #8

Quote:
Originally Posted by TnTSCS View Post
How are you pushing these files to the clients? You're using a plugin to add the files to the download table?
No, I don't use a plugin. Which one should I use?
Nocturnal 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 23:07.


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