Jump to content

Recommended Posts

Hello i try to use hmp with reapler's DB:
I compiled matenia's HMP, downloaded WoWDb335, put it in the data folder, added DatabaseManager.dll to the bin folder but I get an error every time when plugin tries to read base:
RunState(State state): > State TownRun - System.Data.SQLite.SQLiteException (0x80004005): unable to open database file
в System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool)
в System.Data.SQLite.SQLiteConnection.Open()
в LinqToDB.Data.DataConnection.get_Connection() в c:\projects\linq2db\Source\Data\DataConnection.cs:line 632
в LinqToDB.Data.DataConnection.CreateCommand() в c:\projects\linq2db\Source\Data\DataConnection.cs:line  701
в LinqToDB.Data.DataConnection.get_Command() в c:\projects\linq2db\Source\Data\DataConnection.cs:line 695
в LinqToDB.DataProvider.DataProviderBase.InitCommand(DataConnection dataConnection, CommandType commandType, String commandText, DataParameter[] parameters) в c:\projects\linq2db\Source\DataProvider\DataProviderBase.cs:line 102
в LinqToDB.Data.DataConnection.InitCommand(CommandType commandType, String sql, DataParameter[] parameters, List`1 queryHints) в c:\projects\linq2db\Source\Data\DataConnection.cs:line 678
в LinqToDB.Data.DataConnection.LinqToDB.IDataContext.ExecuteReader(Object query) в c:\projects\linq2db\Source\Data\DataConnection.Linq.cs:line 261
в LinqToDB.Linq.Query`1.d__12.MoveNext() в c:\projects\linq2db\Source\Linq\Query.cs:line 411
в LinqToDB.Linq.Query`1.d__69.MoveNext() в c:\projects\linq2db\Source\Linq\Query.cs:line 1213
в System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
в System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
в DatabaseManager.WoW.DbItem.Get(ItemFilter filter)
в HumanMasterPlugin.States.TownRun.CanAffordItem(UInt32 itemId, Int32 amount)
в HumanMasterPlugin.States.TownRun.get_NeedsToBuyFood()
в HumanMasterPlugin.States.TownRun.Run()
в robotManager.FiniteStateMachine.Engine.(State )
What can cause this error?

Link to comment
https://wrobot.eu/forums/topic/16265-need-help-with-wowdb/
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...