Thread: why can't i download cfg files to players svencoop_downloads? its BLACKLISTED !?

Results 1 to 9 of 9
  1. #1
    Banned CryoKeen's Avatar
    Join Date
    Aug 2001
    Location
    United States
    Posts
    4,455

    Question why can't i download cfg files to players svencoop_downloads? its BLACKLISTED !?

    pretty much like wut

    its kind of an essential file cus it determines next map, custom models and sounds

  2. #2
    Banned Solokiller's Avatar
    Join Date
    Sep 2004
    Location
    Belgium
    Posts
    3,314

    Re: why can't i download cfg files to players svencoop_downloads? its BLACKLISTED !?

    The engine disallows the downloading of files that can be executed on the client. .cfg files can be executed and can change client bindings.

  3. #3
    Banned CryoKeen's Avatar
    Join Date
    Aug 2001
    Location
    United States
    Posts
    4,455

    Re: why can't i download cfg files to players svencoop_downloads? its BLACKLISTED !?

    w00tguy said it might be fixed in 5.0? its a very important file i understand, maybe you could have the engine only recognize only certain commands? like sv_gravity and sv_friction for example

  4. #4
    Administrator AdamR's Avatar  
    Manager
    Join Date
    Mar 2004
    Location
    Cardiff, South Wales [UK]
    Posts
    8,593

    Re: why can't i download cfg files to players svencoop_downloads? its BLACKLISTED !?

    The engine has no part in executing map configurations, that's up to the game library. The .cfg extension will remain disallowed for good reason.

    The alternative I came up with (which hasn't been approved or implemented yet) would be to use different extensions. Map configurations are technically not executed, they are parsed (so quite limited and secure), so my plan was to use different filenames for parsed files.

    • [mapname].settings.conf
    • [mapname].skill.conf
    Adam "Adambean" Reece
    Sven Co-op team

    Also on: Steam | Facebook | Twitter | YouTube | Twitch
    Released AMXX plug-ins: Bind number slots | NextMap with Sven Co-op fix | Sven Co-op administrator icons

  5. #5
    Registered User
    Join Date
    Mar 2012
    Posts
    536

    Re: why can't i download cfg files to players svencoop_downloads? its BLACKLISTED !?

    Quote Originally Posted by Solokiller View Post
    The engine disallows the downloading of files that can be executed on the client. .cfg files can be executed and can change client bindings.
    Kind of a moot point since the server can change client binds and cvars anyway.

  6. #6
    Banned Solokiller's Avatar
    Join Date
    Sep 2004
    Location
    Belgium
    Posts
    3,314

    Re: why can't i download cfg files to players svencoop_downloads? its BLACKLISTED !?

    If i'm not mistaken the engine also blocks the server from executing certain client commands to prevent just that.

  7. #7
    Administrator AdamR's Avatar  
    Manager
    Join Date
    Mar 2004
    Location
    Cardiff, South Wales [UK]
    Posts
    8,593

    Re: why can't i download cfg files to players svencoop_downloads? its BLACKLISTED !?

    Yep, there are a list of commands the client will not accept from a server.
    Adam "Adambean" Reece
    Sven Co-op team

    Also on: Steam | Facebook | Twitter | YouTube | Twitch
    Released AMXX plug-ins: Bind number slots | NextMap with Sven Co-op fix | Sven Co-op administrator icons

  8. #8
    Registered User
    Join Date
    Mar 2012
    Posts
    536

    Re: why can't i download cfg files to players svencoop_downloads? its BLACKLISTED !?

    Quote Originally Posted by Solokiller View Post
    If i'm not mistaken the engine also blocks the server from executing certain client commands to prevent just that.
    I've used cexec for years and have never come across any command I couldn't execute on the client.

  9. #9
    Administrator AdamR's Avatar  
    Manager
    Join Date
    Mar 2004
    Location
    Cardiff, South Wales [UK]
    Posts
    8,593

    Re: why can't i download cfg files to players svencoop_downloads? its BLACKLISTED !?

    I published a list of commands a while back that are blocked by the client's command parser in the engine, so those in that list won't work even if your server tries to tell the client it has to run them.
    Adam "Adambean" Reece
    Sven Co-op team

    Also on: Steam | Facebook | Twitter | YouTube | Twitch
    Released AMXX plug-ins: Bind number slots | NextMap with Sven Co-op fix | Sven Co-op administrator icons

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •