Jump to content
Yurichenk

Server file outside the pbo?

Recommended Posts

Is it possible to process a file that is outside the pbo of a mission and instead is located on a server?

 

maybe something like this??????

 

initServer.sqf

if (! isServer ) exitWith {

Myprocess = call compile preprocessFileLineNumbers "Server\File.sqf";

};

 

 

Share this post


Link to post
Share on other sites

AFAIK the short of it is:

1. Start server with -filePatching parameter

2. preprocessFile, loadFile or execVM the file on the server. If you need the data on the client you either have your server broadcast the data or have your client query the server for it. 

 

This has been asked before though, to get the long answer you will need to do some searching.

 

Also this is non-sensical. 

14 hours ago, Yurichenk said:

initServer.sqf

if (! isServer ) exitWith {

//stuff 

};

isServer will always return true inside initServer.sqf and the exitWith will never fire. 

  • Like 1

Share this post


Link to post
Share on other sites

Read my posts. Ignore fact the thread says .txt file.

  • Like 1

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

×