Jump to content
Sign in to follow this  
firefly2442

Arma2MySQL

Recommended Posts

I downloaded the compiled Version here. and its work with xampp mysql but xampp is a security problem. With mso arma2net is the same problem

Share this post


Link to post
Share on other sites

@SSchmidt: So you were able to get it working? At least the example mission?

---

I've started working on converting the documentation over to a better format that will allow translations. The translation service is still being tested but once that's all figured out I will probably start to solicite help fom the community on that front.

http://arma2netmysqlplugin.readthedocs.org/

Share this post


Link to post
Share on other sites

problem is away i have installed mysql new and i took the arma2net of mso. But dont ask me why :confused:

@firefly nice work your readme and thanks for all

Share this post


Link to post
Share on other sites

Hi! I have a problem with mysql. At the start of the a mission(Altis life by Tonic) freezes (not loaded).

this logs:

Dedicated server

21:28:01 Player KMS101 connecting.

21:28:02 BattlEye Server: Player #0 KMS101 - GUID: ************************* (unverified)

21:28:02 Player KMS101 connected (id=******************).

21:28:02 BattlEye Server: Verified GUID (***************************) of player #0 KMS101

21:28:13 Admin KMS101 logged in.

21:28:20 Mission Altis Life RPG read from bank.

21:28:22 BattlEye Server: Could not connect to BE Master

21:28:22 BattlEye Server: Update attempt failed

21:28:29 Roles assigned.

21:28:29 Reading mission ...

logs arma2net

01/20/2014 00:02:47 Arma2NET 2.3.0.0 running on CLR 4.0.30319.1

01/20/2014 00:02:47 Loaded into process arma3server

01/20/2014 00:02:47 Loading add-ins

01/20/2014 00:02:47 Caught exception of type System.Reflection.TargetInvocationException while loading add-in DefaultDomain

01/20/2014 00:02:47 System.Reflection.TargetInvocationException: ÐдреÑат вызова Ñоздал иÑключение. ---> System.IO.FileLoadException: Ðевозможно загрузить файл или Ñборку "System.Data.SQLite, Version=1.0.89.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139" или один из завиÑимых от них компонентов. Попытка загрузить непроверÑемый иÑполнÑемый файл Ñ Ð°Ð´Ñ€ÐµÑными привÑзками (IAT Ñ Ñ‚Ñ€ÐµÐ¼Ñ Ð¸Ð»Ð¸ более разделами или разделом TLS). (ИÑключение из HRESULT: 0x80131019) ---> System.IO.FileLoadException: Попытка загрузить непроверÑемый иÑполнÑемый файл Ñ Ð°Ð´Ñ€ÐµÑными привÑзками (IAT Ñ Ñ‚Ñ€ÐµÐ¼Ñ Ð¸Ð»Ð¸ более разделами или разделом TLS). (ИÑключение из HRESULT: 0x80131019)

--- Конец траÑÑировки внутреннего Ñтека иÑключений ---

в System.Reflection.RuntimeAssembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection, SecurityContextSource securityContextSource)

в System.Reflection.Assembly.Load(Byte[] rawAssembly)

в Arma2Net.Managed.AddInManager.DomainLoadAddIn(String assemblyFile)

--- Конец траÑÑировки внутреннего Ñтека иÑключений ---

в System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

в System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

в System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

в System.Delegate.DynamicInvokeImpl(Object[] args)

в Arma2Net.Managed.AddInManager.DomainDoCallback()

в System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)

в Arma2Net.Managed.AddInManager.DoCallbackImpl(AppDomain domain, Delegate func, Object arg)

