SRCDS Steam group


Left 4 Dead 1 and 2 - Whitelist.cfg only reads outside of VPK
#1
Here's how the whitelist.cfg in L4D2 explains things:
Code:
whitelist
{
    //
    // 4 modifiers are allowed on file specifications:
    //
    //    allow_in_coop        - these files can be loaded from addon vpks when in coop mode
    //  allow_in_addon        - these files can be loaded from addon vpks when playing an addon.
    //  check_crc            - these files will always be CRC checked.
    //  check_every_map        - these files will be checked every map
    //

    //
    // Five 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\*.*+.ext        - refers to all files under the directory with extension .ext
    //    4. directory\...+.ext        - refers to all files under the directory and all directories under that (recursively) with extension .ext
    //    5. directory\filename        - refers to a single file    

    //    
    // Files to be checked:
    //

    left4dead2\pak01_dir.vpk        check_crc
    left4dead2\steam.inf            check_crc

    left4dead2_dlc1\pak01_dir.vpk        check_crc

    update\pak01_dir.vpk            check_crc
}
The problem is that it doesn't seem to check consistency with files that are packed within the VPK. For example,
Code:
left4dead2\scripts\radialmenu.txt    check_crc
Will not work! radialmenu.txt is stored within the VPK. The instructions given in the .cfg file seem to imply that it should work this way.

Is there something that I am not aware of to get this whitelist to work as intended?

Thanks a lot for your help, everyone!
Reply
#2
When you are running a server you should extract the VPK and place it in your addon directory

(If i remember correct)
Reply
#3
(02-09-2011, 08:53 PM)Nisd Wrote:  When you are running a server you should extract the VPK and place it in your addon directory

(If i remember correct)
I think you're referring to extracting the VPK out of an archive like .zip, .7z, .rar. I wish that was the case, but that's not how it works. This is the official VPK. If I extract the actual file out of the VPK and put it in the external directory of the same path, it would do a crc check for the file only in the external scripts folder. The client will seem to be missing the radialmenu.txt file externally only and not check with the actual files that are suppose to be packed as a VPK addon if modified. I hope that makes sense!

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)