ZeroK-RTS / Zero-K-Infrastructure

Website, lobby launcher and server, steam deployment, .NET based tools and other vital parts of Zero-K infrastructure
GNU General Public License v3.0
53 stars 52 forks source link

"Download sources of mod" is actually a useless JSON #2818

Closed sprunk closed 3 years ago

sprunk commented 3 years ago

This button: image

Which links to https://zero-k.info/Mods/Download/2

Doesn't actually produce the mod's sources (.sdz or even a github link) but just a JSON with pretty much just the name and desc:

{
    "shortName" : "unitlevelups",
    "name" : "Unit Level Ups v46",
    "description" : "The Final Fight, lobster vs lobster. Who will win?",
    "game" : "Unit Level Ups v46"
}

Expected behaviour: "Download sources" points to .sdz archive, the JSON is accessible via "download metadata" or something.

GoogleFrog commented 3 years ago

The unsatisfying answer is that a 'mod' is a description of how to play a particular modification of the game, so can be a lot of things. It could just be a map, a game (mutator) or even just a list of modoptions. It can be a combination of these things too.

Perhaps rename the button?

Licho1 commented 3 years ago

Yeah it does what it was intended to do.. The server does not actually understand the format, only chobby knows..