в Arma2Net.Managed.AddInManager.DoCallbackWithResult[T,TResult](AppDomain domain, Func`2 func, T arg)

в Arma2Net.Managed.AddInManager.LoadAddIn(String assemblyFile)

01/20/2014 00:02:47 Domain Name Version Publisher Description

01/20/2014 00:02:47 DefaultDomain Arma2NETMySQL 0.1.0.0 firefly2442 Runs MySQL procedure commands.

01/20/2014 00:02:47 DefaultDomain Arma2NETMySQLCommand0.1.0.0 firefly2442 Runs raw MySQL/SQLite commands

01/20/2014 00:02:47 DefaultDomain Arma2NETMySQLCommandAsync0.1.0.0 firefly2442 Runs asynchronous raw MySQL/SQLite commands

01/20/2014 00:02:47 DefaultDomain ClrVersion 2.0.0.0 Scott_NZ Retrieves the version of the Common Language Runtime.

01/20/2014 00:02:47 DefaultDomain CompareVersion 2.0.0.0 Scott_NZ Compares two version strings and returns an integer indicating how they compare.

01/20/2014 00:02:47 DefaultDomain Version 2.0.0.0 Scott_NZ Returns the version of Arma2NET.

01/20/2014 00:02:47 DefaultDomain GetClipboardText 1.0.0.0 Scott_NZ Gets the clipboard text value.

01/20/2014 00:02:47 DefaultDomain SetClipboardText 1.0.0.0 Scott_NZ Sets the clipboard to a text value.

01/20/2014 00:02:47 DefaultDomain CommandLine 2.0.0.0 Scott_NZ Returns the command line used to start the application.

01/20/2014 00:02:47 DefaultDomain DateTime 2.0.0.0 Scott_NZ Returns the current date and time.

01/20/2014 00:02:47 Arma2NET initialized in 00:00:00.9240446

01/20/2014 21:29:08 Arma2NET 2.3.0.0 running on CLR 4.0.30319.1

01/20/2014 21:29:08 Loaded into process arma3server

01/20/2014 21:29:08 Loading add-ins

01/20/2014 21:29:08 Caught exception of type System.Reflection.TargetInvocationException while loading add-in DefaultDomain

01/20/2014 21:29:09 System.Reflection.TargetInvocationException: ÐдреÑат вызова Ñоздал иÑключение. ---> System.IO.FileLoadException: Ðевозможно загрузить файл или Ñборку "System.Data.SQLite, Version=1.0.89.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139" или один из завиÑимых от них компонентов. Попытка загрузить непроверÑемый иÑполнÑемый файл Ñ Ð°Ð´Ñ€ÐµÑными привÑзками (IAT Ñ Ñ‚Ñ€ÐµÐ¼Ñ Ð¸Ð»Ð¸ более разделами или разделом TLS). (ИÑключение из HRESULT: 0x80131019) ---> System.IO.FileLoadException: Попытка загрузить непроверÑемый иÑполнÑемый файл Ñ Ð°Ð´Ñ€ÐµÑными привÑзками (IAT Ñ Ñ‚Ñ€ÐµÐ¼Ñ Ð¸Ð»Ð¸ более разделами или разделом TLS). (ИÑключение из HRESULT: 0x80131019)

--- Конец траÑÑировки внутреннего Ñтека иÑключений ---

в System.Reflection.RuntimeAssembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection, SecurityContextSource securityContextSource)

в System.Reflection.Assembly.Load(Byte[] rawAssembly)

в Arma2Net.Managed.AddInManager.DomainLoadAddIn(String assemblyFile)

--- Конец траÑÑировки внутреннего Ñтека иÑключений ---

в System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

в System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

в System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

в System.Delegate.DynamicInvokeImpl(Object[] args)

в Arma2Net.Managed.AddInManager.DomainDoCallback()

в System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)

в Arma2Net.Managed.AddInManager.DoCallbackImpl(AppDomain domain, Delegate func, Object arg)

в Arma2Net.Managed.AddInManager.DoCallbackWithResult[T,TResult](AppDomain domain, Func`2 func, T arg)

в Arma2Net.Managed.AddInManager.LoadAddIn(String assemblyFile)

01/20/2014 21:29:09 Domain Name Version Publisher Description

01/20/2014 21:29:09 DefaultDomain Arma2NETMySQL 0.1.0.0 firefly2442 Runs MySQL procedure commands.

01/20/2014 21:29:09 DefaultDomain Arma2NETMySQLCommand0.1.0.0 firefly2442 Runs raw MySQL/SQLite commands

01/20/2014 21:29:09 DefaultDomain Arma2NETMySQLCommandAsync0.1.0.0 firefly2442 Runs asynchronous raw MySQL/SQLite commands

01/20/2014 21:29:09 DefaultDomain ClrVersion 2.0.0.0 Scott_NZ Retrieves the version of the Common Language Runtime.

