Jump to content

GLOBAL.io.open file result "bad file descriptor"


Tranoze
  • Fixed

I'm a modder and i use file io to print out results, and in all previous version of DST this work perfectly fine, but in the previous update, io.open return null no matter what the input file link, i tried on both read/write file.
after debugging, when i run the codeĀ 

local file,errorcode,errornumĀ = GLOBAL.io.open(filename, "w")

errorcode result "bad file descriptor" with all file name or file directory i tested.
Since the game use io.open in some cases, i did see some other bug related to function use this function in bug report, especially on writing/reading files.


Steps to Reproduce

Write file or read file with DST mod.

  • Like 1
  • Thanks 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...