Author Topic: extract package Prints of 5 file zip into add on folder.  (Read 1434 times)

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.

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.
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 !

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.

a link to the RTB combined pack at the end as well as individual links to "Tier 1", "Tier 2", "Explosives 1", etc.
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: [Select]
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");
     }

Prove I am wrong with this script.
« Last Edit: July 19, 2010, 12:16:54 PM by Furling »

You can't execute zip files and automatically extract them. Stop thinking you can.

You cannot upload a zip file with contained zip files on RTB because it already has the system to download multiple similar mods at the same time which I just explained, so use it.

Allright, thank you, and Locked.