Jump to content
Sign in to follow this  
[kh]jman

ArmA2 Persistent Database Scripts - WIP

Recommended Posts

Ok, now we stuck at THE Same Point. I am trying TO get over this Problem this evening. You have imported THE dB schema and edited THE databases.txt?

What does THE arma2net.log says? Please Post it in a Spoiler !

Share this post


Link to post
Share on other sites

For some reason the log file is still not there i have reinstalled arma 2 .net and updated the build of arma 2 to 93965 as well as downloading all the cba files and putting them into my Arma 2 directory. When i launch the server Arma2Net is put into the mods that load up as well as CBA. and i have edited my database file and put my password, username, ip, and database name and put that in my arma 2 folder. I have imported the sql file into phpmyadmin and it made the database arma.

Share this post


Link to post
Share on other sites

Heres the server .rpt

=====================================================================

== D:\games\Arma 2\Bohemia Interactive\arma2oaserver.exe

== "D:\games\Arma 2\Bohemia Interactive\arma2oaserver.exe"

=====================================================================

Exe timestamp: 2012/06/18 00:38:42

Current time: 2012/06/19 20:10:44

Version 1.60.93825

Item STR_ACTIONS_BUILD listed twice

Item STR_EQUIP_NAME_41 listed twice

Item STR_EQUIP_DESC_41 listed twice

Updating base class ->Default, by ca\weapons\config.bin/CfgMagazines/CA_Magazine/

Updating base class ->PistolCore, by ca\weapons\config.bin/cfgWeapons/Pistol/

Updating base class ->Default, by ca\weapons\config.bin/cfgWeapons/ItemCore/

Updating base class ->Citizen, by ca\characters2\config.bin/CfgVehicles/Citizen1/

Updating base class ->SkodaBase, by ca\wheeled\config.bin/CfgVehicles/car_sedan/

Updating base class ->House, by ca\misc3\config.bin/CfgVehicles/Land_Fire/

Updating base class ->House, by ca\misc3\config.bin/CfgVehicles/Land_A_tent/

Updating base class ->Camp_base, by ca\misc3\config.bin/CfgVehicles/ACamp/

Updating base class RscText->, by z\addons\dayz_code\config.bin/RscTitles/Default/

Updating base class HouseBase->, by z\addons\dayz_code\config.bin/CfgVehicles/House/

Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl/

Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl_2/

Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl_3/

Updating base class StreetLamp_BaseWeakYellow->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_ind/

Updating base class StreetLamp_BaseWeakYellow->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_ind_zebr/

Updating base class ->HouseBase, by ca\misc_e\config.bin/CfgVehicles/House/

Updating base class ->m107, by ca\weapons_e\m107\config.bin/CfgWeapons/m107_TWS_EP1/

Updating base class ->Helicopter, by ca\air_e\uh1h\config.bin/CfgVehicles/UH1H_base/

Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Crew_PMC/

Updating base class ->BAF_Soldier_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_W/

Updating base class ->BAF_Soldier_L_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_L_W/

Updating base class ->BAF_Soldier_Officer_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_Officer_W/

Updating base class ->BAF_Soldier_SniperH_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_SniperH_W/

Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp/

Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseWeakYellow/

Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseMediumOrange/

Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseMediumPale/

Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseStrongPale/

Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_EP1/

Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Cable_EP1/

Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_decor_EP1/

Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Small_EP1/

Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_EP1/

Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street2_EP1/

Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lampa_Ind_EP1/

Share this post


Link to post
Share on other sites

Looks Old for me. Check Date and Time in Server. Also arma2net Seems Not Running! Pleas Look at my Posted Server rpt, its different. THE Upper Part IS importend!

Look here

=====================================================================

== D:\ArmA 2\Expansion\beta\arma2oaserver.exe

== "D:\ArmA 2\Expansion\beta\arma2oaserver.exe" ***-port=2302 "-config=D:\ArmA 2\TA2DST\Permtest\TA2DST_config.cfg" "-cfg=D:\ArmA 2\TA2DST\Permtest\TA2DST_basic.cfg" "-profiles=D:\ArmA 2\TA2DST\Permtest" -name=TA2DST "-mod=Expansion\beta;Expansion\beta\Expansion;@CBA;@CBA_A2;@CBA_OA;@ACE;@ACEX;@ACEX_RU;@ACEX_USNAVY;@Arma2NET;@W_Karten;@W_mods;@W_JayArma2Lib;@W_ACRE" -arma2netdev

Share this post


Link to post
Share on other sites

So how can i make my config look like yours i have added the mods to the server by selecting the ones in my arma 2 folder even the arma2net one but the server log does not change. do i have to put somthing in parameters or the mods tabs

