I said that from the beginning of Source thread.
Printable View
Just a couple things to keep in mind for this build (minus the stuff that's been fixed already):
- Setting a cata page to minrank > 1 only shows up for the highest user, not the actual rank you set it to. (IE minrank 2 doesn't actually show for rank 2, but rank 8 (if 8 is your highest rank))
- Friendslist deletes itself on reload of the client
I'll try and fix myself but if someone wants to beat me to it, by all means.
Post from the official topic. Anyone got a solution yet? Tried to fix it myself to no avail.
Error in query:
INSERT INTO rooms (roomtype,caption,owner,model_name) VALUES ('private',@caption,@username,@model)
MySql.Data.MySqlClient.MySqlException (0x80004005): Field 'description' doesn't have a default value
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int32& 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.ExecuteScalar()
at Database_Manager.Database.Session_Details.QueryAdapter.insertQuery() in C:\Users\Gabriel\C#\Bfly\Bfly\Database Manager\Database_Manager\Database\Session_Details\QueryAdapter.cs:line 175
I try to update description to Default value 0 but I get: #1101 - BLOB/TEXT column 'description' can't have a default value
Change it from text to varchar - and default should be Empty String
I had to change description, tags, password, public ccts to default, I'm guessing there's even more columns that need to be updated, hopefully someone releases a full working db :/
Now I'm getting this error and doesn't even log in to client
TokenID: 1Invalid Dario bug duing user login: System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.
at Butterfly.HabboHotel.Rooms.RoomData.Fill(DataRow Row) in C:\Users\Gabriel\C#\Bfly\Bfly\Butterfly Emulator\HabboHotel\Rooms\RoomData.cs:line 115
at Butterfly.HabboHotel.Rooms.RoomManager.FetchRoomData(UInt32 RoomId, DataRow dRow) in C:\Users\Gabriel\C#\Bfly\Bfly\Butterfly Emulator\HabboHotel\Rooms\RoomManager.cs:line 214
at Butterfly.HabboHotel.Users.UserDataManagement.UserDataFactory.GetUserData(String sessionTicket, String ip, Byte& errorCode) in C:\Users\Gabriel\C#\Bfly\Bfly\Butterfly Emulator\HabboHotel\Users\UserData\UserDataFactory.cs:line 343
at Butterfly.HabboHotel.GameClients.GameClient.tryLogin(String AuthTicket) in C:\Users\Gabriel\C#\Bfly\Bfly\Butterfly Emulator\HabboHotel\GameClients\GameClient.cs:line 123
TokenID: 1Invalid Dario bug duing user login: System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.
at Butterfly.HabboHotel.Rooms.RoomData.Fill(DataRow Row) in C:\Users\Gabriel\C#\Bfly\Bfly\Butterfly Emulator\HabboHotel\Rooms\RoomData.cs:line 115
at Butterfly.HabboHotel.Rooms.RoomManager.FetchRoomData(UInt32 RoomId, DataRow dRow) in C:\Users\Gabriel\C#\Bfly\Bfly\Butterfly Emulator\HabboHotel\Rooms\RoomManager.cs:line 214
at Butterfly.HabboHotel.Users.UserDataManagement.UserDataFactory.GetUserData(String sessionTicket, String ip, Byte& errorCode) in C:\Users\Gabriel\C#\Bfly\Bfly\Butterfly Emulator\HabboHotel\Users\UserData\UserDataFactory.cs:line 343
at Butterfly.HabboHotel.GameClients.GameClient.tryLogin(String AuthTicket) in C:\Users\Gabriel\C#\Bfly\Bfly\Butterfly Emulator\HabboHotel\GameClients\GameClient.cs:line 123
TokenID: 1Invalid Dario bug duing user login: System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.
at Butterfly.HabboHotel.Rooms.RoomData.Fill(DataRow Row) in C:\Users\Gabriel\C#\Bfly\Bfly\Butterfly Emulator\HabboHotel\Rooms\RoomData.cs:line 115
at Butterfly.HabboHotel.Rooms.RoomManager.FetchRoomData(UInt32 RoomId, DataRow dRow) in C:\Users\Gabriel\C#\Bfly\Bfly\Butterfly Emulator\HabboHotel\Rooms\RoomManager.cs:line 214
at Butterfly.HabboHotel.Users.UserDataManagement.UserDataFactory.GetUserData(String sessionTicket, String ip, Byte& errorCode) in C:\Users\Gabriel\C#\Bfly\Bfly\Butterfly Emulator\HabboHotel\Users\UserData\UserDataFactory.cs:line 343
at Butterfly.HabboHotel.GameClients.GameClient.tryLogin(String AuthTicket) in C:\Users\Gabriel\C#\Bfly\Bfly\Butterfly Emulator\HabboHotel\GameClients\GameClient.cs:line 123
Mind posting a fixed db that works with this? I'm having no luck, fixing one thing to having another error
Actually I erased the log and it kept making that error plus on the console it said CRITICAL ERROR LOGGED, just post your db please so I can get it to work finally lol
Your readme should say:
Butterfly Emulator -> By; martinmine
uberEmulator -> by Meth0d
Ion -> by Nillus
Thor -> by JoeH
Since Thor is what Ion is based off, which is what Meth0d renamed and used to make it seem like Uber was all from scratch despite the fact Ion lets you use it anyway you want without any requirements (license). Anywho js if you're going to give credits give them to Thor and Ion as well. :)
BielzDev: I fixed the messenger glitch for you, but can you fix the cata_pages one? Where minrank doesn't work.