Packet/Header updating part2

Results 1 to 5 of 5
  1. #1
    Valued Member wesley66101 is offline
    MemberRank
    Oct 2013 Join Date
    105Posts

    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:


    And when i click on inventory i get this:


    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


    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:


    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
    Last edited by wesley66101; 08-02-15 at 03:45 PM. Reason: Wrong image pasted


  2. #2
    Valued Member wesley66101 is offline
    MemberRank
    Oct 2013 Join Date
    105Posts

    Re: Packet/Header updating part2

    Do someone knows the answer????

  3. #3
    Proficient Member jaden83 is offline
    MemberRank
    Oct 2014 Join Date
    DESKTOP-2FLLV85Location
    176Posts

    Re: Packet/Header updating part2

    Seems like you don't have all your headers, What build are you updating from?

  4. #4
    Valued Member wesley66101 is offline
    MemberRank
    Oct 2013 Join Date
    105Posts

    Re: Packet/Header updating part2

    Quote Originally Posted by Wotsuba View Post
    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

  5. #5
    Valued Member wesley66101 is offline
    MemberRank
    Oct 2013 Join Date
    105Posts

    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:
    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!



Advertisement