PDA

View Full Version : UPDATED whitelist!!!! Block Material hacks!!!



KniF3
02-01-2010, 03:46 AM
hey guys i just updated the white list so sv_pure 1 will actually block kids from using invis textures


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\brick\... from_steam
materials\carpet\... from_steam
materials\concrete\... from_steam
materials\cs_assault\... from_steam
materials\cs_havana\... from_steam
materials\italy\... from_steam
materials\de_aztec\... from_steam
materials\de_cbble\... from_steam
materials\de_chateau\... from_steam
materials\de_contra\... from_steam
materials\de_dust\... from_steam
materials\de_nuke\... from_steam
materials\de_prodigy\... from_steam
materials\de_tides\... from_steam
materials\glass\... from_steam
materials\decals\... from_steam
materials\effects\... from_steam
materials\de_piranesi\.. from_steam
materials\plaster\... from_steam
materials\overlays\... from_steam
materials\props\... from_steam
materials\skybox\... from_steam
materials\stone\... from_steam
materials\tile\... from_steam
materials\wood\... from_steam
models\... allow_from_disk
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\... from_steam
materials\models\player\... from_steam

//
// Allow custom spray decals.
//
materials\temp\... allow_from_disk
materials\vgui\logos\... allow_from_disk
materials\vgui\logos\ui\... 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
bin\client.dll allow_from_disk+check_crc
sound\UI\*.* allow_from_disk+check_crc
scripts\game_sounds_csp.txt allow_from_disk+check_crc
scripts\game_sounds_manifest.txt allow_from_disk+check_crc
}

paradox
02-02-2010, 07:08 PM
thanks :)

jediscience
02-02-2010, 08:50 PM
yeah it is a bit annoying, already been a few people using mathacks i think! :O

Saint
02-02-2010, 08:56 PM
sweet

Droogie
02-02-2010, 08:57 PM
ah very cool, i was unaware of this white list. I was going to suggest to the cspdev team to keep an md5 hash of each material/sound/model etc and check hash upon loading to verify that it's not modified. Well something along those lines.. depending on how they do it, it would be easy to patch.

venom2
02-04-2010, 09:55 AM
has anyone tested this and if so, does it work? Don't really feel like messing up my server :0

KniF3
02-04-2010, 07:15 PM
it works. if you are worried about it just save a copy of the pure_server_whitelist in the cspromod folder before you change it.