Blockland Forums > Modification Help
extract package Prints of 5 file zip into add on folder.
Space Guy:
If you upload it as the five separate mods and then ask one of the moderators nicely you can have your mods put into a pack that can either be downloaded and extracted as a zip file containing other zips from the website, or automatically get and install all five, as well as putting them in a preset add-on group if selected in-game.
Furling:
--- Quote from: Space Guy on July 19, 2010, 04:28:43 AM ---If you upload it as the five separate mods and then ask one of the moderators nicely you can have your mods put into a pack that can either be downloaded and extracted as a zip file containing other zips from the website, or automatically get and install all five, as well as putting them in a preset add-on group if selected in-game.
--- End quote ---
thank you again, you are so wonderful ! Mr. Space guy.
But I have post rtb like 5 time...... I really like just post one rtb automatically get and install all five ....rock on !
Space Guy:
Well, what you do is have all of them uploaded then maybe post a topic in Add-Ons about the whole collection. Bushido did this for his Tier+Tactical set, with a link to the RTB combined pack at the end as well as individual links to "Tier 1", "Tier 2", "Explosives 1", etc.
Furling:
--- Quote from: Space Guy on July 19, 2010, 10:02:25 AM --- a link to the RTB combined pack at the end as well as individual links to "Tier 1", "Tier 2", "Explosives 1", etc.
--- End quote ---
ummm intresting I would invention this call zip folder ( Extract_NameHere.zip ) upload in rtb. when someone want download add-on print, weapon, etc as packages into add-on folder, then enable add-on. after that itself extract with requirement use server.cs inside already with Extract_NameHere.zip. once extract all package complete. after that Extract_NameHere.zip will delete itself as for rest package already in add-on.
I want make this new script
I made this script are example:
--- Code: ---activatepackage(Print_package);
exec("Add-Ons/Print_1x1_nameHere.zip");
exec("Add-Ons/Print_1x1f_nameHere.zip");
exec("Add-Ons/Print_1x2f_nameHere.zip");
exec("Add-Ons/Print_2x2f_nameHere.zip");
exec("Add-Ons/Print_2x2r_nameHere.zip");
deleteDataBlocks("Add-Ons/ Extract_nameHere.zip");
}
Or
activatepackage(Print_package);
exec("Add-Ons/Print_1x1_nameHere.zip");
exec("Add-Ons/Print_1x1f_nameHere.zip");
exec("Add-Ons/Print_1x2f_nameHere.zip");
exec("Add-Ons/Print_2x2f_nameHere.zip");
exec("Add-Ons/Print_2x2r_nameHere.zip");
remove("Add-Ons/ Extract_nameHere.zip");
}
--- End code ---
Prove I am wrong with this script.
Destiny/Zack0Wack0:
You can't execute zip files and automatically extract them. Stop thinking you can.