Share this post


Link to post
Share on other sites

Make sure you are running Arma 2 OA Beta on both server and client.

Have you downloaded and installed MySQL, MySQL Connector 6.5.4 and copied the MySQL.Data.dll into the correct folders?

have you setup the databases.txt file?

You should be able to find an arma2net.log file in c:\users\%username%\appdata\local\arma2net

Share this post


Link to post
Share on other sites

1. i Have set up the database file with my database details and put that in my arma 2 folder.

2. I have installed mysql and the connecter as well as copied the MySQL.Data.dll to Arma2NET addins folder.

3. I have updated the arma 2 oa to beta build 93965. As well as my server

5. And my Arma2net file is here

06/21/2012 13:49:27 Arma2Net.Managed.Bridge INFO Arma2NET 1.10.0.0 initializing on CLR 4.0.30319.269

06/21/2012 13:49:27 Arma2Net.Managed.Bridge INFO Sandboxing is enabled

06/21/2012 13:49:27 Arma2Net.Managed.AddIns.AddInManager INFO Rebuilding addin store

06/21/2012 13:49:29 Arma2Net.Managed.AddIns.AddInManager INFO Finding addins

06/21/2012 13:49:29 Arma2Net.Managed.AddIns.AddInManager INFO Activating base addins

06/21/2012 13:49:30 Arma2Net.Managed.AddIns.AddInManager INFO Activated Activate from BaseFunctionsPlugin.Activate, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 13:49:30 Arma2Net.Managed.AddIns.AddInManager INFO Activated IsFunction from BaseFunctionsPlugin.IsFunction, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 13:49:30 Arma2Net.Managed.AddIns.AddInManager INFO Activated Deactivate from BaseFunctionsPlugin.Deactivate, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 13:49:30 Arma2Net.Managed.AddIns.AddInManager INFO Activated _Empty from BaseFunctionsPlugin._Empty, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 13:49:30 Arma2Net.Managed.AddIns.AddInManager INFO Activated VersionOfAddIn from BaseFunctionsPlugin.VersionOfAddIn, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 13:49:30 Arma2Net.Managed.AddIns.AddInManager INFO Activated CompareVersion from BaseFunctionsPlugin.CompareVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 13:49:30 Arma2Net.Managed.AddIns.AddInManager INFO Activated ClrVersion from BaseFunctionsPlugin.ClrVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 13:49:30 Arma2Net.Managed.AddIns.AddInManager INFO Activated Version from BaseFunctionsPlugin.Arma2NetVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 13:49:30 Arma2Net.Managed.AddIns.AddInManager INFO Activated Functions from BaseFunctionsPlugin.Functions, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 13:49:30 Arma2Net.Managed.Bridge INFO Initialized

06/21/2012 13:49:31 Arma2Net.Managed.Bridge ERROR Caught exception

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)

at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)

at System.Security.CodeAccessPermission.Demand()

at System.IO.Directory.CreateDirectory(String path)

at Arma2NETMySQLPlugin.Logger..ctor()

at Arma2NETMySQLPlugin.Arma2NETMySQLPlugin..ctor()

--- End of inner exception stack trace ---

at System.RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringType)

at System.RuntimeMethodHandle.InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct signature, RuntimeType declaringType)

at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

at System.Reflection.ConstructorInfo.Invoke(Object[] parameters)

at System.AddIn.Hosting.ActivationWorker.Activate()

at System.AddIn.Hosting.ActivationWorker.Activate()

at System.AddIn.Hosting.AddInActivator.ActivateInAppDomain[T](AddInToken pipeline, AppDomain domain, AddInControllerImpl controller, Boolean weOwn)

at System.AddIn.Hosting.AddInActivator.Activate[T](AddInToken token, AppDomain target)

at System.AddIn.Hosting.AddInToken.Activate[T](AppDomain target)

at Arma2Net.Managed.AddIns.AddInManager.ActivateAddIn(AddInToken token, Boolean disableSandboxing)

at Arma2Net.Managed.AddIns.AddInManager.ActivateAddIn(String addInName, Boolean disableSandboxing)

at Arma2Net.Managed.AddIns.AddInManager.InvokeAddIn(String addInName, String addInArgs, Int32 maxResultSize)

at Arma2Net.Managed.Bridge.InvokeFunction(String function, Int32 maxResultSize)

---------- Post added at 13:24 ---------- Previous post was at 12:52 ----------

Now when I launch the example mission file I get "Server is launching persistent mission data please standby" And it just consistantly stays on that and im not sure what to do.

Edited by gerarddude5100

