When trying to create new database using the new SQLite functionality, it will not work properly if you try and create the file in a subdirectory.
Code Snippet (if applicable) to Reproduce Problem:
proc/SetupSQLite()
if(!fexists("Database/Logs.db"))
var/database/db=new("Database/Logs.db")
var/database/query/q=new
q.Add("CREATE TABLE 'Connection_Logs' (key TEXT, ip TEXT, comp_id TEXT, timestamp TEXT)")
q.Execute(db)
Expected Results:
Logs.db being created within the /Database folder.
Actual Results:
No database file is being created.
Does the problem occur:
Every time? Or how often?
Every time.
In other games?
I'd imagine so.
In other user accounts?
Yes.
On other computers?
Yes.
When does the problem NOT occur?
The problem does not occur when you create it in the root directory.
Maybe it's not supposed to work this way, I just imagined it would just like when any other file is created in DM.