Author Topic: Updating a zip file ingame?  (Read 351 times)

What was the console command that updated zip files?


don't use zip files until you're ready for release. just put all the contents of the zip file into a folder named the same as the zip file.



but if you must setModPaths(getModPaths());
« Last Edit: September 29, 2012, 08:19:47 PM by Lugnut »

Code: [Select]
%path = "desired/path/to/zipfile.zip/server.cs";
discoverFile(%path);
setModPaths(getModPaths());
exec(%path);
//If I was trying to load an add-on called System_Example and wanted to do server.cs, then I would set %path with "Add-Ons/System_Example/server.cs"
This is taboo if you are coding your own add-on.