Packet/Header updating part2
Hello!
I'm updating butterfly, but i have some problems i hope that someone can help me with 1 or more problems
Problem 1 - go in a room
When i try to get into a room i get this:
http://i.imgur.com/YtmxlNC.png
And when i click on inventory i get this:
http://i.imgur.com/ZjuaqFJ.png
Problem 2 - The hotel view
I get into thehotel view but he don't load fully, also the avatar don't load and the credits, duckets, diamonds don't come in the screen
http://i.imgur.com/aBAdaqZ.png
Problem 3 - The items in the cata
I got the cata working and the normal items load, but without the image and when i click on it i get this error:
Error caught when handling _-293::_-1wc: Error #1009
here is a screen of what i mean:
http://i.imgur.com/NqMxROw.png
The structures of the cata that i have:
Serialize cata items:
http://pastebin.com/Eyq78ZPv
Serialize cata pages:
http://pastebin.com/R8uB66yq
The release that i use is : RELEASE63-201410151001-47842918
-Wesley
- - - Updated - - -
UPDATE
Now, the hotelview loads more but not fully, the avatar and credits,diamonds etc. needs to be loaded but idk how
http://i.imgur.com/1ZD0fmc.png
Re: Packet/Header updating part2
Do someone knows the answer????
Re: Packet/Header updating part2
Seems like you don't have all your headers, What build are you updating from?
Re: Packet/Header updating part2
Quote:
Originally Posted by
Wotsuba
Seems like you don't have all your headers, What build are you updating from?
Hello,
I'm updating from the orginal RELEASE of butterfly r105.
I know that there missing a structure or that i need to send a extra outgoing packet, but the problem is, i dont know what packet or structure because i don't get a dc so i cant search the habbo scripts.
-Wesley
Sorry for my bad english
Re: Packet/Header updating part2
Update
I'm currently working on rooms, and i get finaly a dc!
It says the packet _-0Tr.ObjectsMessageParser what means the real packet number: 997 what means the packet name SerializeFloorItems/ObjectsMessageEvent
The whole void where the packet sends to the client : http://pastebin.com/tw0bQuXq
The piece of code with the structure is:
Quote:
message = PacketHandelingManager.GetRecycledItem(OutputCode.ObjectsMessageEvent); //362
//message.AddInt32(1);
message.AddInt32(1);
message.AddUInt32(CurrentLoadingRoom.OwnerId); //Is actually ownerID
message.AddString(CurrentLoadingRoom.Owner);
message = PacketHandelingManager.GetRecycledItem(OutputCode.ObjectsMessageEvent); //362
//message.AddInt32(1);
message.AddInt32(1);
message.AddUInt32(CurrentLoadingRoom.OwnerId); //Is actually ownerID
message.AddString(CurrentLoadingRoom.Owner);
message.AddInt32(floorItems.Length > RoomItem.MAX_ITEM_ALLOWED ? RoomItem.MAX_ITEM_ALLOWED : floorItems.Length);
//message.AddInt32(0);
int count = 0;
foreach (RoomItem Item in floorItems)
{
Item.Serialize(message);
if (count++ > RoomItem.MAX_ITEM_ALLOWED)
break;
}
Session.SendMessage(message);
message.AddInt32(floorItems.Length > RoomItem.MAX_ITEM_ALLOWED ? RoomItem.MAX_ITEM_ALLOWED : floorItems.Length);
//message.AddInt32(0);
int count = 0;
foreach (RoomItem Item in floorItems)
{
Item.Serialize(message);
if (count++ > RoomItem.MAX_ITEM_ALLOWED)
break;
}
Session.SendMessage(message);
I hope someone can help me!