Blockland Forums > Modification Help
RTB Development
-Jetz-:
I searched through my add-ons folder and found 3 add-ons with a capitalized description. I fixed the bug by editing them and making them lowercase, but now I am unable to recreate the bug by making them capitalized again. Anyway, I'll go re-apply the mod manager fix.
M:
Okay, the new content downloader downloaded the Script_Compass content zip.
And replaced my old Script_Compass zip, which was an updated version I'd been working on. My own fault for not keeping backups, but it would have deleted the original copy of Script_Compass, including the clientside code. I assume that it shouldn't download the content zip if the content already exists. I don't think it should download the content zip if there's no rtbInfo.txt in the client copy of the zip either - just a suggestion.
My most recent backup is a couple of months old, since it's on my external, but all I actually lost was the new serverside code. Hee... I panicked.
Wizard:
Wait, so let me get this straight, will RTB download GUIs and Client-Sided code that's been uploaded to RTB? (For instance Rky's Client_Lister or Iban's CityRPG Gui)
M:
--- Quote from: Wizard on May 03, 2010, 08:24:19 PM ---Wait, so let me get this straight, will RTB download GUIs and Client-Sided code that's been uploaded to RTB? (For instance Rky's Client_Lister or Iban's CityRPG Gui)
--- End quote ---
No, it downloaded the images of Script_Compass (GUI Images) and no client code. It should download clientside code as well, however client add-ons should require manual validation every time so malicious code won't get out.
Ephialtes:
--- Quote from: M on May 03, 2010, 07:44:23 PM ---Okay, the new content downloader downloaded the Script_Compass content zip.
And replaced my old Script_Compass zip, which was an updated version I'd been working on. My own fault for not keeping backups, but it would have deleted the original copy of Script_Compass, including the clientside code. I assume that it shouldn't download the content zip if the content already exists. I don't think it should download the content zip if there's no rtbInfo.txt in the client copy of the zip either - just a suggestion.
My most recent backup is a couple of months old, since it's on my external, but all I actually lost was the new serverside code. Hee... I panicked.
--- End quote ---
I expected most people would be doing active development from a folder as opposed to re-packaging a zip each time some code was changed. Oh well, like you said - your fault. RTB needs to overwrite zips without rtbInfo.txt files because it doesn't know the version of content you have and needs to make sure you have the most up-to-date content available.
So the launch went pretty well, here's a couple of graphs to show the increase in file download activity:
http://forum.returntoblockland.com/brown townytics/graph_downloadStats.php
http://forum.returntoblockland.com/brown townytics/graph_contentDownloads.php
I'm going to look at streamlining the webserver's content serving and depending on traffic volume I may just get another webserver, throw a lightweight build of apache or lighttpd on it and use it purely for content distribution.