Hi guys,
Some users on my hotel get a CRITICAL ERROR.
That's what is being displayed on my EMU.
In the ERRORLOG stands this:When i got to UserDataFactory.cs on that line stands this.Code:Bug duing user login: System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'. at Silverwave.HabboHotel.Users.UserDataManagement.UserDataFactory.GetUserData(String sessionTicket, String ip, Byte& errorCode) in e:\Documents\Emulator [L]\Emulator [L]\Plus Emulator\HabboHotel\Users\UserData\UserDataFactory.cs:line 270 at Silverwave.HabboHotel.GameClients.GameClient.tryLogin(String AuthTicket) in e:\Documents\Emulator [L]\Emulator [L]\Plus Emulator\HabboHotel\GameClients\GameClient.cs:line 133And when i go to GameClient.cs on that line stands this.Code:if (!DBNull.Value.Equals(dRow[4])) extraData = (string)dRow[4];Does anyone know something to fix this ?Code:UserData userData = UserDataFactory.GetUserData(AuthTicket, ip, out errorCode); if (errorCode == 1)
Kind Regards,
HabbitBE



Reply With Quote


