October 17, 2021, 06:40:01 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - crazycabo

Pages: [1]
Support / Mooege sqlite3.dll error using Build 0.1.4293.15139 [Fixed]
« on: October 03, 2011, 09:56:04 AM »
I just downloaded Build 0.1.4293.15139 and observed the error below while using Mooege both locally and across my server. I fixed the issue by dropping the sqlite3.dll version 3.7.8 into the main folder where you have Mooege on your drive. ;D I did so about 15 minutes ago. The error text is referenced below:
Code: [Select]
[Fatal] [DBManager]: Connect() - [Exception] System.DllNotFoundException: Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at System.Data.SQLite.UnsafeNativeMethods.sqlite3_open_v2(Byte[] utf8Filename, IntPtr& db, Int32 flags, IntPtr vfs)
   at System.Data.SQLite.SQLite3.Open(String strFilename, SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool)
   at System.Data.SQLite.SQLiteConnection.Open()
   at Mooege.Core.Common.Storage.DBManager.Connect()
[Debug] [MooNetRouter]:  - [Exception] System.TypeInitializationException: The type initializer for 'Mooege.Core.MooNet.Accounts.AccountManager' threw an exception. ---> System.InvalidOperationException: Database is not open
   at System.Data.SQLite.SQLiteCommand.InitializeForReader()
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader()
   at Mooege.Core.MooNet.Accounts.AccountManager.LoadAccounts()
   at Mooege.Core.MooNet.Accounts.AccountManager..cctor()
   --- End of inner exception stack trace ---
   at Mooege.Core.MooNet.Accounts.AccountManager.GetAccountByEmail(String email)
   at Mooege.Core.MooNet.Services.AuthenticationService.Logon(IRpcController controller, LogonRequest request, Action`1 done)
   at bnet.protocol.authentication.AuthenticationServer.CallMethod(MethodDescriptor method, IRpcController controller, IMessage request, Action`1 done)
   at Mooege.Net.MooNet.MooNetRouter.Identify(IConnection connection, CodedInputStream stream)

General / Accessing D3Sharp Over a Network Connection
« on: September 27, 2011, 11:49:13 AM »
I have successfully connected to D3Sharp over an encrypted network connection and used it to connect multiple clients, as well. The instance is installed on a Window XP machine with SP3. I tried utilizing the same approach with Windows 7 but, I get the error below.

Code: [Select]
[ Info] [Program]: D3Sharp v0.0.4286.33006 warming-up..
[ Info] [Server]: Game-Server is listening on
[ Info] [Server]: Bnet-Server is listening on
[Trace] [Server]: Bnet-Client connected:
[Trace] [BaseService]: Connect()
[Trace] [BaseService]: Bind() [export] Hash: 0xB732DB32 ID: 0x10 Service: Channe
[Trace] [BaseService]: Bind() [export] Hash: 0xFA0796FF ID: 0x0B Service: Presen
[Trace] [BaseService]: Bind() [import] Hash: 0xBF8C8094 ID: 0x04
[Trace] [BaseService]: Bind() [export] Hash: 0x0DECFC01 ID: 0x01 Service: Authen
[Trace] [BaseService]: Bind() [import] Hash: 0x71240E35 ID: 0x05
[Trace] [AuthenticationService]: LogonRequest(); Email=test@d3test.org
[Debug] [BNetRouter]:  - [Exception] System.TypeInitializationException: The typ
e initializer for 'D3Sharp.Core.Accounts.AccountManager' threw an exception. ---
> System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.
SQLite.dll' or one of its dependencies. The specified module could not be found.

   at D3Sharp.Core.Accounts.AccountManager.LoadAccounts()
   at D3Sharp.Core.Accounts.AccountManager..cctor()
   --- End of inner exception stack trace ---
   at D3Sharp.Core.Accounts.AccountManager.GetAccountByEmail(String email)
   at D3Sharp.Core.Services.AuthenticationService.Logon(IRpcController controlle
r, LogonRequest request, Action`1 done)
   at bnet.protocol.authentication.AuthenticationServer.CallMethod(MethodDescrip
tor method, IRpcController controller, IMessage request, Action`1 done)
   at D3Sharp.Net.BNet.Packets.BNetRouter.Identify(IConnection connection, Coded
InputStream stream)

Another user seemed to think I was an idiot and I simply need to get SQLite for that machine. Clearly this is not the case since it successfully works on Windows XP/SP3 just by dropping the zip archive, extracting, and running the executable. I don't understand why people are so quick to judge the situation. I am an automated tester in practice and profession and I enjoy trying to make things work out of the normal usage circumstances.

Also, I got D3Sharp to work with a bare bones Windows XP/SP3 installation through Oracle VirtualBox with multiple connections. A user asked me why I would want to do this. I could simply run D3Sharp, connect via network, and have it running 24/7 (theoretically) and multiple users could connect at any time sharing a single instance. I have confirmed 2 users can do it. I wonder how many can before the server crashes.  :) :)

Pages: [1]
SimplePortal 2.3.5 © 2008-2012, SimplePortal