Feature #256

prevent map loading that contains .campaign files on connect

Added by Harlekin about 7 years ago. Updated over 1 year ago.

Status:Feedback% Done:


Target version:2.78
OS: Arch:


would be nice to have a option that prevent the upload of map.pk3 files that contain .campaign files and are not running at the moment.

Associated revisions

Revision c8ef0a52
Added by IR4T4 over 1 year ago

qcommon: do no longer reference pk3s with campaign files when gametype
is not campaign style refs #256

- Dedicated server admins have to do an additional restart when
switching to gametype 4 on the fly. Otherwise a required pk3 containing
a campaign file is not referenced on first map/game (only!).
- The CS for online games is shorter on average
- This change is preventing clients to download maps with .campaign
files on connect


#1 Updated by IR4T4 about 7 years ago

  • Category set to Mod CGAME
  • Target version set to 2.71rc2

#2 Updated by IR4T4 almost 7 years ago

  • Target version changed from 2.71rc2 to 2.78

#3 Updated by Mateos almost 3 years ago

Would it be a good idea to just skip the download of files containing a .campaign file, excepted if the file is necessary (current map, file in mod folder)?

In old days some mappers were putting this file in their map package to force people downloading it; this is kind of a bad practice

Also, if the server admin wants a package to be downloaded, why not just put the file in the mod folder instead of bloating the file and etmain?

#4 Updated by IR4T4 almost 3 years ago

Isn’t this a chicken egg problem? How to analyze a file which isn’t locally available?

#5 Updated by Mateos almost 3 years ago

The file is one or several PK3 files in the etmain of the server, right? If they are downloaded, they exist ^^' Or I don’t get it?

#6 Updated by IR4T4 over 1 year ago

  • Category changed from Mod CGAME to Server
  • Target version changed from 2.78 to 2.76
  • % Done changed from 0 to 50

#7 Updated by IR4T4 over 1 year ago

  • Status changed from New to In Progress

#8 Updated by IR4T4 over 1 year ago

  • Status changed from In Progress to Feedback
  • Target version changed from 2.76 to 2.78
  • % Done changed from 50 to 100

Also available in: Atom PDF