- Joined
- Jan 24, 2009
- Messages
- 226
- Reaction score
- 166
Many people had questions about the inventory that it didn't load in new swf.
In the new swf (RELEASE63-32073-31958-201103102307) are the inventory packets changed.
Here how to fix the loading of the inventory
Into /HabboHotel/Users/Inventory/InventoryComponent.cs search for:
Replace whole void with:
Into /HabboHotel/Items/UserItem.cs search for:
Above it Remove:
In the new swf (RELEASE63-32073-31958-201103102307) are the inventory packets changed.
Here how to fix the loading of the inventory
Into /HabboHotel/Users/Inventory/InventoryComponent.cs search for:
PHP:
public ServerMessage SerializeItemInventory()
PHP:
public ServerMessage SerializeItemInventory()
{
ServerMessage Message = new ServerMessage(140);
Message.AppendStringWithBreak("S");
Message.AppendInt32(1);
Message.AppendInt32(1);
Message.AppendInt32(this.ItemCount);
lock (this.InventoryItems)
{
List<UserItem>.Enumerator eItems = this.InventoryItems.GetEnumerator();
while (eItems.MoveNext())
{
eItems.Current.Serialize(Message, true);
}
}
return Message;
}
Into /HabboHotel/Items/UserItem.cs search for:
PHP:
Message.AppendStringWithBreak(GetBaseItem().Type.ToUpper());
PHP:
Message.AppendInt32(0);
Last edited:

