DSAccountManager Version 1.4
-
M1C fixed it. Not sure what he did, but it works now
-
@M1C perfomance suggestion:
conn = new SQLiteConnection("Data Source=" + AppSettings.Default.setAccountDir + "\\dsam.db; Cache Size=2000;Synchronous=Off;count_changes=0;temp_store=0;"); ```:)
-
So is there a fix for this? I keep getting an error
Cannot access database. Check your "Player Accounts DirectoryâIt was doing the same thing with dsam 1.41, but exiting with a runtime error shortly after that. Details showed a
SystemBadFormatImage.So I went to 1.4 and no runtime error, but canât access the playerâs database. FLHook 1.61, DS Process Manager, DSAM 1.4 64 bit, Running Discovery 4.85.
I only have 1 character as my server is still in testing and construction. I delete the dsam.db file and after the run of DSAM it is back, but still says canât access the player database.
Just about to tear out what little of the hair I have left
-
Well, I finally got it working, but I had to go back to v1.1. I would prefer using the latest version, but they donât work on my system. Donât know why, but they just keep saying âCannot access the player database. Check your âPlayer Account Directoryââ.
No matter. Itâs working now so Iâm happy.
-
KamaZer0 wrote:
I to have this problem with both the 1.4 and 1.41 version of DSAccountManager.We have a disco 4.85 mod and FLhook 1.6
Can anyone lend some assistance on this issue?
Just to let you know that I also had this problem but managed to find the solution.
Running 1.4.1, I received the âCannot access the player database.â error, as well as the program crashing right after.
Even running 1.4, there was no crash but it was unable to access the database.Looking in the log files, I noticed the error Sushi mentioned, that the System.Data.SQLite file was missing. I noticed that the x64 .dll is different to the x86 .dll file.
It should be noted that I am running win7 x64 [as others with the same problem are also]
The solution which works for me, is to take the System.Data.SQLite.dll file from the 32bit folder, and place it in the x64 folder, replacing the one already there. The program now runs perfectly.In sum, replace the 64bit sqlite dll with the 32bit version, and it works!
-
@edenist: HUGE thanks! it nearly drove me mad that i couldnât solve that, till i found your solution. and all the time it would have been that simple >.<
-
Variant:
- Full support of cyrillic symbols at infocards
- Cargopod hardpoint type support
- Support of custom hardpoint types
- Support of items without ids_info
- Faster loading of game data
P.S. Cannon & M1C if you will have the desire and ability please include this or similar functionality in future releases
P.P.S. Thanks Josh for C# tips, Jolly Roger for tests and Alex for asking for .diff upload
-
My modifications :
- Support âĂŠ,è,ç,Ă ,Ăš,âŚ.â ISO-8859-15
- Support hardpoint âEngClassâ Plugin by adoxa
+++ src/Util Functions/FLGameData.cs @@ -101,7 +101,11 @@ --------------------------------- int len = LoadString(hInstance, resId, bufName, bufName.Length); if (len > 0) { Encoding ISO885915 = Encoding.GetEncoding("ISO-8859-15"); Encoding Unicode = Encoding.Unicode; byte[] asciiBytes = Encoding.Convert(ISO885915, Unicode, bufName); return System.Text.Encoding.Unicode.GetString(asciiBytes, 0, len*2); }
+++ src/Util Functions/FLGameData.cs @@ -1127,208 +1133,53 @@ --------------------------------- private string HardpointClassToGameDataClass(string hpClass) { if (hpClass.Contains("_power")) return GAMEDATA_MISC; if (hpClass.Contains("_engine")) return GAMEDATA_MISC;
-
My modifications :
- SystemNick (XY01) more than 4 character
+++ src\Player Edit UI\ChangeLocationWindow.cs --------------------------------- /// <summary>/// Save the new location ///</summary> /// <param name="sender"> /// <param name="e"> private void saveButton_Click(object sender, EventArgs e) { if (dataGridViewBase.SelectedRows.Count != 1) return; foreach (FLDataFile charFile in charFiles) { foreach (DataGridViewRow row in dataGridViewBase.SelectedRows) { GameDataSet.HashListRow dataRow = (GameDataSet.HashListRow)((DataRowView)row.DataBoundItem).Row; string baseNick = dataRow.ItemNickName; int underscore = baseNick.IndexOf("_", 0); string systemNick = baseNick.Substring(0, underscore); charFile.AddSetting("Player", "base", new object[] { baseNick }); charFile.AddSetting("Player", "last_base", new object[] { baseNick }); charFile.AddSetting("Player", "system", new object[] { systemNick }); break; } if (checkBox2.Checked) {