1

Topic: [UPCOMING MOD] HTTP/FTP-Download

Hey folks,

I'm working on a Client and Server Mod for not downloading the Maps from Gameserver, but from an HTTP/FTP-Server, this would cause less traffic to the Gameserver and less lags.

Currently I've got some problems because the Engine is written in C but the Socketcode in C++.

Please tell me what you think of it and maybe help me to get the Code work.

Yours, KillaBilla

2

Re: [UPCOMING MOD] HTTP/FTP-Download

Since the official development has started up again, I suggest you to fork the git source, add your HTTP-downloader and send in the patches.

3

Re: [UPCOMING MOD] HTTP/FTP-Download

There would be no difference, cause asfaik, the maps are beeing transferred using UDP, which is much faster than the connection oriented TCP, which is beeing used by a HTTP server.

Setting up an additional HTTP/FTP server on the servermachine would be a huge disadvantage...

4

Re: [UPCOMING MOD] HTTP/FTP-Download

Schokomuesli wrote:

There would be no difference, cause asfaik, the maps are beeing transferred using UDP, which is much faster than the connection oriented TCP, which is beeing used by a HTTP server.

Setting up an additional HTTP/FTP server on the servermachine would be a huge disadvantage...

He didn't say the file should be downloaded by HTTP from the same server.
With HTTP download, you could set your file anywhere you'd like, and people which don't have the map simply download it from there, instead of the Teeworlds server.

|ZPote| buffer[]'s posterous

5

Re: [UPCOMING MOD] HTTP/FTP-Download

i don't think that people would download a client just to have this function

But nice idea. gl & hf

6

Re: [UPCOMING MOD] HTTP/FTP-Download

Kottizen wrote:

Since the official development has started up again, I suggest you to fork the git source, add your HTTP-downloader and send in the patches.

That way it won't be just a one-function-client

|ZPote| buffer[]'s posterous

7

Re: [UPCOMING MOD] HTTP/FTP-Download

i think that something like a torrent systen would be better.
The server will upload the map to max one person at once.
When the player is ready with downloading, he gets information from the server where to upload the map again. So the client works as a little upload server.
Hope that it is possible to make it like that smile

Teeworlds [ friends ] clan
Some YouTube Stuff about Teeworlds

8 (edited by Var [TNB] 2010-12-13 20:07:09)

Re: [UPCOMING MOD] HTTP/FTP-Download

This idea is only able to be realised if implemented to the upcoming versions of Teeworlds as an additional function, so it'd be optional to put your map on the side resource or gameserver.

Stay wild big_smile