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

ArmA2 Persistent Database Scripts - WIP

Recommended Posts

The failure is in your executable path. It needs to be D:\ArmA 2\Expansion\beta\

It is not enough to just use -mod=expansion\beta;expansion\beta\expansion;

Working directory should remain pointing to the root however.

Don't forget to edit Databases.txt and copy it to the Arma2 root too.

Edited by [KH]Jman

Share this post


Link to post
Share on other sites

Okay, got it... sometimes i don't know what i'm doing.. ;)

But still got issues with Arma2Net..

2012/06/14, 17:27:24 Error in expression <throw "System.IO.FileNotFoundException">

2012/06/14, 17:27:24 Error position: <throw "System.IO.FileNotFoundException">

2012/06/14, 17:27:24 Error

Share this post


Link to post
Share on other sites

whole rpt please!

System.IO.FileNotFoundException, sounds to me like the Arma2NETMySQLPlugin.dll addin cannot be located.

Copy Arma2NETMySQLPlugin.dll into the @Arma2NET/Addins/Arma2NETMySQLPlugin/ folder

Edited by [KH]Jman

Share this post


Link to post
Share on other sites

Yes see my previous post re: System.IO.FileNotFoundException

Share this post


Link to post
Share on other sites

Okay, checked both files...

databases.txt located in d:\arma 2\databases.txt

mysqlplugin located in d:\arma 2\@Arma2NET\Addins\Arma2NETMySQLPlugin

seems to be fine.. Any other hints? I think arma2net still isn't running, because i could not find any log folder...

Edited by Noc1337

Share this post


Link to post
Share on other sites

Your previous error seems to suggest that Arma2NET is running - 'throw "System.IO.FileNotFoundException"' is only generated by Arma2NET. Arma2NET logs should be in the system's Local AppData folder.

Share this post


Link to post
Share on other sites

Hmmm, okay... But what is missing? Somebody have a working @arma2net folder including all files (MySql.Data.dll and Arma2NETMySQLPlugin.dll) so i can try it with a "fresh install" ?

i dont't know where to search .. Trying to fix this issue for 3 days now.. ;(

---------- Post added at 07:49 ---------- Previous post was at 07:40 ----------

I thinks mysql plugin is located in right folder. Output from arma2net explorer:

mlhtkbumvkil.jpg

Share this post


Link to post
Share on other sites

Stick with it. I see that you are not running the latest version on Arma2NET. You MUST make sure of your versions.

Download 1.10 here and then use the Arma2NETMySQLPlugin.dll from the persistentDB archive here

On another note, Tupolov of MSO fame has joined the PDB team has has been working hard on improving the code and adding some new functionality. PDB will be integrated into future versions of MSO so many thanks to him for his hard work on the project. Once we have tested the new code we will take the PDB project out of beta and make a version 1 release.

We are also planning a PDB version for Arma 3.

Edited by [KH]Jman

Share this post


Link to post
Share on other sites
Info: 13:40:14 - Arma2NETMySQL Plugin Started.

Info: 13:40:14 - Version number: 0.1

Info: 13:40:14 - Compiled with Arma2NET Version: 1.10.0.0

Info: 13:40:14 - Loading databases...

Info: 13:40:14 - Database: arma IPAddress: 127.0.0.1 Port: 3306 Username: arma Password: NotShownForSecurityReasons

Yes, logging is up and running

Share this post


Link to post
Share on other sites

Yes, it stops there... And the RPT is growing realy fast with this error:

162.

2012/06/15, 13:22:35 Error in expression <throw "System.Reflection.TargetInvocatio>

163.

2012/06/15, 13:22:35 Error position: <throw "System.Reflection.TargetInvocatio>

164.

2012/06/15, 13:22:35 Error

---------- Post added at 12:29 ---------- Previous post was at 12:28 ----------

Maybe you have some time to talk via teamspeak or something?

Share this post


Link to post
Share on other sites

No sorry I'm at work.

The Arma2NET log is what I'm interested in at this point not the server rpt. Please pastebin the Arma2NET log to clarify.

It appears your addin is crashing out when invoked by Arma2NET. Please confirm that you are using the Arma2NETMySQLPlugin.dll addin datestamped 14/06/2012 @ 10:18

Edited by [KH]Jman

Share this post


Link to post
Share on other sites

I posted the whole ARMA2NET log... There is no more to copy from it.. :(

It stops right there... And the Player stuck at the loading screen (loading mission database or something like that)...

Share this post


Link to post
Share on other sites

Yes the client will not go any further since it is waiting for a mysql request result that it never receives from the server. Ctrl-Alt-Del and end task on it.

Please confirm that you are using the Arma2NETMySQLPlugin.dll addin datestamped 14/06/2012 @ 10:18 on the server

Arma2NET's nlog is not outputting the error. I'm taking to Scott_NZ right now to try and debug this further. Scott_NZ has had this error reported by another person but was not able to reproduce it at all.

Edited by [KH]Jman

Share this post


Link to post
Share on other sites

Yes i can confirm the timestamp.

---------- Post added at 13:03 ---------- Previous post was at 12:58 ----------

Maybe Something with the dB. Layout to do?

Share this post


Link to post
Share on other sites

I've got a couple of people getting this error too:

Warning: 20:42:43 - MySQL error. MySql.Data.MySqlClient.MySqlException (0x80004005): There is already an open DataReader associated with this Connection which must be closed first.

Any ideas?

EDIT - Fixed. The guys testing had the incorrect SQL import file.

Edited by Tupolov

Share this post


Link to post
Share on other sites

Seems that nobody can help? Or sombody have some Good News or ideas?

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  

×