Hi, I'm trying to get Arma2NET working in ARMA 3 0.77.109909
We have it set up and Arma2NET explorer is working fine with for example the DateTime plugin. It posts in the log and returns in the explorer as expected.
However when running a command like:
hint ("Arma2Net.Unmanaged" callExtension "DateTime ['now', 'HH:mm:ss dd/MM/yyyy']")
no hint appears in game. The log file reads
09/10/2013 00:09:21 Arma2NET 2.3.0.0 running on CLR 4.0.30319.17929
09/10/2013 00:09:21 Loaded into process arma3server
09/10/2013 00:09:21 Loading add-ins
09/10/2013 00:09:21 Caught exception of type System.Reflection.TargetInvocationException while loading add-in DefaultDomain
09/10/2013 00:09:21 System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Data.SQLite, Version=1.0.88.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. Attempt to load an unverifiable executable with fixups (IAT with more than 2 sections or a TLS section.) (Exception from HRESULT: 0x80131019) ---> System.IO.FileLoadException: Attempt to load an unverifiable executable with fixups (IAT with more than 2 sections or a TLS section.) (Exception from HRESULT: 0x80131019)
--- End of inner exception stack trace ---
at System.Reflection.RuntimeAssembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection, SecurityContextSource securityContextSource)
at System.Reflection.Assembly.Load(Byte[] rawAssembly)
at Arma2Net.Managed.AddInManager.DomainLoadAddIn(String assemblyFile)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at Arma2Net.Managed.AddInManager.DomainDoCallback()
at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
at Arma2Net.Managed.AddInManager.DoCallbackImpl(AppDomain domain, Delegate func, Object arg)
at Arma2Net.Managed.AddInManager.DoCallbackWithResult[T,TResult](AppDomain domain, Func`2 func, T arg)
at Arma2Net.Managed.AddInManager.LoadAddIn(String assemblyFile)
09/10/2013 00:09:21 Domain Name Version Publisher Description
09/10/2013 00:09:21 DefaultDomain Arma2NETMySQL 0.1.0.0 firefly2442 Runs MySQL procedure commands.
09/10/2013 00:09:21 DefaultDomain Arma2NETMySQLCommand0.1.0.0 firefly2442 Runs raw MySQL/SQLite commands
09/10/2013 00:09:21 DefaultDomain Arma2NETMySQLCommandAsync0.1.0.0 firefly2442 Runs asynchronous raw MySQL/SQLite commands
09/10/2013 00:09:21 DefaultDomain ClrVersion 2.0.0.0 Scott_NZ Retrieves the version of the Common Language Runtime.
09/10/2013 00:09:21 DefaultDomain CompareVersion 2.0.0.0 Scott_NZ Compares two version strings and returns an integer indicating how they compare.
09/10/2013 00:09:21 DefaultDomain Version 2.0.0.0 Scott_NZ Returns the version of Arma2NET.
09/10/2013 00:09:21 DefaultDomain GetClipboardText 1.0.0.0 Scott_NZ Gets the clipboard text value.
09/10/2013 00:09:21 DefaultDomain SetClipboardText 1.0.0.0 Scott_NZ Sets the clipboard to a text value.
09/10/2013 00:09:21 DefaultDomain CommandLine 2.0.0.0 Scott_NZ Returns the command line used to start the application.
09/10/2013 00:09:21 DefaultDomain DateTime 2.0.0.0 Scott_NZ Returns the current date and time.
09/10/2013 00:09:21 Arma2NET initialized in 00:00:00.0857371
09/10/2013 00:09:21 function: DateTime ['now', 'HH:mm:ss dd/MM/yyyy']
09/10/2013 00:09:21 maxResultSize: 10239
09/10/2013 00:09:21 Result size: 21
09/10/2013 00:09:21 Result: "00:09:21 10.09.2013"
The command is clearly issued from ARMA 3 but for some reason although the hint never appears. Am I missing something here? There is an exception being thrown to do with the sql plugin so that can't be the issue. I don't know what the default domain exception is though. Could that be something to do with it?
Thanks for any help!