code34 248 Posted October 31, 2014 if you check the ini file, it s certainly a key problem Share this post Link to post Share on other sites
wesley32 4 Posted October 31, 2014 What's a keyproblem? Everything in the ini file seems normal. Saving works the way it's supposed to. Share this post Link to post Share on other sites
code34 248 Posted November 1, 2014 (edited) hi copy paste your read call, like this :) ["myDatabaseFile", "sectionname", name player, "STRING"] call iniDB_read; Edited November 4, 2014 by code34 Share this post Link to post Share on other sites
Schatten 289 Posted December 25, 2014 When new version will be published? I see in changelog in GitHub that it exists. Share this post Link to post Share on other sites
code34 248 Posted December 26, 2014 hi :-) i have to check about it since severals months. From my memory no major features :-) i will try to release it before the end of year. Share this post Link to post Share on other sites
Schatten 289 Posted December 26, 2014 Thx. I'll wait with impatience. ) Share this post Link to post Share on other sites
code34 248 Posted December 29, 2014 hi guy, I have re-read the whole code on repositorie, and it is not necessary to update the code. The various update did not bring new major features and will caused as side effects big changes in user code. As it's not interresting, this is probably, the reason why i not release it a few months ago. The 1.4 version is the stable reference release. Sorry to not give you more, but it s a basic write/read mechanism. Share this post Link to post Share on other sites
1para{god-father} 105 Posted January 22, 2015 I there a limit to using this , i.e when should we think about moving to a DB - or is this just as quick ? Share this post Link to post Share on other sites
Schatten 289 Posted January 26, 2015 It depends on what should be saved. I use this extension to save player's inventory and position, objects, etc. IniDBi works fine. Share this post Link to post Share on other sites
gippo 38 Posted February 8, 2015 So what's up with saving arrays? in 1.0 arrays saved, in 1.4, they are missing. I try to save like this: ["myDatabaseFile", _playerUID, "moneyArray", [_money, _servertime, _side]] call iniDB_write; The local variables are defined ofc. Tried to save the array in one variable then insert that, same problem... Or am I missing something? Share this post Link to post Share on other sites
code34 248 Posted February 8, 2015 hi, yes you can save arrays, sting, and scalar. Check your logs, you perhpas insert into your arrays object or others thing than can not be save. Share this post Link to post Share on other sites
gippo 38 Posted February 9, 2015 I don't know what's happening, 1.0 functions works fine, except from a moneyArray="[500000,245.764,GUER]" entry can't read out GUER (it's saved though), but can read EAST or WEST. Is it a bug in the first version? I tried to use 1.4, but still can't save arrays. tried these methods: ["myDatabaseFile", _playerUID, "moneyArray", [_money, _servertime, _side]] call iniDB_write; ["myDatabaseFile", _playerUID, "moneyArray", _moneyArray] call iniDB_write; _money and _servertime is number, _side is a string. In the second one: _moneyarray: _moneyArray = [_this select 1, _this select 2, _this select 3]; which is (should be) the same as [_money, _servertime, _side] both giving the error: "IniDBI: write failed, 76561197983934018 moneyArray data contains object should be ARRAY, SCALAR, STRING type" Am I screwing something up? Share this post Link to post Share on other sites
t-800a 151 Posted February 9, 2015 Maybe you _side is the problem? Does it refer to player side? Then you will need to convert it to a string first. Share this post Link to post Share on other sites
gippo 38 Posted February 9, 2015 (edited) Damn, never thought of that. Will try it asap. edit: Solved it... Thanks man! As a "weekend scripter" I do miss these things :) Edited February 9, 2015 by GiPPO Share this post Link to post Share on other sites
xoo 10 Posted February 20, 2015 Worked well on hosted... but i can't manage to make it work on dedicated. Windows 7 64 Latest VCRedist.exe @inidbi installed on A3 root Launch parameters: "myPathTo\arma3server.exe" -port=2302 -config=serverIniDB.cfg -mod=@inidbi; Launched mission: test_mission.altis Call: call compile preProcessFile "\inidbi\init.sqf"; Always the same message: Script inidbi\init.sqf not found What's the problem ? Share this post Link to post Share on other sites
code34 248 Posted February 20, 2015 Worked well on hosted... but i can't manage to make it work on dedicated.Windows 7 64 Latest VCRedist.exe @inidbi installed on A3 root Launch parameters: "myPathTo\arma3server.exe" -port=2302 -config=serverIniDB.cfg -mod=@inidbi; Launched mission: test_mission.altis Call: call compile preProcessFile "\inidbi\init.sqf"; Always the same message: Script inidbi\init.sqf not found What's the problem ? Hi :) most of time it comes from: - missing microsoft libraries vc++ - file permissions on dll Share this post Link to post Share on other sites
xoo 10 Posted February 20, 2015 Hi :)most of time it comes from: - missing microsoft libraries vc++ - file permissions on dll Hi code34, i just reinstalled the lastest vcredist_x86.exe (and x64 but normally not needed) from http://www.microsoft.com/en-ie/download/details.aspx?id=40784 and the user who launch the arma3server.exe have full permissions on the iniDB.dll I'm so disappointed. :( Share this post Link to post Share on other sites
code34 248 Posted February 20, 2015 try to check directory permissions, and mod=@.. line :) ---------- Post added at 11:19 ---------- Previous post was at 11:17 ---------- if you have Always the same message: Script inidbi\init.sqf not found it s the addon pbo that is not load properly (not the dll) Share this post Link to post Share on other sites
xoo 10 Posted February 20, 2015 i have granted full rights on: \@inidbi, \@inidbi\db, \@inidbiiniDB.dll, \@inidbi\Addons, \@inidbi\Addonsinidbi.pbo for the user who launch the arma3server.exe Launch parameters tried: "myPathTo\arma3server.exe" -port=2302 -config=serverIniDB.cfg -mod=@inidbi; "myPathTo\arma3server.exe" -port=2302 -config=serverIniDB.cfg -mod=@inidbi "myPathTo\arma3server.exe" -port=2302 -config=serverIniDB.cfg "-mod=@inidbi" Always the same error message... i dunno what to try now !? Share this post Link to post Share on other sites
code34 248 Posted February 20, 2015 sorry i don't see :( certainly a missconfiguration at some place. Share this post Link to post Share on other sites
Azza FHI 50 Posted March 15, 2015 is anyone able to provide an example on how to use this to save a players kit and location? thanks Share this post Link to post Share on other sites
code34 248 Posted March 16, 2015 is anyone able to provide an example on how to use this to save a players kit and location?thanks hi http://forums.bistudio.com/showthread.php?172499-OO-PDW-oriented-object-Persistent-Data-World Share this post Link to post Share on other sites
m1ndgames 10 Posted April 15, 2015 Im trying to get inidbi working on linux, but i dont have any clue about mono and xbuild... arma3server@m1ndfuck:~/serverfiles/@inidbi/sources/Ini_DB$ xbuild Ini_DB.vcxproj XBuild Engine Version 12.0 Mono, Version 3.12.1.0 Copyright (C) 2005-2013 Various Mono authors Build started 4/15/2015 2:57:18 PM. __________________________________________________ Ini_DB.vcxproj: error : /home/arma3server/serverfiles/@inidbi/sources/Ini_DB/Ini_DB.vcxproj: /home/arma3server/serverfiles/@inidbi/sources/Ini_DB/Ini_DB.vcxproj could not import "$(VCTargetsPath)\Microsoft.Cpp.Default.props" Build FAILED. Errors: Ini_DB.vcxproj: error : /home/arma3server/serverfiles/@inidbi/sources/Ini_DB/Ini_DB.vcxproj: /home/arma3server/serverfiles/@inidbi/sources/Ini_DB/Ini_DB.vcxproj could not import "$(VCTargetsPath)\Microsoft.Cpp.Default.props" 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.0414560 arma3server@m1ndfuck:~/serverfiles/@inidbi/sources/Ini_DB$ Btw.: @Arma2NET is running on the box. Could compile it without any errors... Dont know if it actually works though... Share this post Link to post Share on other sites
code34 248 Posted April 15, 2015 hi :) i dont know if it works cause the microsoft api is used Share this post Link to post Share on other sites
code34 248 Posted April 18, 2015 Im trying to get inidbi working on linux, but i dont have any clue about mono and xbuild... do you success to make it works ? :) Share this post Link to post Share on other sites