1

Topic: suggestion about mapdownload

I think the mapdownload is some kind of slow , how about a service that allows the clients to download the maps from a ftp server or somewhere else from the net , where it has been uploaded by the serveradmin b4 .
Thus a new option for the gameserver need to be created, that could look like this :

altmapdl 1
altmapdir ftp://urownftp/teeworlds/maps/

=> faster downloads

2

Re: suggestion about mapdownload

SoulHunter wrote:

I think the mapdownload is some kind of slow , how about a service that allows the clients to download the maps from a ftp server or somewhere else from the net , where it has been uploaded by the serveradmin b4 .
Thus a new option for the gameserver need to be created, that could look like this :

altmapdl 1
altmapdir ftp://urownftp/teeworlds/maps/

=> faster downloads

The map download is kinda a hack and very ping dependent. It will be replaced in the future with something faster. The idea you suggesting have been discuessed before. I will not do it because there is no guarantee that the maps on the ftp/http server are the same that the server is running. It's better to just replace/enhance the current auto download.

3

Re: suggestion about mapdownload

%APPDATA%\Teeworlds\maps\
maps have a certain ending "dm6_d90fe865.map" , is "d90fe865" a checksum or some kind of unique id for every map ? How about uploading those maps , so u can be sure that the files are the same .
And if the files are not the same , then the normal download could be used.

And how about this:
when the server is set up , 1st it uploads its maps on a ftp/http server and if a client wants that map he gets redirected to the ftp/http server.

4

Re: suggestion about mapdownload

It's a checksum of the maps that's only on the downloaded maps so the one that you have downloaded is the same as the current one. (i.e. you can have multiple versions of the same map without collision)

5

Re: suggestion about mapdownload

SoulHunter wrote:

%APPDATA%\Teeworlds\maps\
maps have a certain ending "dm6_d90fe865.map" , is "d90fe865" a checksum or some kind of unique id for every map ? How about uploading those maps , so u can be sure that the files are the same .
And if the files are not the same , then the normal download could be used.

And how about this:
when the server is set up , 1st it uploads its maps on a ftp/http server and if a client wants that map he gets redirected to the ftp/http server.

It's just making a simple thing more complicated. The auto download will be improved.