

Database specifies the database you want to use the protocol for - exactly in the same way as before. ADD_DATABASE_PROTOCOL is also pretty self explanatory. The first part is 9 again, referring to system mode. The argument is, like before, separated by colon. _result can be used to check for an error: if(!(_result isEqualTo "")) exitWith First you need to introduce a new database with: _result = "extDB3" callExtension "9:ADD_DATABASE:Database" param1 is a string containing the name of the addon: "extDB3" and param2 contains some parameter, that gets passed to the addon. In SQF, the ARMA scripting language, you use param1 callExtension param2 In the mission init.sqf file, which is running at the ARMA server start, you need to put in some lines to connect to the database and configure it for later use. I am going to focus on the part with the database. I am not going to explain how to create a mission. If you can, you should create an own ARMA user in the database server. I recommend to not use the root login for security reasons. If you the database is not at the same computer as the ARMA 3 server, put also in the IP and port. You have to edit this file and set at least: the username, password and Database. Then start the ARMA server with the Mod (simply pass it an additional parameter "-mod= Inside the folder you find a extdb3-conf.ini which contains the settings. You need to unzip the downloaded file, unpack it and move it to the main game folder. Next you need to download extDB3 from its developer homepage. Now create a new database and configure it as you want. Just make sure ARMA can actually reach the database server. It can be installed at the same computer but doesn´t need to. How to install?įirst you need a database server to connect to. Just to give some examples, the database can simply serve as an persistent data storage between restarts of the ARMA server or the database is altered from the outside and the game can interact with the Internet in this way (you could read/update information via a website or Android App). The main purpose is for persistent missions to be able to save and load data from an external source. It is a server side addon, that enables ARMA to connect to a Database (currently MariaDB/MYSQL). I am going to give an introduction to the ARMA 3 Addon extDB3.

This post combines two hobbies of mine: Gaming and Programming.
