Main Menu
Menu

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.

Show posts Menu

Messages - crazycabo

#1
The dll package can be found at http://www.sqlite.org/download.html
#2
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:
[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)
#3
General / Re: The Source for D3Sharp Updates
September 27, 2011, 11:09:01 AM
Yay! On demand updates on my mobile. Great stuff!! ;D
#4
General / Accessing D3Sharp Over a Network Connection
September 27, 2011, 10: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.


[ Info] [Program]: D3Sharp v0.0.4286.33006 warming-up..
[ Info] [Server]: Game-Server is listening on 0.0.0.0:1999...
[ Info] [Server]: Bnet-Server is listening on 0.0.0.0:1345...
[Trace] [Server]: Bnet-Client connected: 5.29.171.68:60556
[Trace] [BaseService]: Connect()
[Trace] [BaseService]: Bind() [export] Hash: 0xB732DB32 ID: 0x10 Service: Channe
lService
[Trace] [BaseService]: Bind() [export] Hash: 0xFA0796FF ID: 0x0B Service: Presen
ceService
[Trace] [BaseService]: Bind() [import] Hash: 0xBF8C8094 ID: 0x04
[Trace] [BaseService]: Bind() [export] Hash: 0x0DECFC01 ID: 0x01 Service: Authen
ticationService
[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.  :) :)
#5
Support / Alternate Sandbox Method
September 27, 2011, 09:42:25 AM
I hope this is the correct place to add these instructions. I wanted to give users another option for getting everything to work after reading the countless problems people seem to be having, whether NOOB or not.

Alternative to Sandbox setup, configuration, and execution.
This method does not utilize the D3Launcher.

This is confirmed to work with Beta Patch 4 and Windows 7 as of 9am CST on 9/27.
I have not tried this on any other operating system.

1. Install Diablo 3 Beta.
   (I installed to "Users\Public\Games" in the system directory.)
   
2. Create a shortcut of "Diablo III.exe" to the desktop.

3. Open the properties menu of the shortcut and change the target to the following:
   ("<Your Chosen Installation Path>\Diablo III Beta\Diablo III.exe" -launch -auroraaddress 127.0.0.1:1345)
   
4. Save the changes to the shortcut.

5. Go to "https://github.com/raistlinthewiz/d3sharp" and click the downloads button, saving the zipped archive to your machine and extract it afterward.

6. Open Visual Studio 2010 and select "File->Open Project" from the menu.

7. Select the file to open, "raistlinthewiz-d3sharp-*******\source\D3Sharp.sln".

8. Select "Build->Build Solution" from the menu.
   (This may be slightly different if you are using the Express version of Visual Studio 2010. The build command is still in the menu structure.)
   
9. Once successful, by checking the bottom left corner, close Visual Studio.

10. From the same folder in step #7 go to "raistlinthewiz-d3sharp-*******\source\D3Sharp\bin\Debug".
   (This location is where the compiled files are contained after a successful build from step #8.)
   
11. Copy all files from this location to a seperate folder of your choice.
   (Not all files are needed but, I'm trying to make this simple for everyone. Also, I decided to create a seperate folder in "Users\Public\Games" for D3Sharp.)
   
12. In the D3Sharp folder you just created, run D3Sharp.exe.
   (You must have the full version of Microsoft .Net 4.0 for D3Sharp to run. You can download it from "http://www.filehippo.com/download_dotnet_framework_4/" or just Google it for alternate locations.)
   
13. This screen = good things. Notice the version number. A newer one may be available now.



14. Run Diablo III via the shortcut from step #2.

15. Log into the game with a name in the following Battle.net format using any password of your choice: text@text.com

16. Have fun!!!