Hammelpilaw Posted August 31, 2019 Share Posted August 31, 2019 Update: Not a bug, just a change in scripting API thats not been announced. Since 0.25 createDirectory() does not work on client side anymore. Must be related to the security patch. Simple test script attached: Start a new galaxy Be on a ship Interact with any station It will print 'Create directory' in client log. When on Avorion <0.25 it creates a new directory: 'moddata/test', in 0.25 or higher not. MyAwesomeTestmod.zip Link to comment Share on other sites More sharing options...
Rinart73 Posted August 31, 2019 Share Posted August 31, 2019 Since 0.25 you have to use createDirectory("moddata/YourModName") It's a shame modders weren't informed about this :/ Link to comment Share on other sites More sharing options...
Hammelpilaw Posted August 31, 2019 Author Share Posted August 31, 2019 Ah that works. Yeah been a lil confusing. But tested and it works. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now