BL1P 35 Posted November 22, 2015 Hello. We are trying to get a file to read from a folder on the server using :- Array = call compile preprocessFile "\Folder\File.sqf"; publicVariable "Array"; We place diag_logs before, in and after the file, the only logs that get reported are the before and after the file its self is not read anymore. We used to use this system with no problems when we tried to reuse it recently we noticed that it no longer works. Has something changed with the way you read a file from the server and not the mission ? Any ideas ? Thanks. BL1P Share this post Link to post Share on other sites
Larrow 2800 Posted November 22, 2015 Yes BL1P the file patching changes disabled external file reading by default.You will need to have your server start with the command line -filePatching to allow it to read the file.There is also an allowFilePatching parameter for the server config but i believe this is a switch for if you want clients to be able to filePatch. See the THREAD in the development section. Share this post Link to post Share on other sites
terox 316 Posted November 22, 2015 This is due to a recent patch which now stops the server from reading external files (Outside of the mission) Further reading https://community.bistudio.com/wiki/Arma_3_Remote_Execution Solution: Server.cfg add the line allowedFilePatching = 1; Server commandline -filepatching Taken from this post https://forums.bistudio.com/topic/185144-filepatching-serverside-issue/ Lol Larrow beat me to the post) Share this post Link to post Share on other sites
BL1P 35 Posted November 22, 2015 Thanks guys, you two are stars. That did the trick, all is working as should be now thank you both very much. P.S Still a little unsure on if i should allow the client to file-patch or whatever but just going to go with both things on atm :/ Share this post Link to post Share on other sites