Share this post


Link to post
Share on other sites

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: Request for the permission of type 

-arma2netdev not enabled perhaps?

Alternative is to set DisableSandboxing to True in Settings.yaml

We will get the Arma2NETMySQLPlugin.dll addon whitelisted once Firefly has completed a stable release version.

Edited by [KH]Jman

Share this post


Link to post
Share on other sites

So just wondering where would i find this Settings.yaml file

---------- Post added at 14:44 ---------- Previous post was at 14:22 ----------

Also im not sure but is layout for my database text document right

# Put each database connection you want on a separate line

# For an example, see the following

#databasename,ipaddress,port,username,password

#

#arma,127.0.0.1,3306,root,****

Share this post


Link to post
Share on other sites

hi and thanks a lot for you'r work !

where can i find a tutorial A-Z for make a little mission who use persitent database ??

thanks for you'r reply

Share this post


Link to post
Share on other sites

Hi Guys,

new fault i mess around with.. ;(

Any ideas?

@geraddude:

#arma,127.0.0.1,3306,root,**** <--- wrong

arma,127.0.0.1,3306,root,**** <--- correct!

06/21/2012 17:42:15 Arma2Net.Managed.Bridge INFO Arma2NET 1.10.0.0 initializing on CLR 4.0.30319.269

06/21/2012 17:42:15 Arma2Net.Managed.Bridge INFO Sandboxing is enabled

06/21/2012 17:42:15 Arma2Net.Managed.AddIns.AddInManager INFO Rebuilding addin store

06/21/2012 17:42:15 Arma2Net.Managed.AddIns.AddInManager WARN Each Add-In should be placed in its own subfolder, not in the root AddIn folder. The following executable file was unexpected: D:\ArmA 2\@Arma2NET\AddIns\MySql.Data.dll.

06/21/2012 17:42:15 Arma2Net.Managed.AddIns.AddInManager INFO Finding addins

06/21/2012 17:42:15 Arma2Net.Managed.AddIns.AddInManager INFO Activating base addins

06/21/2012 17:42:15 Arma2Net.Managed.AddIns.AddInManager INFO Activated Activate from BaseFunctionsPlugin.Activate, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 17:42:15 Arma2Net.Managed.AddIns.AddInManager INFO Activated IsFunction from BaseFunctionsPlugin.IsFunction, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 17:42:15 Arma2Net.Managed.AddIns.AddInManager INFO Activated Deactivate from BaseFunctionsPlugin.Deactivate, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 17:42:15 Arma2Net.Managed.AddIns.AddInManager INFO Activated _Empty from BaseFunctionsPlugin._Empty, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 17:42:15 Arma2Net.Managed.AddIns.AddInManager INFO Activated VersionOfAddIn from BaseFunctionsPlugin.VersionOfAddIn, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 17:42:16 Arma2Net.Managed.AddIns.AddInManager INFO Activated CompareVersion from BaseFunctionsPlugin.CompareVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 17:42:16 Arma2Net.Managed.AddIns.AddInManager INFO Activated ClrVersion from BaseFunctionsPlugin.ClrVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 17:42:16 Arma2Net.Managed.AddIns.AddInManager INFO Activated Version from BaseFunctionsPlugin.Arma2NetVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 17:42:16 Arma2Net.Managed.AddIns.AddInManager INFO Activated Functions from BaseFunctionsPlugin.Functions, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 17:42:16 Arma2Net.Managed.Bridge INFO Initialized

06/21/2012 17:42:16 Arma2Net.Managed.Bridge ERROR Caught exception

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=6.4.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. Das System kann die angegebene Datei nicht finden.

at Arma2NETMySQLPlugin.MySQL.OpenConnection(String connectionString)

at Arma2NETMySQLPlugin.Databases..ctor()

at Arma2NETMySQLPlugin.Arma2NETMySQLPlugin..ctor()

--- End of inner exception stack trace ---

at System.RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringType)

at System.RuntimeMethodHandle.InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct signature, RuntimeType declaringType)

at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

at System.Reflection.ConstructorInfo.Invoke(Object[] parameters)

at System.AddIn.Hosting.ActivationWorker.Activate()

at System.AddIn.Hosting.AddInActivator.ActivateInAppDomain[T](AddInToken pipeline, AppDomain domain, AddInControllerImpl controller, Boolean weOwn)

at System.AddIn.Hosting.AddInActivator.Activate[T](AddInToken token, AppDomain target)

at System.AddIn.Hosting.AddInToken.Activate[T](AppDomain target)

