Map/Mod Autodownloading via Clients - Page 2

Map/Mod Autodownloading via Clients

Requests for features in the spring code.

Moderator: Moderators

User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Map/Mod Autodownloading via Clients

Post by Licho »

Its not documented, basically you implement your own tab into the downloader with any custom downloading method and alter modulemanager to tell it when to use that module (for what download requests).

Tab can use any custom downloading mode or reuse existing CA updating model (but that needs mono applicaiton to run on server after each commit).

If you need information Its best to contact me directly.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: Map/Mod Autodownloading via Clients

Post by Hoi »

wait... what? i thought the whole point of autodownloading is to make stuff easyer for noobs, so why not include the autodownloader in tasclient? or include springlobby when you install spring instead of tasclient, as far as i know springlobby already has autodownloading
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Map/Mod Autodownloading via Clients

Post by Licho »

Hoi .. just upgrade to latest beta of tasclient..
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: Map/Mod Autodownloading via Clients

Post by Hoi »

hmm nice it renamed my old exe but didnt give a new one...
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Map/Mod Autodownloading via Clients

Post by Licho »

Hmm.. it doesnt want to load 7zip i made..satirik will have to fix it..
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: Map/Mod Autodownloading via Clients

Post by Hoi »

it also has a wierd bug, nothing is shown in red (that you dont have map/mod) but the downloader works ok with the manual update :-)
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Map/Mod Autodownloading via Clients

Post by Licho »

Thats not bug, thats new default settings :)
It shows that you have everything since its meaningless now - downloader gets you any mod/map you need..
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: Map/Mod Autodownloading via Clients

Post by Hoi »

i'd still like to see what i dont have
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Map/Mod Autodownloading via Clients

Post by Licho »

And it's still in options - you can enable it.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: Map/Mod Autodownloading via Clients

Post by Hoi »

ooh :| would be annoying for people with dial up if they join something and a 100 mb map begins downloading
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Map/Mod Autodownloading via Clients

Post by Licho »

Thos are very rare... vast majority have broadband..
And its also to "notify" them about feature. Noramlly people dont double click games with red mods..
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Map/Mod Autodownloading via Clients

Post by REVENGE »

This is great, but I have the same problem as hoi. Can't locate the temp file either. Is this on jobjol?
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: Map/Mod Autodownloading via Clients

Post by Hoi »

get http://tasclient.licho.eu/tas.7z and extract to spring folder
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Map/Mod Autodownloading via Clients

Post by REVENGE »

K, thanks.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Map/Mod Autodownloading via Clients

Post by REVENGE »

Hmm, client gives me an error "Can't Run Springdownloader" if I don't start the client in admin mode on Vista. Anyway to remedy this?
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: Map/Mod Autodownloading via Clients

Post by Hoi »

REVENGE wrote:Vista
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Map/Mod Autodownloading via Clients

Post by Licho »

User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Map/Mod Autodownloading via Clients

Post by REVENGE »

Good stuff, thanks. :P
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Map/Mod Autodownloading via Clients

Post by AF »

As far as I can see the springdownloader relies on the registry to communicate with the lobby immediatley giving me a major headache with portability problems not to mention making windows specific hacks in order to communicate which would then have problems dependant upon the version of windows.

Then there's the non-standard icons being used, basically satiriks warped golden sun icon with a red arrow.

Until both of these issues are sorted I refuse to implement integration with spring downloader as it would be too much work and kludging and hacking. Why on earth did you use such a horrible method of communication when you yourself suggested and discussed extensively far better alternatives?
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Map/Mod Autodownloading via Clients

Post by Licho »

Several reasons:
1) linux port was aborted - no need for extra portability

2) sd needs to be able to communicate in n to n manner. Several copies of SD running each for different spring path from completely arbitrary folders and several controlling programs talking with each SD (springie, lobby etc)). Registry provide convenient "fixed" address and are safe for reading/writing by many processes. They are also very very easy to use - simple function to read and write value are enough.

3) speed of implementation in SD - its faster to implement than adding general tcp listener to downloader and talking to several "clients" using some custom protocol.

4) ease of implementation in lobby/client - if I rely on TCP, lobby must first start downloader and wait till it starts to listen for commands before it can issue command - with current model it simply writes request to registry and SD will react to it as soon as it starts. Related issue is reconnecting tcp when SD self-upgrades and restarts itself etc.
Post Reply

Return to “Feature Requests”