Hello there, I'm using the hasan source for patch 5375. I have been messing around with the database, I wanted to change where the Username, Password, IP, Email and LastCheck to a different Database_table. The old table was called "accounts" the new is, "user".
I have edited the AuthServer and GameServer projects (AccountTable.cs). I'm sure I've done this correct, but I am receiving an error trying to login to the server on my AuthServer Command window. This is the error;
Please could someone tell me why the database was unable to convert date and time(LastCheck), I've never came across an error like this before, So I would like to know how to fix it.
Thanks.
Edit: I've also changed, the name of the old fields, Username is now username(lowercaps), this is the same with most apart from LastActivity. I've also edited this on my project.
I have edited the AuthServer and GameServer projects (AccountTable.cs). I'm sure I've done this correct, but I am receiving an error trying to login to the server on my AuthServer Command window. This is the error;
Code:
MySql.Data.Types.MySqlConversionException: Unable to convert MySQL date/time val ue to System.DateTime at MySql.Data.Types.MySqlDateTime.GetDateTime() at MySql.Data.MySqlClient.MySqlDataReader.GetValue(Int32 i) at MySql.Data.MySqlClient.MySqlDataReader.GetValues(Object[] values) at System.Data.ProviderBase.DataReaderContainer.CommonLanguageSubsetDataReade r.GetValues(Object[] values) at System.Data.ProviderBase.SchemaMapping.LoadDataRow() at System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping) at System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable d atatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, In t32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue) at System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDat aReader dataReader, Int32 startRecord, Int32 maxRecords) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand co mmand, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) at AuthServer.Database.MySqlReader.TryFill(MySqlCommand command) in C:\Docume nts and Settings\Kyle Lewis\Desktop\Conquer Online P-Server\Sources\hasan\AuthSe rver\Database\MYSQL\MySqlReader.cs:line 42 [Auth-Socket] Incomming connection to Test and password
Please could someone tell me why the database was unable to convert date and time(LastCheck), I've never came across an error like this before, So I would like to know how to fix it.
Thanks.
Edit: I've also changed, the name of the old fields, Username is now username(lowercaps), this is the same with most apart from LastActivity. I've also edited this on my project.