01/20/2014 21:29:09 DefaultDomain CompareVersion 2.0.0.0 Scott_NZ Compares two version strings and returns an integer indicating how they compare.

01/20/2014 21:29:09 DefaultDomain Version 2.0.0.0 Scott_NZ Returns the version of Arma2NET.

01/20/2014 21:29:09 DefaultDomain GetClipboardText 1.0.0.0 Scott_NZ Gets the clipboard text value.

01/20/2014 21:29:09 DefaultDomain SetClipboardText 1.0.0.0 Scott_NZ Sets the clipboard to a text value.

01/20/2014 21:29:09 DefaultDomain CommandLine 2.0.0.0 Scott_NZ Returns the command line used to start the application.

01/20/2014 21:29:09 DefaultDomain DateTime 2.0.0.0 Scott_NZ Returns the current date and time.

01/20/2014 21:29:09 Arma2NET initialized in 00:00:00.8003199

I do not know it really needed this logs?

Help solve the problem!

Share this post


Link to post
Share on other sites
@KMS101: You need to install the SQLite library (see readme) version 1.0.89.0

thanks dude!I'm one step ahead! :)

Now there is another problem! Server its crash with error

image.png

Share this post


Link to post
Share on other sites

Hmm, I'm not sure. You may want to ask in the altis life forum thread. I don't have any experience with that mission. This thread is more for helping with Arma2NET and the plugin that I wrote.

Share this post


Link to post
Share on other sites
Hmm, I'm not sure. You may want to ask in the altis life forum thread. I don't have any experience with that mission. This thread is more for helping with Arma2NET and the plugin that I wrote.

Ok!thank you!

Share this post


Link to post
Share on other sites

hi, i have an issue i can't work out, i am running MySQL on a remote server i rent, i have it set up with Life mission file (arma 3) although i am not sure how to set whitelist cops/admin rank/donator rank, i'd really appreciate any help on this. thanks in advance

Share this post


Link to post
Share on other sites
hi, i have an issue i can't work out, i am running MySQL on a remote server i rent, i have it set up with Life mission file (arma 3) although i am not sure how to set whitelist cops/admin rank/donator rank, i'd really appreciate any help on this. thanks in advance

I would ask in the Altis Life thread, this thread is for discussion regarding the plugin. However, I believe you can just modify the database. It should be relatively straightforward given the table structure.

Share this post


Link to post
Share on other sites

Hey Firefly, I was wondering if you could help me with this.

I've been trying to make a script that saves players Weapons to MySQL, but I keep getting the [["Error"]] error.

I have it saving everything else fine (Money, Position, etc) but I just can't seem to get the Inventory of a player to save.

This is the Scripts and the error from the log:

Client Side

[player] call DBSaveWeapons

Server Side

DBSaveWeapons =
{
   _Player = _this select 0;

disableSerialization;
_Player setVariable ["CanSave",false,true];
   _display = uiNamespace getVariable "VRG_HUD_VAR";
   _ctrlStats = _display displayCtrl 52458;
   _ctrlStats ctrlSetText "Status: Saving DBSaveWeapons";

[[["DBSaveWeapons",_Player],"ServerStats\VariableSave.sqf"],"BIS_fnc_execVM",false,false] spawn BIS_fnc_MP;
while {isNil "ReturnedDatabase"} do {};
_return = ReturnedDatabase;
ReturnedDatabase = nil;
hint format["%1", _return];
_Player setVariable ["CanSave",true,true];
   _ctrlStats ctrlSetText "Status: Safe DBSaveWeapons";
};
missionNamespace setVariable ["DBSaveWeapons",DBSaveWeapons];
publicVariable "DBSaveWeapons";

ServerStats\VariableSave.sqf (Server side)

