Yeah temp is from SD too, and selected packages - well i thought that perhaps some lobby would use this list too, so i put it to packages for now.
I used system temp before, but problem was with atomic "rename" of file from temp to target file in pool. If you have temp on different disk, move command is actually non-atomic copy that can fail in the middle resulting in corrupted files (under windows).
1.5.0.0 ====== * Rapid uses "streamer.cgi" which sends all files needed in one HTTP request instead of thousands. This should greatly improve reliability for people with crappy internets. * Downloaded pool files are hash-checked again to be 100% sure.
running SpringDownloader under Linux. works good so far
2 issues: 1. when i put mods into rapid queue, and then close SD, before the downloads are finished, then start SD again, it wont go on downloading them, but they stay in the selected packages list. 2. When closing SD, with the X at upper right of the window, it stays in the tray icon, and the process is still running. but from there, i can not fully close it or maximize it again, i have to kill it through the console. This is using KDE, guess its the same with Gnome.
in spring master, i documented the pool format in the header comment for class ArchivePool. KAIK now use pool friendly cache and cfg file names. AAI has the same, plus is now usable at all with pool archived mods.
The client does a POST to /streamer.cgi?<hex> Where hex = the name of the .sdp
The client then sends a gzipped bitarray representing the files it wishes to download. Bitarray is formated in the obvious way, an array of characters where each file in the sdp is represented by the (index mod 8) bit (shifted left) of the (index div 8) byte of the array.
streamer.cgi then responds with <big endian encoded int32 length><data of gzipped pool file> for all files requested. Files in the pool are also gzipped, so there is no need to decompress unless you wish to verify integrity.
streamer.cgi also sets the Content-Length header in the reply so you can implement a proper progress bar.
Example:
Code:
POST http://packages.springrts.com/streamer.cgi?c9db2e043bb2a662a87bec1b223e0c85 SEND gzipped bitarray RECEIVE files
1.6.3 ========= * Game information list and QuickMatching * Alerter - alerts you when game you seek opens * Basic chat * Missions removed until fixed * CA tab removed (obsolete) * Registry interface removed (use file based interface if you want to order downloader)
Please tell me you fixed the "idling in Springie" behavior of QuickMatching. All day you were idling in Springie, and every time SpecAFK was called, you'd leave... and then auto-rejoin 60 seconds later. When trying to balance and put a game together, a non-player rejoining automagically every minute (chatspamming the notification message on every !ring) screws everything up.
Joined: 01 Jun 2005, 10:36 Location: The Netherlands
Is there a way to get the URLs for the package repositories btw (i.e. master server), or are these hardcoded/configured in the client (like how it's usually done with Linux package managers)?
(I think there are two now, right? packages.springrts.com and packages.caspring.org?)
Joined: 01 Jun 2005, 10:36 Location: The Netherlands
Bug:
If you open chat module, you can not cancel out of it anymore (i.e. using X button)! Even restarting program or entering wrong (existing) account name just brings you back to the register dialog. Need to kill it through taskmanager / ctrl+alt+esc.
Only after editing config file manually it will work again.
Also in config file I noticed Downloader is 5 times in it:
SD 2.0.0 ======== * now includes more simple lobby capabilities targeted at nubs (dedicated thread post will follow) * revamped/simplified user interface * UAC support (asks for admin just for self-update) * registry interface back (for TasClient integration)
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum