So I hunted down the version of mysql connector required took a bit of Google searching but found it. But now whenever I execute the code it just crash's my the server. Not sure if this is related to the 2.3 version but don't know of what version fix's the dll dependency issues and where to place what dll's need to go into what folders if there is a dll dependancy issue within arma2net itself.
This is what I am getting :
Application: arma2oaserver.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
at <Module>.Arma2Net.Unmanaged.InvokeFunctionImpl(SByte*, Int32, SByte*)
at <Module>.Arma2Net.Unmanaged.InvokeFunction(SByte*, Int32, SByte*)
Code looks like the following :
_queryvalue = format ["[%1,%2]", _uid, _variable_value];
"Arma2Net.Unmanaged" callExtension format ["Arma2NETMySQL ['arma2game', 'updateb', '%1']", _queryvalue];
I have also tried the following :
_result = "Arma2Net.Unmanaged" callExtension format ["Arma2NETMySQL ['arma2game', 'updateb', '%1']", _queryvalue];
_result
I can call the stored procedure from the mysql cli without issues so I know it isn't example :
mysql> call updateb(1,300);
Query OK, 1 row affected (0.00 sec)
But I am not even getting that far as soon as the code is executed on the server side it causes a crash like above mentioned .
Thanks,
Nohau