if (_case == "DBSaveWeapons") then
{
   _Player = _this select 1;
_owner = owner _Player;
_PlayerID = getPlayerUID _Player;
_Side = side _Player;

_Magazines = primaryWeaponMagazine _Player + handgunMagazine _Player + secondaryWeaponMagazine _Player;
   _Weapons = weapons _Player;
   _WeaponItems = primaryWeaponItems _Player + secondaryWeaponItems _Player + handgunItems _Player;
   _AssignedItems = assignedItems _Player;
   _Headgear = headgear _Player;
   _Goggles = goggles _Player;
   _Uniform = uniform _Player;
   _Vest = vest _Player;
   _Backpack = backpack _Player;
   _AllItems = uniformItems _Player + vestItems _Player + backpackItems _Player;

_WeaponItems = _WeaponItems call VRG_fnc_formatArray;
_Magazines = _Magazines call VRG_fnc_formatArray;
_Weapons = _Weapons call VRG_fnc_formatArray;
_AssignedItems = _AssignedItems call VRG_fnc_formatArray;
_AllItems = _AllItems call VRG_fnc_formatArray;

if (_WeaponItems == "") then {_WeaponItems = []};
if (_Magazines == "") then {_Magazines = []};
if (_Weapons == "") then {_Weapons = []};
if (_AssignedItems == "") then {_AssignedItems = []};
if (_AllItems == "") then {_AllItems = []};

//hint format ["Var = %1", _WeaponItems];

_puid = format["%1%2", _PlayerID, _Side];

   _query = format["UPDATE playerdata SET Magazines = '%1', Weapons = '%2', WeaponItems = '%3', AssignedItems = '%4', Headgear = '%5', Goggles = '%6', Uniform = '%7', Vest = '%8', Backpack = '%9', AllItems = '%10' WHERE uid = '%11'", _Magazines, _Weapons, _WeaponItems, _AssignedItems, _Headgear, _Goggles, _Uniform, _Vest, _Backpack, _AllItems, _puid];

while{!isNil("serverRunningQuery") && serverRunningQuery} do {};
serverRunningQuery = true;
missionNamespace setVariable ["serverRunningQuery",serverRunningQuery];
   publicVariable "serverRunningQuery";
_return = nil;
while {isNil("_return")} do {
   	_return = "Arma2Net.Unmanaged" callExtension format ["Arma2NETMySQLCommandAsync ['altislife', '%1']", _query];
	//hint format["_return = %1", _return];
	if (_return == "") then {
		_return = nil;
	};
		sleep 0.5;
};
serverRunningQuery = false;
missionNamespace setVariable ["serverRunningQuery",serverRunningQuery];
   publicVariable "serverRunningQuery";

ReturnedDatabase = _return;
_owner publicVariableClient "ReturnedDatabase";
};

Error from the log

