sparcdr 0 Posted August 2, 2012 08/02/2012 08:03:39 Info Successfully loaded into process Arma2NetExplorer 08/02/2012 08:03:39 Info Unloading addins 08/02/2012 08:03:40 Info Loading addins 08/02/2012 08:03:40 Info Name Version Publisher Description 08/02/2012 08:03:40 Info CompareVersion 2.0.0.0 Scott_NZ Compares two version strings and returns an integer indicating how they compare. 08/02/2012 08:03:40 Info ClrVersion 2.0.0.0 Scott_NZ Retrieves the version of the Common Language Runtime. 08/02/2012 08:03:40 Info Version 2.0.0.0 Scott_NZ Returns the version of Arma2NET. 08/02/2012 08:03:40 Info CommandLine 2.0.0.0 Scott_NZ Returns the command line used to start the application. 08/02/2012 08:03:40 Info DateTime 2.0.0.0 Scott_NZ Returns the current date and time. 08/02/2012 08:03:40 Info MyPlugin 08/02/2012 08:07:13 Log: Unmanaged side loaded 08/02/2012 08:07:13 Info Successfully loaded into process arma2oa 08/02/2012 08:07:13 Info Arma2NET 2.1.0.0 initializing on CLR 4.0.30319.17626 08/02/2012 08:07:13 Info Loading addins 08/02/2012 08:07:13 Info Name Version Publisher Description Nothing more is given. I have VS installed if you can provide a debug build so I could get you a stack trace or something. The project is a Windows/C# class library with only the proxy as a reference and the most recent MyPlugin code from this thread's last current page. Share this post Link to post Share on other sites
Scott_NZ 10 Posted August 3, 2012 Can you see anything in Event Viewer? Share this post Link to post Share on other sites
sparcdr 0 Posted August 4, 2012 Nothing except saying arma2oa crashed. What patch you use normally? Share this post Link to post Share on other sites
Scott_NZ 10 Posted August 5, 2012 Arma 2 patch? 1.62. Though this is probably an A2N problem not a game problem. Is there a .NET Runtime error entry in Event Viewer? It should have the exception details etc. Share this post Link to post Share on other sites
Scott_NZ 10 Posted August 6, 2012 Arma2NET 2.1.1 changelog: - Fixed an issue with Utils.FileVersion and Utils.Version throwing a FileNotFoundException. - Improved the behaviour of the plugin system, and added a new Reload command. - Improved the responsiveness of Arma2NET Explorer. ZIP: https://bitbucket.org/Scott_NZ/arma2net/downloads/Arma2NET-2.1.1.zip MSI: https://bitbucket.org/Scott_NZ/arma2net/downloads/Arma2NET-2.1.1.msi Share this post Link to post Share on other sites
Guest Posted August 6, 2012 New version frontpaged on the Armaholic homepage. Arma2NET v2.1.1.NET Framework 4 Client Profile Share this post Link to post Share on other sites
sparcdr 0 Posted August 10, 2012 Application: arma2oa.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.TypeInitializationException Stack: at Arma2Net.Managed.Bridge.InvokeFunction(System.String, Int32) at <Module>.Arma2Net.Unmanaged.InvokeFunctionImpl(SByte*, Int32, SByte*) at <Module>.Arma2Net.Unmanaged.InvokeFunction(SByte*, Int32, SByte*) Share this post Link to post Share on other sites
Scott_NZ 10 Posted August 10, 2012 Yep, that's what I was looking for. The entry is not too useful, so I'll have to make logging a bit more verbose or provide a debug build as you suggested. If you haven't already, see if you can reproduce the crash on 2.1.1 so I know that I haven't already fixed it. Share this post Link to post Share on other sites
sparcdr 0 Posted August 10, 2012 Same crash as before. Share this post Link to post Share on other sites
waldo936 1 Posted August 14, 2012 Someone, please help. I have tried my best tto figure this out and the only thing I have come up with is this: pixies don't want me running an ARMA2 server. Thus, I am at a standstill. However, this is what I do know. 1) Exception Info: System.TypeInitializationException Stack: at Arma2Net.Managed.Bridge.InvokeFunction(System.String, Int32) at <Module>.Arma2Net.Unmanaged.InvokeFunctionImpl(SByte*, Int32, SByte*) at <Module>.Arma2Net.Unmanaged.InvokeFunction(SByte*, Int32, SByte*) That's in my event viewer 2) Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\Expansion\beta\arma2oaserver.exe Faulting module path: C:\Windows\syswow64\KERNELBASE.dll Followed by that one 3) Allocator: C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\Expansion\beta\dll\tbb4malloc_bi.dll blah blah blah Fault address: 7554B9BC 01:0000A9BC C:\Windows\syswow64\KERNELBASE.dll file: dayz (__cur_mp) world: chernarus That is in the arma2oaserver.RPT file. I am not that great of a coder. I sit in front of routers all day. So what I'm really looking for is this: A) Is this an ARMA2NET issue? B) If so, how do I go about fixing this? OR Can I be pointed in the right direction? Thanks, Waldo Share this post Link to post Share on other sites
Scott_NZ 10 Posted August 14, 2012 It is likely an Arma2NET issue. Do you have any Arma2NET logs in your AppData folder? Share this post Link to post Share on other sites
waldo936 1 Posted August 14, 2012 08/06/2012 23:21:37 Log: Unmanaged side loaded 08/06/2012 23:21:38 Log: Fatal unhandled exception of type System.IO.FileNotFoundException Log: System.IO.FileNotFoundException: Could not load file or assembly 'Arma2Net.Managed, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e' or one of its dependencies. The system cannot find the file specified. File name: 'Arma2Net.Managed, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e' at Arma2Net.Unmanaged.InvokeFunctionImpl(SByte* output, Int32 outputSize, SByte* function) at Arma2Net.Unmanaged.InvokeFunction(SByte* output, Int32 outputSize, SByte* function) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. 08/14/2012 02:52:22 Log: Unmanaged side loaded 08/14/2012 02:52:23 Info Successfully loaded into process arma2oaserver 08/14/2012 02:52:23 Info Arma2NET 2.1.1.0 initializing on CLR 4.0.30319.17379 08/14/2012 02:52:23 Info Loading addins 08/14/2012 02:56:26 Log: Unmanaged side loaded 08/14/2012 02:56:26 Info Successfully loaded into process arma2oaserver 08/14/2012 02:56:26 Info Arma2NET 2.1.1.0 initializing on CLR 4.0.30319.17379 08/14/2012 02:56:26 Info Loading addins 08/14/2012 03:11:18 Log: Unmanaged side loaded 08/14/2012 03:11:19 Info Successfully loaded into process arma2oaserver 08/14/2012 03:11:19 Info Arma2NET 2.1.1.0 initializing on CLR 4.0.30319.17379 08/14/2012 03:11:19 Info Loading addins 08/14/2012 03:14:56 Log: Unmanaged side loaded 08/14/2012 03:14:56 Info Successfully loaded into process arma2oaserver 08/14/2012 03:14:56 Info Arma2NET 2.1.1.0 initializing on CLR 4.0.30319.17379 08/14/2012 03:14:56 Info Loading addins This is all I have. I appreciate your help with this. And sorry I don't know the script to post code in here. Share this post Link to post Share on other sites
Scott_NZ 10 Posted August 14, 2012 sparcdr + waldo936, try replacing Arma2Net.Managed.dll with this file and then looking at the log file: https://bitbucket.org/Scott_NZ/arma2net/downloads/Arma2Net.Managed.dll Share this post Link to post Share on other sites
waldo936 1 Posted August 14, 2012 08/14/2012 04:13:06 Log: Unmanaged side loaded 08/14/2012 04:13:07 Log: Arma2NET failed to initialize due to an exception of type System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.AppDomain.nCreateDomain(String friendlyName, AppDomainSetup setup, Evidence providedSecurityInfo, Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor) at System.AppDomain.InternalCreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info) at System.AppDomain.CreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info) at Arma2Net.Managed.AddInManager.LoadAddIn(String assemblyFile) at Arma2Net.Managed.AddInManager.LoadAddIns() at Arma2Net.Managed.Bridge.Initialize() at Arma2Net.Managed.Bridge..cctor() Log: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.AppDomain.nCreateDomain(String friendlyName, AppDomainSetup setup, Evidence providedSecurityInfo, Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor) at System.AppDomain.InternalCreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info) at System.AppDomain.CreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info) at Arma2Net.Managed.AddInManager.LoadAddIn(String assemblyFile) at Arma2Net.Managed.AddInManager.LoadAddIns() at Arma2Net.Managed.Bridge.Initialize() at Arma2Net.Managed.Bridge..cctor() 08/14/2012 04:13:07 Info Successfully loaded into process arma2oaserver 08/14/2012 04:13:07 Info Arma2NET 2.1.1.0 initializing on CLR 4.0.30319.17379 08/14/2012 04:13:07 Info Loading addins Same thing in the event log Share this post Link to post Share on other sites
Scott_NZ 10 Posted August 14, 2012 Hmm, do you have .NET 4.5 installed? Share this post Link to post Share on other sites
waldo936 1 Posted August 14, 2012 Roger. Still the beta of 4.5 that's out, right? Share this post Link to post Share on other sites
Scott_NZ 10 Posted August 14, 2012 4.5 is up to RC. Try uninstalling it. Share this post Link to post Share on other sites
waldo936 1 Posted August 14, 2012 Ok, I have 4.5 RC installed... Application: arma2oaserver.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.TypeInitializationException Stack: at Arma2Net.Managed.Bridge.InvokeFunction(System.String, Int32) at <Module>.Arma2Net.Unmanaged.InvokeFunctionImpl(SByte*, Int32, SByte*) at <Module>.Arma2Net.Unmanaged.InvokeFunction(SByte*, Int32, SByte*) and 08/14/2012 05:00:33 Log: Unmanaged side loaded 08/14/2012 05:00:33 Log: Arma2NET failed to initialize due to an exception of type System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.AppDomain.nCreateDomain(String friendlyName, AppDomainSetup setup, Evidence providedSecurityInfo, Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor) at System.AppDomain.InternalCreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info) at System.AppDomain.CreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info) at Arma2Net.Managed.AddInManager.LoadAddIn(String assemblyFile) at Arma2Net.Managed.AddInManager.LoadAddIns() at Arma2Net.Managed.Bridge.Initialize() at Arma2Net.Managed.Bridge..cctor() Log: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.AppDomain.nCreateDomain(String friendlyName, AppDomainSetup setup, Evidence providedSecurityInfo, Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor) at System.AppDomain.InternalCreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info) at System.AppDomain.CreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info) at Arma2Net.Managed.AddInManager.LoadAddIn(String assemblyFile) at Arma2Net.Managed.AddInManager.LoadAddIns() at Arma2Net.Managed.Bridge.Initialize() at Arma2Net.Managed.Bridge..cctor() 08/14/2012 05:00:33 Info Successfully loaded into process arma2oaserver 08/14/2012 05:00:33 Info Arma2NET 2.1.1.0 initializing on CLR 4.0.30319.17626 08/14/2012 05:00:33 Info Loading addins Share this post Link to post Share on other sites
Scott_NZ 10 Posted August 14, 2012 Heh, the idea was to uninstall 4.5, not install it. 4.5 installs in place in 4.0 (unlike earlier versions) and seems to be the cause of OutOfMemoryExceptions in Arma2NET :) Share this post Link to post Share on other sites
waldo936 1 Posted August 14, 2012 Indeed. Correcting the issue now lol ---------- Post added at 05:34 ---------- Previous post was at 05:14 ---------- Ok, got past the constant crashing. Thank you, I was about to put the computer on the moon. Now I'm stuck at loading. 08/14/2012 05:25:45 Log: Unmanaged side loaded 08/14/2012 05:25:46 Info Successfully loaded into process arma2oaserver 08/14/2012 05:25:46 Info Arma2NET 2.1.1.0 initializing on CLR 4.0.30319.1 08/14/2012 05:25:46 Info Loading addins 08/14/2012 05:25:46 Info Domain Name Version Publisher Description 08/14/2012 05:25:46 Info BaseFunctionsPlugin CompareVersion 2.0.0.0 Scott_NZ Compares two version strings and returns an integer indicating how they compare. 08/14/2012 05:25:46 Info BaseFunctionsPlugin ClrVersion 2.0.0.0 Scott_NZ Retrieves the version of the Common Language Runtime. 08/14/2012 05:25:46 Info BaseFunctionsPlugin Version 2.0.0.0 Scott_NZ Returns the version of Arma2NET. 08/14/2012 05:25:46 Info CommandLinePlugin CommandLine 2.0.0.0 Scott_NZ Returns the command line used to start the application. 08/14/2012 05:25:46 Info DateTimePlugin DateTime 2.0.0.0 Scott_NZ Returns the current date and time. 08/14/2012 05:25:46 Info Arma2NET initialized in 00:00:00.3530638 08/14/2012 05:25:46 Error Caught exception of type Arma2Net.Managed.FunctionNotFoundException Arma2Net.Managed.FunctionNotFoundException: The specified addin was not found: Arma2NETMySQL at Arma2Net.Managed.AddInManager.InvokeAddIn(String addInName, String arguments, Int32 maxResultSize) at Arma2Net.Managed.Bridge.InvokeBuiltInOrAddIn(String function, Int32 maxResultSize) at Arma2Net.Managed.Bridge.InvokeFunction(String function, Int32 maxResultSize) ---------- Post added at 05:34 ---------- Previous post was at 05:34 ---------- I see where it says The specified addin was not found: Arma2NETMySQL (Sorry, hit send to soon by mistake) But where does it go? ---------- Post added at 05:44 ---------- Previous post was at 05:34 ---------- Found it.... I thank you for your help. it was the .Net issue. Now I'm at errors I can muscle my way through I think lol Share this post Link to post Share on other sites
Scott_NZ 10 Posted August 14, 2012 Refer to the thread: http://forums.bistudio.com/showthread.php?128795-Arma2MySQL Simply download it and copy the subfolder into @Arma2NET/AddIns. Share this post Link to post Share on other sites
waldo936 1 Posted August 14, 2012 I spoke to soon.... 5:39:19 Error in expression <throw "Arma2Net.Managed.FunctionNotFound> 5:39:19 Error position: <throw "Arma2Net.Managed.FunctionNotFound> 5:39:19 Error 5:39:19 Error in expression <throw "Arma2Net.Managed.FunctionNotFound> 5:39:19 Error position: <throw "Arma2Net.Managed.FunctionNotFound> 5:39:19 Error 5:40:21 0:02:16.784 (0:00:02.080) versioning - cba_main - Not running! (Machine: ) This is from the arma2oaserver.rpt Share this post Link to post Share on other sites
Scott_NZ 10 Posted August 14, 2012 Open Arma2NetExplorer.exe and type AddIns into the box at the bottom, followed by Enter. What's the output? Share this post Link to post Share on other sites
waldo936 1 Posted August 14, 2012 ["CompareVersion", "ClrVersion", "Version", "CommandLine", "DateTime"] I'm guessing it's not seeing the mysql pluging? Share this post Link to post Share on other sites
Scott_NZ 10 Posted August 14, 2012 Yep, that would be correct. Ensure that you have installed it correctly. Essentially you need to have a subfolder inside AddIns with the name of the plugin, and inside that have the actual DLL and its dependencies. You can look at how DateTimePlugin etc do it. Share this post Link to post Share on other sites