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
Couple Issues
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="randrab33" data-source="post: 420367" data-attributes="member: 77664"><p>Hi,</p><p>I have couple issues with my emu.</p><p>I use PlusEMU.</p><p>Here's the first.</p><p>[CODE]INSERT INTO `user_wardrobe` (`user_id`,`slot_id`,`look`,`gender`) VALUES (@id,@slot,@look,@gender)</p><p>MySql.Data.MySqlClient.MySqlException (0x80004005): Data too long for column 'look' at row 1</p><p> at MySql.Data.MySqlClient.MySqlStream.ReadPacket()</p><p> at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)</p><p> at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)</p><p> at MySql.Data.MySqlClient.MySqlDataReader.NextResult()</p><p> at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)</p><p> at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()</p><p> at Plus.Database.Adapter.QueryAdapter.RunQuery() in C:\Users\Administrator\Desktop\projectalaska crackable\Database\Adapter\QueryAdapter.cs:line 198</p><p></p><p>[/CODE]</p><p></p><p>Secondly,</p><p>[CODE]System.IndexOutOfRangeException: Index was outside the bounds of the array.</p><p> at Plus.HabboHotel.Rooms.Chat.Commands.User.ColorSetCommand.Execute(GameClient Session, Room Room, String[] Params) in C:\Users\Administrator\Desktop\projectalaska crackable\HabboHotel\Rooms\Chat\Commands\User\ColorSetCommand.cs:line 14</p><p> at Plus.HabboHotel.Rooms.Chat.Commands.CommandManager.Parse(GameClient Session, String Message) in C:\Users\Administrator\Desktop\projectalaska crackable\HabboHotel\Rooms\Chat\Commands\CommandManager.cs:line 106</p><p> at Plus.Communication.Packets.Incoming.Rooms.Chat.ChatEvent.Parse(GameClient Session, ClientPacket Packet) in C:\Users\Administrator\Desktop\projectalaska crackable\Communication\Packets\Incoming\Rooms\Chat\ChatEvent.cs:line 73</p><p> at Plus.Communication.Packets.PacketManager.TryExecutePacket(GameClient Session, ClientPacket Packet) in C:\Users\Administrator\Desktop\projectalaska crackable\Communication\Packets\PacketManager.cs:line 155</p><p> at Plus.HabboHotel.GameClients.GameClient.parser_onNewPacket(ClientPacket Message) in C:\Users\Administrator\Desktop\projectalaska crackable\HabboHotel\GameClients\GameClient.cs:line 76</p><p>[/CODE]</p><p></p><p>Here's the ColorSetCommand area I believe is causing the error.</p><p>[CODE]</p><p> using (IQueryAdapter dbClient = PlusEnvironment.GetDatabaseManager().GetQueryReactor())</p><p> {</p><p> try</p><p> {</p><p> dbClient.SetQuery("SELECT hex FROM colors WHERE color = '" + colorName + "'");</p><p> ColorSelected = dbClient.GetString();</p><p> Session.SendWhisper(colorName + " has been set");</p><p> if (ColorSelected == string.Empty)</p><p> {</p><p> Session.SendWhisper("Oops, we do not have that colour! Check ':setcolor list'.");</p><p> return;</p><p> }</p><p> }catch(Exception)</p><p> {</p><p> Session.SendWhisper("Oops, we do not have that colour! Check ':setcolor list'.");</p><p> return;</p><p> }</p><p> </p><p> }[/CODE]</p></blockquote><p></p>
[QUOTE="randrab33, post: 420367, member: 77664"] Hi, I have couple issues with my emu. I use PlusEMU. Here's the first. [CODE]INSERT INTO `user_wardrobe` (`user_id`,`slot_id`,`look`,`gender`) VALUES (@id,@slot,@look,@gender) MySql.Data.MySqlClient.MySqlException (0x80004005): Data too long for column 'look' at row 1 at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at Plus.Database.Adapter.QueryAdapter.RunQuery() in C:\Users\Administrator\Desktop\projectalaska crackable\Database\Adapter\QueryAdapter.cs:line 198 [/CODE] Secondly, [CODE]System.IndexOutOfRangeException: Index was outside the bounds of the array. at Plus.HabboHotel.Rooms.Chat.Commands.User.ColorSetCommand.Execute(GameClient Session, Room Room, String[] Params) in C:\Users\Administrator\Desktop\projectalaska crackable\HabboHotel\Rooms\Chat\Commands\User\ColorSetCommand.cs:line 14 at Plus.HabboHotel.Rooms.Chat.Commands.CommandManager.Parse(GameClient Session, String Message) in C:\Users\Administrator\Desktop\projectalaska crackable\HabboHotel\Rooms\Chat\Commands\CommandManager.cs:line 106 at Plus.Communication.Packets.Incoming.Rooms.Chat.ChatEvent.Parse(GameClient Session, ClientPacket Packet) in C:\Users\Administrator\Desktop\projectalaska crackable\Communication\Packets\Incoming\Rooms\Chat\ChatEvent.cs:line 73 at Plus.Communication.Packets.PacketManager.TryExecutePacket(GameClient Session, ClientPacket Packet) in C:\Users\Administrator\Desktop\projectalaska crackable\Communication\Packets\PacketManager.cs:line 155 at Plus.HabboHotel.GameClients.GameClient.parser_onNewPacket(ClientPacket Message) in C:\Users\Administrator\Desktop\projectalaska crackable\HabboHotel\GameClients\GameClient.cs:line 76 [/CODE] Here's the ColorSetCommand area I believe is causing the error. [CODE] using (IQueryAdapter dbClient = PlusEnvironment.GetDatabaseManager().GetQueryReactor()) { try { dbClient.SetQuery("SELECT hex FROM colors WHERE color = '" + colorName + "'"); ColorSelected = dbClient.GetString(); Session.SendWhisper(colorName + " has been set"); if (ColorSelected == string.Empty) { Session.SendWhisper("Oops, we do not have that colour! Check ':setcolor list'."); return; } }catch(Exception) { Session.SendWhisper("Oops, we do not have that colour! Check ':setcolor list'."); return; } }[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Couple Issues
Top