cyberxwarez
New Member
- Mar 9, 2013
- 5
- 0
When you add a room on the public and you will be logged out when you open the Navigator
Go to: Butterfly/habbohotel/Navigators and then open Navigator.cs with notepad
it will be a code there
Replace it with:
And then you just input a room in the database at navigator_publics_new ^_^
sorry for bad english, again
Go to: Butterfly/habbohotel/Navigators and then open Navigator.cs with notepad
it will be a code there
Replace it with:
Code:
internal ServerMessage SerializePublicRooms()
{
ServerMessage message = new ServerMessage(Outgoing.SerializePublicRooms);
message.AppendInt32(this.PublicItems.Count);
foreach (PublicItem item in this.PublicItems.Values)
{
if (item.ParentId <= 0)
{
item.Serialize(message);
if (item.itemType == PublicItemType.CATEGORY)
{
foreach (PublicItem item2 in this.PublicItems.Values)
{
if (item.Id == item2.ParentId)
{
item2.Serialize(message);
}
}
}
}
}
message.AppendInt32((this.PublicItems.Count > 0) ? 1 : 0);
if (this.PublicItems.Count > 0)
{
int num = new Random().Next(1, this.PublicItems.Count);
try
{
this.PublicItems[num].Serialize(message);
}
catch
{
this.PublicItems[1].Serialize(message);
}
}
message.AppendInt32(0);
return message;
}
And then you just input a room in the database at navigator_publics_new ^_^
sorry for bad english, again