Hi there,
first of all, thanks for your work.
I have problems running your mod. Saving is working just like a charm but loading is just not working, here's what i've done:
in init.sqf:
call compile preProcessFile "\iniDB\init.sqf";
I then made a simple
["myfile", "server", "starttime", date] call iniDB_write;
this works. myfile is being created and the expected entry does also exist.
Then I make this:
_ret = ["myfile", "server", "starttime", "ARRAY"] call iniDB_read;
This results in an error complaining about _data is not set. While playing around I moved the read code into a spawn, to have the result in the next frame.
The error vanishes but I don't get a result, just 'nil'.
Can you please give me a hint?! It seems for me that I'm doing everything right.. ;-)
Edit:
I'm running this local, not on a dedicated server (for testing purposes)