Skip to content

Database

Ppgtjmad edited this page Feb 3, 2024 · 25 revisions

extDB3 support is available to advanced users, requirements are:

  • SQL knowledge
  • extDB3 knowledge
  • An already setup database

If you don't have these, don't mind reading the following.

Required steps:

  • First, open extDB3\@extDB3\extdb3-conf.ini and under [HG] these settings have to match your DB setup:
IP = 127.0.0.1
Port = 3306
Username = changeme
Password = changeme
  • Move @extDB3 & extDB3\tbbmalloc.dll & extDB3\tbbmalloc_x64.dll to your Arma 3 root directory
  • Open Database folder and run HG_SimpleShops.sql against your database
  • To enable database saving open HG_Config.h find l.118:
savingMethod = "Profile";

savingMethod has to be set to "extDB"
extDBProtocol has to be either "SQL" (for raw sql) or "SQL_CUSTOM" (for prepared statements -> recommended)

savingMethod = "extDB";
extDBProtocol = "SQL_CUSTOM";
  • Don't forget to add @extDB3 to your launch parameters!

Important

BattlEye will prevent extDB.dll from loading if you're hosting a server on your computer (in editor too)... so disable BattlEye in A3 launcher beforehand