Info: 19:39:39 - Received - Database: altislife SQL Query: UPDATE playerdata SET Health = '0', Position = '3697.78`12215.2`0.00143814', Direction = '18.8887', Account = '1e+006', Wallet = '100000', Thirst = '100', Hunger = '100', Licences = 'Licence_Rifle`Licence_Pistol`Licence_Donator`Licence_Admin', PayCheck = '20', Vehicles = '[]', Items = '[]' WHERE uid = '76561198085735088WEST'
Info: 19:39:42 - Received - Database: altislife SQL Query: UPDATE playerdata SET Magazines = '30Rnd_65x39_caseless_mag`9Rnd_45ACP_Mag', Weapons = 'arifle_MX_F`hgun_ACPC2_F', WeaponItems = 'nil`nil`nil`nil`nil`nil', AssignedItems = 'ItemMap`ItemCompass`ItemWatch`ItemRadio', Headgear = ', Goggles = ', Uniform = 'U_B_CombatUniform_mcam_tshirt', Vest = 'V_HarnessO_brn', Backpack = ', AllItems = 'FirstAidKit`30Rnd_65x39_caseless_mag`30Rnd_65x39_caseless_mag`9Rnd_45ACP_Mag`9Rnd_45ACP_Mag`FirstAidKit' WHERE uid = '76561198085735088WEST'
Warning: 19:39:42 - MySQL error. MySql.Data.MySqlClient.MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FirstAidKit`30Rnd_65x39_caseless_mag`30Rnd_65x39_caseless_mag`9Rnd_45ACP_Mag`9Rn' at line 1
  at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
  at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
  at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
  at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
  at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
  at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
  at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()
  at Arma2NETMySQLPlugin.MySQL.RunOnDatabase(MySqlCommand command, Int32 maxResultSize)

Share this post


Link to post
Share on other sites

@nick: I think this is the error:

Backpack = '

You can't have commas inside (see here: http://arma2netmysqlplugin.readthedocs.org/en/latest/#known-issues). Try modifying the code and running the update command with one thing at a time and then keep adding items until you get the error. That should help in debugging.

Share this post


Link to post
Share on other sites

Aah yes, I didn't notice that before.

Thanks a lot, I managed to fix it by adding this code into it.

	if (_Headgear == "") then {_Headgear = "nil"};
if (_Goggles == "") then {_Goggles = "nil"};
if (_Uniform == "") then {_Uniform = "nil"};
if (_Vest == "") then {_Vest = "nil"};
if (_Backpack == "") then {_Backpack = "nil"};

Edited by nick103

Share this post


Link to post
Share on other sites

I am running Windows Server 2012 and am experiencing issues with the addon.

In my RPT, I see this:

Mods: @Arma2NET
Distribution: 0
Version 1.10.114486
Fault time: 2014/01/29 00:38:20
Fault address:  77114B32 01:00013B32 C:\Windows\SYSTEM32\KERNELBASE.dll
file:     Altis_Life_RPG (__cur_mp)
world:    Altis
Prev. code bytes: 20 83 64 24 10 00 8D 04 24 50 FF 15 80 83 19 77
Fault code bytes: 8B 4C 24 54 33 CC E8 07 72 FF FF 8B E5 5D C2 10

In my Arma2NET.log, I see the following:

01/29/2014 00:38:20 Arma2Net.Unmanaged loaded successfully
01/29/2014 00:38:20 Fatal unhandled exception of type System.IO.FileNotFoundException
01/29/2014 00:38:20 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].

This only occurs once the server tries to read the mission, which causes it to go unresponsive (crash).

Any help is well appreciated.

Share this post


Link to post
Share on other sites

@KraaZe: Try copying all the Arma2NET DLL files and placing them in your root Arma directory (where the game executable is).

Share this post


Link to post
Share on other sites
@KraaZe: Try copying all the Arma2NET DLL files and placing them in your root Arma directory (where the game executable is).

I'm still getting a crash.

EDIT:

There seems to be a new type of error in the Arma2NET.log file, see here:


01/29/2014 14:49:55 Arma2Net.Unmanaged loaded successfully
01/29/2014 14:49:58 Fatal unhandled exception of type System.TypeInitializationException
01/29/2014 14:49:58 System.TypeInitializationException: The type initializer for 'Arma2Net.Managed.Bridge' threw an exception. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Games\ArmA3\A3Master\AddIns'.
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.FileSystemEnumerableIterator`1.CommonInit()
  at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
  at System.IO.Directory.EnumerateFiles(String path, String searchPattern)
  at Arma2Net.Managed.AddInManager.FindAddInAssemblies()
  at Arma2Net.Managed.AddInManager.LoadAddIns()
  at Arma2Net.Managed.Bridge.Initialize()
  at Arma2Net.Managed.Bridge..cctor()
  --- End of inner exception stack trace ---
  at Arma2Net.Managed.Bridge.InvokeFunction(String function, Int32 maxResultSize)
  at Arma2Net.Unmanaged.InvokeFunctionImpl(SByte* output, Int32 outputSize, SByte* function)
  at Arma2Net.Unmanaged.InvokeFunction(SByte* output, Int32 outputSize, SByte* function)

EDIT 2:

Fixed, just copied the AddIns folder as well!

Edited by KraaZe

Share this post


Link to post
Share on other sites

Hello.. I have tried everything... Followed all instructions.. For some reason, I can't get Arma2NET to be loaded into my server.

I did this for testing:

hint ("HELLO"); -- WORKS

sleep 2;

hint ("Arma2Net.Unmanaged" callExtension "ClrVersion"); -- Does not work....

My start line:

start "arma2" "Expansion\beta\arma2oaserver.exe" -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus -arma2netdev "-mod=@Arma2NET;@DayZ_Epoch;@DayZ_Epoch_Server;Expan sion/beta;Expansion/beta/Expansion;" -cpuCount=4 -noCB -maxMem=10235 -exThreads=1

I have .NET 4.0 Installed...

I installed Mono....