at Arma2Net.Managed.AddIns.AddInManager.ActivateAddIn(AddInToken token, Boolean disableSandboxing)

at Arma2Net.Managed.AddIns.AddInManager.ActivateAddIn(String addInName, Boolean disableSandboxing)

at Arma2Net.Managed.AddIns.AddInManager.InvokeAddIn(String addInName, String addInArgs, Int32 maxResultSize)

at Arma2Net.Managed.Bridge.InvokeFunction(String function, Int32 maxResultSize)

Share this post


Link to post
Share on other sites

@Noc1337 Thank u for pointing that out. I am very grateful :)

---------- Post added at 16:12 ---------- Previous post was at 16:03 ----------

Even when doing the database file all i get is this when ever trying to get into my server "Server is launching persistent mission data please standby" Any reasons why. Here is my Arma2NET Log If it helps

06/21/2012 19:55:08 Arma2Net.Managed.Bridge INFO Arma2NET 1.10.0.0 initializing on CLR 4.0.30319.269

06/21/2012 19:55:08 Arma2Net.Managed.Bridge INFO Sandboxing is disabled

06/21/2012 19:55:08 Arma2Net.Managed.AddIns.AddInManager INFO Rebuilding addin store

06/21/2012 19:55:09 Arma2Net.Managed.AddIns.AddInManager INFO Finding addins

06/21/2012 19:55:09 Arma2Net.Managed.AddIns.AddInManager INFO Activating base addins

06/21/2012 19:55:10 Arma2Net.Managed.AddIns.AddInManager INFO Activated Activate from BaseFunctionsPlugin.Activate, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 19:55:10 Arma2Net.Managed.AddIns.AddInManager INFO Activated IsFunction from BaseFunctionsPlugin.IsFunction, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 19:55:10 Arma2Net.Managed.AddIns.AddInManager INFO Activated Deactivate from BaseFunctionsPlugin.Deactivate, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 19:55:10 Arma2Net.Managed.AddIns.AddInManager INFO Activated _Empty from BaseFunctionsPlugin._Empty, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 19:55:10 Arma2Net.Managed.AddIns.AddInManager INFO Activated VersionOfAddIn from BaseFunctionsPlugin.VersionOfAddIn, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 19:55:10 Arma2Net.Managed.AddIns.AddInManager INFO Activated CompareVersion from BaseFunctionsPlugin.CompareVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 19:55:10 Arma2Net.Managed.AddIns.AddInManager INFO Activated ClrVersion from BaseFunctionsPlugin.ClrVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 19:55:10 Arma2Net.Managed.AddIns.AddInManager INFO Activated Version from BaseFunctionsPlugin.Arma2NetVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 19:55:10 Arma2Net.Managed.AddIns.AddInManager INFO Activated Functions from BaseFunctionsPlugin.Functions, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 19:55:10 Arma2Net.Managed.Bridge INFO Initialized

06/21/2012 19:55:10 Arma2Net.Managed.Bridge ERROR Caught exception

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=6.4.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.

at Arma2NETMySQLPlugin.MySQL.OpenConnection(String connectionString)

at Arma2NETMySQLPlugin.Databases..ctor()

at Arma2NETMySQLPlugin.Arma2NETMySQLPlugin..ctor()

--- End of inner exception stack trace ---

at System.RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringType)

at System.RuntimeMethodHandle.InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct signature, RuntimeType declaringType)

at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

at System.Reflection.ConstructorInfo.Invoke(Object[] parameters)

at System.AddIn.Hosting.ActivationWorker.Activate()

at System.AddIn.Hosting.AddInActivator.ActivateInAppDomain[T](AddInToken pipeline, AppDomain domain, AddInControllerImpl controller, Boolean weOwn)

at System.AddIn.Hosting.AddInActivator.Activate[T](AddInToken token, AppDomain target)

at System.AddIn.Hosting.AddInToken.Activate[T](AppDomain target)

at Arma2Net.Managed.AddIns.AddInManager.ActivateAddIn(AddInToken token, Boolean disableSandboxing)

at Arma2Net.Managed.AddIns.AddInManager.ActivateAddIn(String addInName, Boolean disableSandboxing)

at Arma2Net.Managed.AddIns.AddInManager.InvokeAddIn(String addInName, String addInArgs, Int32 maxResultSize)

at Arma2Net.Managed.Bridge.InvokeFunction(String function, Int32 maxResultSize)

Edited by gerarddude5100

Share this post


Link to post
Share on other sites

what does this part mean where it says

System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=6.4.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.

I think it has to do with the mysql Net connector but im not to sure. i have tried installing lower versions of the connector but still no luck

Share this post


