MirkoSS
New Member
- Mar 2, 2017
- 5
- 0
Hello,
i have error on plus by sledmore rev 2.
The code on C#
@Sledmore
i have error on plus by sledmore rev 2.
Code:
2017-04-09 11:52:31,840 ERROR - Exception >> Exception:
System.InvalidCastException: Unable to cast to type 'System.Int32 objects' on the type 'System.String'.
in Plus.HabboHotel.Users.UserData.UserDataFactory.GetUserData(String SessionTicket, Byte& errorCode) in C:\Users\Administrator\Desktop\HappyEMU - Marzo\HabboHotel\Users\UserData\UserDataFactory.cs:riga 190
in Plus.HabboHotel.GameClients.GameClient.TryAuthenticate(String AuthTicket) in C:\Users\Administrator\Desktop\HappyEMU - Marzo\HabboHotel\GameClients\GameClient.cs:riga 99
Code:
Dictionary<string, Subscription> subscriptions = new Dictionary<string, Subscription>();
foreach (DataRow dataRow in Subscriptions.Rows)
{
string str = (string)dataRow["subscription_id"];
int TimeExpire = (int)dataRow["timestamp_expire"];
subscriptions.Add(str, new Subscription(str, TimeExpire));