The script works with the Arma2NetExplorer.exe....

When i run the game it produces no logs... When i run Arma2NetExplorer.exe it does....

Have no idea why it doesn't do anything!!!!

Any Help would be greatly appreciated....

Share this post


Link to post
Share on other sites

Please post Arma2NET and Arma2NETMySQL log files.

Hello.. I have tried everything... Followed all instructions.. For some reason, I can't get Arma2NET to be loaded into my server.

I did this for testing:

hint ("HELLO"); -- WORKS

sleep 2;

hint ("Arma2Net.Unmanaged" callExtension "ClrVersion"); -- Does not work....

My start line:

start "arma2" "Expansion\beta\arma2oaserver.exe" -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus -arma2netdev "-mod=@Arma2NET;@DayZ_Epoch;@DayZ_Epoch_Server;Expan sion/beta;Expansion/beta/Expansion;" -cpuCount=4 -noCB -maxMem=10235 -exThreads=1

I have .NET 4.0 Installed...

I installed Mono....

The script works with the Arma2NetExplorer.exe....

When i run the game it produces no logs... When i run Arma2NetExplorer.exe it does....

Have no idea why it doesn't do anything!!!!

Any Help would be greatly appreciated....

Share this post


Link to post
Share on other sites

It doesn't create logs... this is why i believe its not running.....

I only get logs when i run the "Arma2NET Explorer".... This is what i get from those logs:

01/30/2014 10:28:12 Arma2NET 2.3.0.0 running on CLR 4.0.30319.18408

01/30/2014 10:28:12 Loaded into process Arma2NetExplorer

01/30/2014 10:28:12 Loading add-ins

01/30/2014 10:28:12 Caught exception of type System.Reflection.TargetInvocationException while loading add-in Arma2NetExplorer.exe

01/30/2014 10:28:12 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.89.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)

01/30/2014 10:28:12 Domain Name Version Publisher Description

01/30/2014 10:28:12 Arma2NetExplorer.exe Arma2NETMySQL 0.1.0.0 firefly2442 Runs MySQL procedure commands.

01/30/2014 10:28:12 Arma2NetExplorer.exe Arma2NETMySQLCommand0.1.0.0 firefly2442 Runs raw MySQL/SQLite commands

01/30/2014 10:28:12 Arma2NetExplorer.exe Arma2NETMySQLCommandAsync0.1.0.0 firefly2442 Runs asynchronous raw MySQL/SQLite commands

01/30/2014 10:28:12 Arma2NetExplorer.exe ClrVersion 2.0.0.0 Scott_NZ Retrieves the version of the Common Language Runtime.

01/30/2014 10:28:12 Arma2NetExplorer.exe CompareVersion 2.0.0.0 Scott_NZ Compares two version strings and returns an integer indicating how they compare.

01/30/2014 10:28:12 Arma2NetExplorer.exe Version 2.0.0.0 Scott_NZ Returns the version of Arma2NET.

01/30/2014 10:28:12 Arma2NetExplorer.exe GetClipboardText 1.0.0.0 Scott_NZ Gets the clipboard text value.

01/30/2014 10:28:12 Arma2NetExplorer.exe SetClipboardText 1.0.0.0 Scott_NZ Sets the clipboard to a text value.

01/30/2014 10:28:12 Arma2NetExplorer.exe CommandLine 2.0.0.0 Scott_NZ Returns the command line used to start the application.

01/30/2014 10:28:12 Arma2NetExplorer.exe DateTime 2.0.0.0 Scott_NZ Returns the current date and time.

01/30/2014 10:28:12 Arma2NET initialized in 00:00:00.0774887

01/30/2014 10:28:12 function: ClrVersion

01/30/2014 10:28:12 maxResultSize: 4095

01/30/2014 10:28:12 Result size: 17

01/30/2014 10:28:12 Result: "4.0.30319.18408"

Edited by blckeagls

Share this post


Link to post
Share on other sites

You're missing the SQLite dependency. 'System.Data.SQLite, Version=1.0.89.0

Make sure to install this version. See the readme for the download link.

It doesn't create logs... this is why i believe its not running.....

I only get logs when i run the "Arma2NET Explorer".... This is what i get from those logs:

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  

×