Vault integrated map version numbers?

Interesting mapping tools and mapping help.

Moderator: Morax

Re: Vault integrated map version numbers?

Postby Dragonfire » 27 Feb 2014, 13:59

Lionhardt wrote:Would it be possible to write a function that syncs the users map folder with the map vault by scanning for old versions of maps in the users map folder? Every time the function finds a sub-folder string X.vN that matches a string x.vN+1 it asks the user if he wants to update that map? Or if it is not pssoble, to scan people map folder, can FAF ask the client PCs to tell it otherwise which maps they got?


But maybe that is ia a little insecure, because there might two maps with the sme exact name in the vault? Is that possible?

I plan a notification system, but the other way around ...
Client automatilly checks the vault ...
My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Re: Vault integrated map version numbers?

Postby Lionhardt » 27 Feb 2014, 14:59

Yea, that makes indeed more sense :D
Help me make better maps for all of us, visit my Mapping Thread.

Maps needing gameplay feedback:
Spoiler: show
[list updated last: 31.1.2018]

(maps available in the vault)

- Hexagonian Drylands
- Fervent Soil and Torrid Suns

YouTube Channel
User avatar
Lionhardt
Contributor
 
Posts: 1070
Joined: 29 Jan 2013, 23:44
Has liked: 188 times
Been liked: 144 times
FAF User Name: Lionhardt

Re: Vault integrated map version numbers?

Postby roseneath » 27 Feb 2014, 21:20

only asked because i want to fix a broken image for the lobby, need to add a whole new map to resolve that?

its easily done but just looks messy in the vault. unless the old version is deleted?
roseneath
Crusader
 
Posts: 28
Joined: 16 Jul 2013, 21:23
Has liked: 0 time
Been liked: 0 time
FAF User Name: roseneath

Re: Vault integrated map version numbers?

Postby Plasma_Wolf » 27 Feb 2014, 23:21

ZeP said that there would be a script that automatically hides the older map version from view. So if you were to upload a map with the same name and map_version=2, the the one with map_version=1, will no longer be viewable or clickable. I don't know if (don't think that) this system is going to work with when re-uploading a map_version=2 man while the older version doesn't have map_version=1 in the lua file.

WARNING. Yhe script that checks on the same map name with map_version=n+1 should also check on whether the same person is uploading it (identical usernames?). Otherwise some idiot can replace your beautiful map with a disgusting tag in whic the sou has a mavor to reclaim and the north only a LAB.
User avatar
Plasma_Wolf
Supreme Commander
 
Posts: 1335
Joined: 20 Oct 2011, 11:28
Has liked: 23 times
Been liked: 91 times
FAF User Name: Plasma_Wolf

Re: Vault integrated map version numbers?

Postby Lionhardt » 28 Feb 2014, 00:13

true, there should be some security measure. but what happens atm when you try to upload a map with the same internal name as an already existent one? without making use of the version feature, i mean...
Help me make better maps for all of us, visit my Mapping Thread.

Maps needing gameplay feedback:
Spoiler: show
[list updated last: 31.1.2018]

(maps available in the vault)

- Hexagonian Drylands
- Fervent Soil and Torrid Suns

YouTube Channel
User avatar
Lionhardt
Contributor
 
Posts: 1070
Joined: 29 Jan 2013, 23:44
Has liked: 188 times
Been liked: 144 times
FAF User Name: Lionhardt

Re: Vault integrated map version numbers?

Postby roseneath » 28 Feb 2014, 05:33

its just says the map exists already? doesnt upload
roseneath
Crusader
 
Posts: 28
Joined: 16 Jul 2013, 21:23
Has liked: 0 time
Been liked: 0 time
FAF User Name: roseneath

Previous

Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest