This program acts as an intermediary between Arma2/Arma3 and a MySQL or SQLite database. It uses the
Arma2NET wrapper system. It is written in C#. The program has to be run on the same system as your Arma2/Arma3 server, however, the MySQL database can be either local or remote. The SQLite database runs on the local machine.
You can download compiled versions of the plugin here (the current version is v0.1.0.0-stable):
The beta testing version is: Arma2NETMySQLPlugin_v0.2.0.0-beta1.zip. This uses the new (under development) version of Arma2NET and is Windows only (at this time). There are some interface changes so you will need to make adjustments to existing missions that use the current stable 0.1 version. There is updated documentation in the zip folder itself. You should not need to install the MySQL or SQLite dependencies as they are already provided. There are also some minor security improvements and the example mission is updated to reflect this. I'm working on a Linux port but have been quite busy lately so it might be awhile. As always, testing is most appreciated.
There is also a tutorial video available for download in the above link. It is slightly old and only shows Arma 2 instructions, but the instructions and setup for Arma 3 are essentially the same.
Arma 2 Example Mission (currently deprecated, see the Arma 3 example instead):
Arma 3 Example Mission:
This program has had a long history. Initially, the program used JayArma2Lib because DLL injections were the only way to
pass information between Arma2 and the outside. Eventually, BIS added callExtension
which allowed for a more structured (non-hacky) way to pass information. JayArma2Lib switched to this and things continued. Development
was done here and an example mission was
here. Technically, all that code should still work but the bad
part was all the formatting and ugly stuff that had to be done in game via the SQF scripting in order to get the data into a reasonable
format. It involved iterating through strings and creating arrays and generally was still pretty hacky. Then,
Arma2NET came along and things got better. This wrapper system allowed us to
return nice results back to Arma2 and not have to deal with all the formatting nonsense. I ended up just copying the bits and pieces
that were needed from the past project and creating a new application. Development is all done via the Github pages. In addition,
the Persistent Database Scripts
system as created by [KH]JMan currently uses builds of this program
for saving data.
Development initially started over at AlphaSquad (thanks guys, you rock!).
Please read the documentation to get started. The plugin and each mission have a readme file. There is a lot of information in the readme and it should have everything you need to get started. If something is confusing or you don't understand the readme, please let me know.
Translations of the readme to other languages has started.
If you have questions of problems related to this program specifically, please post here. All problems related to missions or mods that use this program should be posted in their appropriate threads. Thanks!