Hello! When im importing a new floor plan the room just shows black and this shows up in the emulator?
Code:
2017-07-27 16:31:42,378 ERROR - MySQL >> Error in query:
INSERT INTO `room_models` (`id`,`door_x`,`door_y`, `door_z`, `door_dir`,`heightmap`,`custom`,`wall_height`) VALUES (@ModelName, @DoorX, @DoorY, @DoorZ, @DoorDirection, @Map,'1',@WallHeight)
MySql.Data.MySqlClient.MySqlException (0x80004005): Field 'public_items' doesn't have a default value
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\Sledmore\Desktop\PlusEMU\Database\Adapter\QueryAdapter.cs:line 167
2017-07-27 16:31:42,611 ERROR - Exception >> Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Plus.HabboHotel.Rooms.Gamemap.ValidTile(Int32 X, Int32 Y) in C:\Users\Sledmore\Desktop\PlusEMU\HabboHotel\Rooms\GameMap.cs:line 1262
at Plus.HabboHotel.Rooms.RoomItemHandling.LoadFurniture() in C:\Users\Sledmore\Desktop\PlusEMU\HabboHotel\Rooms\RoomItemHandling.cs:line 155
at Plus.HabboHotel.Rooms.Room..ctor(RoomData Data) in C:\Users\Sledmore\Desktop\PlusEMU\HabboHotel\Rooms\Room.cs:line 161
at Plus.HabboHotel.Rooms.RoomManager.LoadRoom(Int32 Id) in C:\Users\Sledmore\Desktop\PlusEMU\HabboHotel\Rooms\RoomManager.cs:line 419
at Plus.HabboHotel.Users.Habbo.PrepareRoom(Int32 Id, String Password) in C:\Users\Sledmore\Desktop\PlusEMU\HabboHotel\Users\Habbo.cs:line 1175
at Plus.Communication.Packets.Incoming.Rooms.Connection.OpenFlatConnectionEvent.Parse(GameClient Session, ClientPacket Packet) in C:\Users\Sledmore\Desktop\PlusEMU\Communication\Packets\Incoming\Rooms\Connection\OpenFlatConnectionEvent.cs:line 18
at Plus.Communication.Packets.PacketManager.TryExecutePacket(GameClient Session, ClientPacket Packet) in C:\Users\Sledmore\Desktop\PlusEMU\Communication\Packets\PacketManager.cs:line 154
at Plus.HabboHotel.GameClients.GameClient.parser_onNewPacket(ClientPacket Message) in C:\Users\Sledmore\Desktop\PlusEMU\HabboHotel\GameClients\GameClient.cs:line 65