Hey, I have seen, that sometimes after changeing the Furnidata.txt and using an Script for correct the Id's, sometimes there are Roomloading errors.
I made an fix for this Issue.
Open RoomItems.cs and find public RoomItem
Replace the following code
with thisCode:public RoomItem(uint Id, uint RoomId, uint BaseItem, string ExtraData, int X, int Y, Double Z, int Rot, string WallPos) { this.Id = Id; this.RoomId = RoomId; this.BaseItem = BaseItem; this.ExtraData = ExtraData; this.X = X; this.Y = Y; this.Z = Z; this.Rot = Rot; this.WallPos = WallPos; this.UpdateNeeded = false; this.UpdateCounter = 0; this.InteractingUser = 0; this.InteractingUser2 = 0; switch (GetBaseItem().InteractionType.ToLower()) { case "teleport": ReqUpdate(0); break; } }
I think it's not the best Fix, but it's a fixCode:public RoomItem(uint Id, uint RoomId, uint BaseItem, string ExtraData, int X, int Y, Double Z, int Rot, string WallPos) { using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient()) { int count = dbClient.ReadInt32("SELECT COUNT(id) as count FROM furniture WHERE id = " + BaseItem + ""); if (count == 0) { dbClient.ExecuteQuery("DELETE FROM room_items WHERE base_item = " + BaseItem + ""); } else { this.Id = Id; this.RoomId = RoomId; this.BaseItem = BaseItem; this.ExtraData = ExtraData; this.X = X; this.Y = Y; this.Z = Z; this.Rot = Rot; this.WallPos = WallPos; this.UpdateNeeded = false; this.UpdateCounter = 0; this.InteractingUser = 0; this.InteractingUser2 = 0; switch (GetBaseItem().InteractionType.ToLower()) { case "teleport": ReqUpdate(0); break; } } } }
I have testet it and I was first kicked out of the Hotel, but when I loadet the Room an second time, it worked perfectly...
So it seems, that you are going to get kicked out of the hotel, but after this it will work ;)
This was testet with BubbaEmulator by PinkFruit & Technik.Freak.
I don't know if it will work with other Emus...



![[FIX][Uber] Room loading error](http://ragezone.com/hyper728.png)

