Jump to content
Sign in to follow this  
coolfact

download files to mission folder

Recommended Posts

Do anyone know a way to get files from outside mission folder to be downloaded to the mission folder under a mission?

let's say that I have a .sqf file I don't want to be in mission folder, but rather on a external "server"(or dropbox), then when mission starts, the server(or clients) will download the .sqf file and the mission will run like if the .sqf file was in the mission folder.

please tell if the example wasn't clear enough(had a hard time finding a way to explain it :S)

Share this post


Link to post
Share on other sites

Not possible to my knowledge, if only for security reasons. Why would you want that anyway?

Share this post


Link to post
Share on other sites
Why would you want that anyway?

He probably wants it to be only playable with his permission. Correct me if I'm wrong Coolfact, but if that is what you want to do, you can run some server side scripts in a AddOn PBO only enabled in the server to check for stuff. That's how King of the Hill and Altis Life does it. For example I just run some textures from our little mod pack to reduce the mission sizes.

Share this post


Link to post
Share on other sites

its more like I have a loadout script(consisting of arrays with classnames) I want to be able to edit in this script without have to C/P it to mission folder every time a change have been made. How does persistence server/mission do it?

Share this post


Link to post
Share on other sites

With the way of putting the script in a AddOn PBO you'll have to update the mod and restart the server, so it's not really ideal for something like changing loadouts.

I keep my loadout scripts in my missions since that is actually the fastest way of editing them. Do you mean thing like (Again) King of the Hill and Altis Life saving by persistence? As far as I know KotH saves stuff locally and Life servers have databases. The way Life servers and KotH do that stuff is going to be an overkill for just simple loadouts.

Share this post


Link to post
Share on other sites

I thought you could create an external script for your server which provides functionality for the mission in question, thus rendering the .pbo essentially useless to others? I could have swore you could have "external server scripts"...

Share this post


Link to post
Share on other sites
I thought you could create an external script for your server which provides functionality for the mission in question, thus rendering the .pbo essentially useless to others? I could have swore you could have "external server scripts"...

Could swear I've read about that somewhere. It was in the context of Naught's SQF encryption.

Share this post


Link to post
Share on other sites
Could swear I've read about that somewhere. It was in the context of Naught's SQF encryption.

Couldnt this be done with a server side extension, since extensions have unlimited access to the computer they are installed in. It would be of no harm to players since its only running on the server hardware.

https://community.bistudio.com/wiki/Extensions

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×