Server is running but the client doesn't launch and this is the message I get from AccServer logs
05:05:28.393 [Error] (7) Error on MsgAccount processing! "Unable to cast object of type 'System.DBNull' to type 'System.Guid'."
System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.Guid'.
at MySqlConnector.Core.Row.GetGuid(Int32 ordinal) in /_/src/MySqlConnector/Core/Row.cs:line 213
at MySqlConnector.MySqlDataReader.GetGuid(Int32 ordinal) in /_/src/MySqlConnector/MySqlDataReader.cs:line 234
at lambda_method134(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable
1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable1 source, Boolean& found)
at lambda_method135(Closure, QueryContext)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable
1 source)
at Long.Login.Database.Repositories.AccountRepository.GetByUsername(String username) in E:\OpenLong-main\OpenLong-main\src\Long.Login\Database\Repositories\AccountRepository.cs:line 10
at Long.Login.Network.Login.Packets.MsgAccount.ProcessAsync(LoginClient client) in E:\OpenLong-main\OpenLong-main\src\Long.Login\Network\Login\Packets\MsgAccount.cs:line 50
05:06:57.627 [Information] (18) User "test" has logged in on realm "WarLord"
05:06:57.644 [Warning] (15) Packet[MsgPCNum] Length[52] not handled by server.
0000: 34 00 4C 04 83 3F 60 AD 30 41 30 30 32 37 30 30 | 4.L..?.0A002700 |
0010: 30 30 31 32 00 00 00 00 00 00 00 00 00 00 00 00 | 0012............ |
0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ |
0030: 00 00 00 00 | .... |