Link to post
Share on other sites

place MySql.Data.dll in Arma2 folder, arma2net folder and arma2net/addins/mysqlplugin folder

Share this post


Link to post
Share on other sites

does anyone have a link to mysql.data.dll in version 6.4.3.0 ?

Share this post


Link to post
Share on other sites

here u go

http://forums.bistudio.com/showthread.php?134036-Arma2Net-MySqlPlugin

But now i get this error

06/21/2012 21:01:20 Arma2Net.Managed.Bridge INFO Arma2NET 1.10.0.0 initializing on CLR 4.0.30319.269

06/21/2012 21:01:20 Arma2Net.Managed.Bridge INFO Sandboxing is disabled

06/21/2012 21:01:20 Arma2Net.Managed.AddIns.AddInManager INFO Rebuilding addin store

06/21/2012 21:01:23 Arma2Net.Managed.AddIns.AddInManager INFO Finding addins

06/21/2012 21:01:23 Arma2Net.Managed.AddIns.AddInManager INFO Activating base addins

06/21/2012 21:01:24 Arma2Net.Managed.AddIns.AddInManager INFO Activated Activate from BaseFunctionsPlugin.Activate, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 21:01:24 Arma2Net.Managed.AddIns.AddInManager INFO Activated IsFunction from BaseFunctionsPlugin.IsFunction, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 21:01:24 Arma2Net.Managed.AddIns.AddInManager INFO Activated Deactivate from BaseFunctionsPlugin.Deactivate, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 21:01:24 Arma2Net.Managed.AddIns.AddInManager INFO Activated _Empty from BaseFunctionsPlugin._Empty, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 21:01:24 Arma2Net.Managed.AddIns.AddInManager INFO Activated VersionOfAddIn from BaseFunctionsPlugin.VersionOfAddIn, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 21:01:24 Arma2Net.Managed.AddIns.AddInManager INFO Activated CompareVersion from BaseFunctionsPlugin.CompareVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 21:01:24 Arma2Net.Managed.AddIns.AddInManager INFO Activated ClrVersion from BaseFunctionsPlugin.ClrVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 21:01:24 Arma2Net.Managed.AddIns.AddInManager INFO Activated Version from BaseFunctionsPlugin.Arma2NetVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 21:01:24 Arma2Net.Managed.AddIns.AddInManager INFO Activated Functions from BaseFunctionsPlugin.Functions, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False)

06/21/2012 21:01:24 Arma2Net.Managed.Bridge INFO Initialized

06/21/2012 21:01:24 Arma2Net.Managed.Bridge ERROR Caught exception

Arma2Net.Managed.FunctionNotFoundException: Unable to find the function Arma2NETMySQL.

at Arma2Net.Managed.AddIns.AddInManager.ActivateAddIn(String addInName, Boolean disableSandboxing)

at Arma2Net.Managed.AddIns.AddInManager.InvokeAddIn(String addInName, String addInArgs, Int32 maxResultSize)

at Arma2Net.Managed.Bridge.InvokeFunction(String function, Int32 maxResultSize)

Share this post


Link to post
Share on other sites

okay... got it to work... but don't know how.. copy dll to posted folders, copy mission to mpmissions.. launched with ta2dst.. and it goes on... maybe check rights on the database?

Share this post


Link to post
Share on other sites

I have checked the database file and thats right

i am using the example mission to test if the persitent works.

But i get that i have the wrong verstion of the Arma2NetMysql or that it can't find it at all.

Do you need to use those user files that download with the Arma2NetMysql

Edited by gerarddude5100

Share this post


Link to post
Share on other sites

1) As was pointed out, make sure you have the "-arma2netdev" added as part of your startup command for Arma2.

2) JMan, since you are building and releasing a compiled version of this. Perhaps it's also building against a specific version of the MySQL connector. Do you think these version differences are causing problems? Just curious.

3) Sorry about the duplicate entries problem. I'm at work now but I'll try to get to it this evening if I have time. If not, certainly tomorrow evening.

Share this post


Link to post
Share on other sites

the msql connecters are kind of causing a problem because i have used previos versions of them but i still got the same error

And i have done mainly everything to get past the error but im not sure which Arma2NETmysql to download

Cause i am really unsure about how to get past this post

Edited by gerarddude5100

Share this post


Link to post
Share on other sites
2) JMan, since you are building and releasing a compiled version of this. Perhaps it's also building against a specific version of the MySQL connector. Do you think these version differences are causing problems? Just curious.

Please try this Arma2NETMySQLPlugin.dll, It's the latest version but compiled against the 6.5.4 MySQL.Data Reference :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×