Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
I need help with this Plus Emu Bug...
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="HonkyWam" data-source="post: 255747" data-attributes="member: 9988"><p>Well, first of all when you get on client on the emulator it pops up critical error logged. I checked my Critical Exceptions and I got this</p><p></p><p>[CODE]Bug duing user login: System.FormatException: Input string was not in a correct format.</p><p> at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)</p><p> at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)</p><p> at Silverwave.HabboHotel.Users.Authenticator.HabboFactory.GenerateHabbo(DataRow dRow, DataRow mRow, List`1 group) in C:\Users\root\Desktop\Silverwave\Silverwave Emulator\HabboHotel\Users\Authenticator\Authenticator.cs:line 43</p><p> at Silverwave.HabboHotel.Users.UserDataManagement.UserDataFactory.GetUserData(String sessionTicket, String ip, Byte& errorCode) in C:\Users\root\Desktop\Silverwave\Silverwave Emulator\HabboHotel\Users\UserData\UserDataFactory.cs:line 440</p><p> at Silverwave.HabboHotel.GameClients.GameClient.tryLogin(String AuthTicket) in C:\Users\root\Desktop\Silverwave\Silverwave Emulator\HabboHotel\GameClients\GameClient.cs:line 134</p><p>[/CODE]</p><p><span style="color: rgb(0, 0, 255)"></span></p><p><span style="color: rgb(0, 0, 255)">Here are the files of the errors are supposibly located just in case you need to check them.</span></p><p><span style="color: rgb(0, 0, 255)"></span></p><p>Authenticator.cs</p><p>[CODE]using System;</p><p>using System.Data;</p><p>using Silverwave.HabboHotel.GameClients;</p><p>using Silverwave.HabboHotel.Groups;</p><p>using System.Collections.Generic;</p><p></p><p>namespace Silverwave.HabboHotel.Users.Authenticator</p><p>{</p><p> static class HabboFactory</p><p> {</p><p> internal static Habbo GenerateHabbo(DataRow dRow, DataRow mRow, List<GroupUser> group)</p><p> {</p><p> uint id = Convert.ToUInt32(dRow["id"]);</p><p> string username = (string)dRow["username"];</p><p> string realname = (string)dRow["real_name"];</p><p> uint rank = Convert.ToUInt32(dRow["rank"]);</p><p> string motto = (string)dRow["motto"];</p><p> string look = (string)dRow["look"];</p><p> string gender = (string)dRow["gender"];</p><p> int lastonline = (int)dRow["last_online"];</p><p> int credits = (int)dRow["credits"];</p><p> int activityPoints = (int)dRow["activity_points"];</p><p> double activityPointsLastUpdate = Convert.ToDouble(dRow["activity_points_lastupdate"]);</p><p> bool isMuted = SilverwaveEnvironment.EnumToBool(dRow["is_muted"].ToString());</p><p> uint homeRoom = Convert.ToUInt32(dRow["home_room"]);</p><p> int respect = (Int32)mRow["Respect"];</p><p> int dailyRespect = (int)mRow["DailyRespectPoints"];</p><p> int dailyPetRespect = (int)mRow["DailyPetRespectPoints"];</p><p> bool mtantPenalty = (dRow["mutant_penalty"].ToString() != "0");</p><p> bool blockFriends = SilverwaveEnvironment.EnumToBool(dRow["block_newfriends"].ToString());</p><p> bool AppearOffline = SilverwaveEnvironment.EnumToBool(dRow["hide_online"].ToString());</p><p> bool HideFromRoom = SilverwaveEnvironment.EnumToBool(dRow["hide_inroom"].ToString());</p><p> uint questID = Convert.ToUInt32(mRow["quest_id"]);</p><p> int questProgress = (int)mRow["quest_progress"];</p><p> int achiecvementPoints = (int)mRow["AchievementScore"];</p><p> bool vip = SilverwaveEnvironment.EnumToBool(dRow["vip"].ToString());</p><p> double Createtime = Convert.ToDouble(dRow["account_created"]);</p><p> bool online = SilverwaveEnvironment.EnumToBool(dRow["online"].ToString());</p><p> bool isguide = SilverwaveEnvironment.EnumToBool(dRow["is_guide"].ToString());</p><p> bool Blockwhisper = (dRow["whisper_enabled"].ToString() == "1") ? false : true;</p><p> bool mys = false;</p><p> int key = (int)dRow["key_colour"];</p><p> int Sc = int.Parse(dRow["belcredits"].ToString());</p><p> uint favid = uint.Parse(mRow["groupid"].ToString());</p><p> int LastChange = (int)dRow["last_change"];</p><p> return new Habbo(id, username, realname, rank, motto, look, gender, credits, activityPoints, activityPointsLastUpdate, isMuted,</p><p> homeRoom, respect, dailyRespect, dailyPetRespect, mtantPenalty, blockFriends, questID, questProgress, achiecvementPoints,</p><p> lastonline, AppearOffline, HideFromRoom, vip, Createtime, online, isguide, Blockwhisper, Sc, mys, key, group, favid, LastChange);</p><p> }</p><p> }</p><p>}</p><p>[/CODE]</p><p>UserData.cs</p><p>[CODE]using System.Collections;</p><p>using System.Collections.Generic;</p><p>using Silverwave.HabboHotel.Items;</p><p>using Silverwave.HabboHotel.Pets;</p><p>using Silverwave.HabboHotel.Rooms;</p><p>using Silverwave.HabboHotel.Users.Badges;</p><p>using Silverwave.HabboHotel.Users.Inventory;</p><p>using Silverwave.HabboHotel.Users.Subscriptions;</p><p>using Silverwave.HabboHotel.Users;</p><p>using Silverwave.HabboHotel.Users.Messenger;</p><p>using Silverwave.HabboHotel.Achievements;</p><p>using Silverwave.HabboHotel.RoomBots;</p><p>using Silverwave.HabboHotel.Users.Relationships;</p><p></p><p>namespace Silverwave.HabboHotel.Users.UserDataManagement</p><p>{</p><p> class UserData</p><p> {</p><p> internal uint userID;</p><p></p><p> internal Dictionary<string, UserAchievement> achievements;</p><p> internal List<uint> favouritedRooms;</p><p> internal List<uint> ignores;</p><p> internal List<string> tags;</p><p> internal Subscription subscriptions;</p><p> internal List<Badge> badges;</p><p> internal List<UserItem> inventory;</p><p> internal Hashtable inventorySongs;</p><p> internal List<AvatarEffect> effects;</p><p> internal Dictionary<uint, MessengerBuddy> friends;</p><p> internal Dictionary<uint, MessengerRequest> requests;</p><p> internal List<RoomData> rooms;</p><p> internal Dictionary<uint, Pet> pets;</p><p> internal Dictionary<uint, int> quests;</p><p> internal Habbo user;</p><p> internal Dictionary<uint, RoomBot> Botinv;</p><p> internal Dictionary<int, Relationship> Relations;</p><p></p><p> public UserData(uint userID, Dictionary<string, UserAchievement> achievements, List<uint> favouritedRooms, List<uint> ignores, List<string> tags,</p><p> Subscription Sub, List<Badge> badges, List<UserItem> inventory, List<AvatarEffect> effects,</p><p> Dictionary<uint, MessengerBuddy> friends, Dictionary<uint, MessengerRequest> requests, List<RoomData> rooms, Dictionary<uint, Pet> pets, Dictionary<uint, int> quests, Hashtable inventorySongs, Habbo user, Dictionary<uint, RoomBot> bots,</p><p> Dictionary<int, Relationship> Relations)</p><p> {</p><p> this.userID = userID;</p><p> this.achievements = achievements;</p><p> this.favouritedRooms = favouritedRooms;</p><p> this.ignores = ignores;</p><p> this.tags = tags;</p><p> this.subscriptions = Sub;</p><p> this.badges = badges;</p><p> this.inventory = inventory;</p><p> this.effects = effects;</p><p> this.friends = friends;</p><p> this.requests = requests;</p><p> this.rooms = rooms;</p><p> this.pets = pets;</p><p> this.quests = quests;</p><p> this.inventorySongs = inventorySongs;</p><p> this.user = user;</p><p> this.Botinv = bots;</p><p> this.Relations = Relations;</p><p> }</p><p> }</p><p>}</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="HonkyWam, post: 255747, member: 9988"] Well, first of all when you get on client on the emulator it pops up critical error logged. I checked my Critical Exceptions and I got this [CODE]Bug duing user login: System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at Silverwave.HabboHotel.Users.Authenticator.HabboFactory.GenerateHabbo(DataRow dRow, DataRow mRow, List`1 group) in C:\Users\root\Desktop\Silverwave\Silverwave Emulator\HabboHotel\Users\Authenticator\Authenticator.cs:line 43 at Silverwave.HabboHotel.Users.UserDataManagement.UserDataFactory.GetUserData(String sessionTicket, String ip, Byte& errorCode) in C:\Users\root\Desktop\Silverwave\Silverwave Emulator\HabboHotel\Users\UserData\UserDataFactory.cs:line 440 at Silverwave.HabboHotel.GameClients.GameClient.tryLogin(String AuthTicket) in C:\Users\root\Desktop\Silverwave\Silverwave Emulator\HabboHotel\GameClients\GameClient.cs:line 134 [/CODE] [COLOR=rgb(0, 0, 255)] Here are the files of the errors are supposibly located just in case you need to check them. [/COLOR] Authenticator.cs [CODE]using System; using System.Data; using Silverwave.HabboHotel.GameClients; using Silverwave.HabboHotel.Groups; using System.Collections.Generic; namespace Silverwave.HabboHotel.Users.Authenticator { static class HabboFactory { internal static Habbo GenerateHabbo(DataRow dRow, DataRow mRow, List<GroupUser> group) { uint id = Convert.ToUInt32(dRow["id"]); string username = (string)dRow["username"]; string realname = (string)dRow["real_name"]; uint rank = Convert.ToUInt32(dRow["rank"]); string motto = (string)dRow["motto"]; string look = (string)dRow["look"]; string gender = (string)dRow["gender"]; int lastonline = (int)dRow["last_online"]; int credits = (int)dRow["credits"]; int activityPoints = (int)dRow["activity_points"]; double activityPointsLastUpdate = Convert.ToDouble(dRow["activity_points_lastupdate"]); bool isMuted = SilverwaveEnvironment.EnumToBool(dRow["is_muted"].ToString()); uint homeRoom = Convert.ToUInt32(dRow["home_room"]); int respect = (Int32)mRow["Respect"]; int dailyRespect = (int)mRow["DailyRespectPoints"]; int dailyPetRespect = (int)mRow["DailyPetRespectPoints"]; bool mtantPenalty = (dRow["mutant_penalty"].ToString() != "0"); bool blockFriends = SilverwaveEnvironment.EnumToBool(dRow["block_newfriends"].ToString()); bool AppearOffline = SilverwaveEnvironment.EnumToBool(dRow["hide_online"].ToString()); bool HideFromRoom = SilverwaveEnvironment.EnumToBool(dRow["hide_inroom"].ToString()); uint questID = Convert.ToUInt32(mRow["quest_id"]); int questProgress = (int)mRow["quest_progress"]; int achiecvementPoints = (int)mRow["AchievementScore"]; bool vip = SilverwaveEnvironment.EnumToBool(dRow["vip"].ToString()); double Createtime = Convert.ToDouble(dRow["account_created"]); bool online = SilverwaveEnvironment.EnumToBool(dRow["online"].ToString()); bool isguide = SilverwaveEnvironment.EnumToBool(dRow["is_guide"].ToString()); bool Blockwhisper = (dRow["whisper_enabled"].ToString() == "1") ? false : true; bool mys = false; int key = (int)dRow["key_colour"]; int Sc = int.Parse(dRow["belcredits"].ToString()); uint favid = uint.Parse(mRow["groupid"].ToString()); int LastChange = (int)dRow["last_change"]; return new Habbo(id, username, realname, rank, motto, look, gender, credits, activityPoints, activityPointsLastUpdate, isMuted, homeRoom, respect, dailyRespect, dailyPetRespect, mtantPenalty, blockFriends, questID, questProgress, achiecvementPoints, lastonline, AppearOffline, HideFromRoom, vip, Createtime, online, isguide, Blockwhisper, Sc, mys, key, group, favid, LastChange); } } } [/CODE] UserData.cs [CODE]using System.Collections; using System.Collections.Generic; using Silverwave.HabboHotel.Items; using Silverwave.HabboHotel.Pets; using Silverwave.HabboHotel.Rooms; using Silverwave.HabboHotel.Users.Badges; using Silverwave.HabboHotel.Users.Inventory; using Silverwave.HabboHotel.Users.Subscriptions; using Silverwave.HabboHotel.Users; using Silverwave.HabboHotel.Users.Messenger; using Silverwave.HabboHotel.Achievements; using Silverwave.HabboHotel.RoomBots; using Silverwave.HabboHotel.Users.Relationships; namespace Silverwave.HabboHotel.Users.UserDataManagement { class UserData { internal uint userID; internal Dictionary<string, UserAchievement> achievements; internal List<uint> favouritedRooms; internal List<uint> ignores; internal List<string> tags; internal Subscription subscriptions; internal List<Badge> badges; internal List<UserItem> inventory; internal Hashtable inventorySongs; internal List<AvatarEffect> effects; internal Dictionary<uint, MessengerBuddy> friends; internal Dictionary<uint, MessengerRequest> requests; internal List<RoomData> rooms; internal Dictionary<uint, Pet> pets; internal Dictionary<uint, int> quests; internal Habbo user; internal Dictionary<uint, RoomBot> Botinv; internal Dictionary<int, Relationship> Relations; public UserData(uint userID, Dictionary<string, UserAchievement> achievements, List<uint> favouritedRooms, List<uint> ignores, List<string> tags, Subscription Sub, List<Badge> badges, List<UserItem> inventory, List<AvatarEffect> effects, Dictionary<uint, MessengerBuddy> friends, Dictionary<uint, MessengerRequest> requests, List<RoomData> rooms, Dictionary<uint, Pet> pets, Dictionary<uint, int> quests, Hashtable inventorySongs, Habbo user, Dictionary<uint, RoomBot> bots, Dictionary<int, Relationship> Relations) { this.userID = userID; this.achievements = achievements; this.favouritedRooms = favouritedRooms; this.ignores = ignores; this.tags = tags; this.subscriptions = Sub; this.badges = badges; this.inventory = inventory; this.effects = effects; this.friends = friends; this.requests = requests; this.rooms = rooms; this.pets = pets; this.quests = quests; this.inventorySongs = inventorySongs; this.user = user; this.Botinv = bots; this.Relations = Relations; } } } [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
I need help with this Plus Emu Bug...
Top