Results 1 to 6 of 6

Thread: Hidden Scripts

  1. #1
    Sergeant EvoloZz's Avatar
    Join Date
    Sep 2012
    Location
    Helsinki, Finland
    Posts
    360
    Thanks
    314
    Thanked 167 Times in 120 Posts

    Hidden Scripts

    Does anyone know how to hide scripts, so when other players join your server, they wont see any of your scripts in the .iwd files.

  2. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Hey, there are two ways:

    1. Put all scripts into a private .iwd and name it: foo_svr_bar.iwd (the important part is _svr_). Its working on 1.2 and 1.3, NOT on 1.0

    2. Dont put your scripts in an .iwd! Just create the folder-structure like it would be in the .iwd

    Dont forget for both ways:
    Code:
    set sv_allowdownload 0
    So only fastdownloads are possible like described here: http://killtube.org/showthread.php?6...t=fastdownload

    Have fun with private scripts
    timescale 0.01

  3. The Following User Says Thank You to kung foo man For This Useful Post:

    EvoloZz (18th November 2012)

  4. #3
    Sergeant EvoloZz's Avatar
    Join Date
    Sep 2012
    Location
    Helsinki, Finland
    Posts
    360
    Thanks
    314
    Thanked 167 Times in 120 Posts
    Quote Originally Posted by kung foo man View Post
    Hey, there are two ways:

    1. Put all scripts into a private .iwd and name it: foo_svr_bar.iwd (the important part is _svr_). Its working on 1.2 and 1.3, NOT on 1.0

    2. Dont put your scripts in an .iwd! Just create the folder-structure like in would be in the .iwd

    Dont forget for both ways:
    Code:
    set sv_allowdownload 0
    So only fastdownloads are possible like described here: http://killtube.org/showthread.php?6...t=fastdownload

    Have fun with private scripts
    So I must make maps/mp/gametypes folder into fs_game and throw all scripts there?

  5. #4
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Yep, correct.
    timescale 0.01

  6. #5
    Private
    Join Date
    Nov 2012
    Location
    Denmark, where else
    Posts
    27
    Thanks
    5
    Thanked 13 Times in 6 Posts
    If you are on patch 1.0 you can just throw the scripts into fs_game as fs_game/maps/mp/gametypes/dm.gsc or w.E And if you dont want people to /download your gsc's you should add self setClientCvar("download", "none"); at the bottom of the Callback_PlayerConnect().

  7. The Following 2 Users Say Thank You to Sense For This Useful Post:

    EvoloZz (10th January 2013),kung foo man (10th January 2013)

  8. #6
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by Sense View Post
    If you are on patch 1.0 you can just throw the scripts into fs_game as fs_game/maps/mp/gametypes/dm.gsc or w.E And if you dont want people to /download your gsc's you should add self setClientCvar("download", "none"); at the bottom of the Callback_PlayerConnect().
    There is a workaround for: self setClientCvar("download", "none"); (i am not telling what, to ensure the safety, but someone who knows the cod engine will know how to)
    You can only protect your scripts completely on Linux with a preload script.

Posting Permissions

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