PureDesire
New Member
- Aug 15, 2018
- 2
- 0
So ive added the fix and everything and it still isnt working. Im using my own CMS from scratch but auth is coded correctly in cms. Users auth_ticket is updated like it should and it inserts into user_auth_tickets and truncates as planned but, I get this error and never get past 76%.
Thanks in advance!!!
Code:
Bug during user login: System.InvalidCastException: Object cannot be cast from DBNull to other types.
at System.DBNull.System.IConvertible.ToDouble(IFormatProvider provider)
at Emulator.HabboHotel.Users.Authenticator.HabboFactory.GenerateHabbo(DataRow Row, DataRow UserInfo) in C:\Users\trever.wertman.N1XLAB\Desktop\Emulator\HabboHotel\Users\Authenticator\Authenticator.cs:line 10
at Emulator.HabboHotel.Users.UserData.UserDataFactory.GetUserData(String SessionTicket, Byte& errorCode) in C:\Users\trever.wertman.N1XLAB\Desktop\Emulator\HabboHotel\Users\UserData\UserDataFactory.cs:line 192
at Emulator.HabboHotel.GameClients.GameClient.TryAuthenticate(String AuthTicket) in C:\Users\trever.wertman.N1XLAB\Desktop\Emulator\HabboHotel\GameClients\GameClient.cs:line 110
Thanks in advance!!!