:floor error

Results 1 to 7 of 7
  1. #1
    Hakuna Matata Matata is offline
    MemberRank
    Sep 2012 Join Date
    DenmarkLocation
    807Posts

    :floor error

    So, I'm having a problem with the :floor command.
    You can change the height, remove tiles but you cannot add tiles. If you do so, you get disconnected - no errors thrown.

    This is how it looks:


    Also, the save button is greyed out and disabled.


  2. #2
    Gladius tehDrunk is offline
    MemberRank
    Mar 2013 Join Date
    216Posts

    Re: :floor error

    What emu and swf you're using?

  3. #3
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: :floor error

    I believe an event sends two composer packets, 1 with the door coords and the other with blocks that cannot be modified. Without that you may disconnect, at-least that's what I can remember from doing it previously.

  4. #4
    Hakuna Matata Matata is offline
    MemberRank
    Sep 2012 Join Date
    DenmarkLocation
    807Posts

    Re: :floor error

    Quote Originally Posted by Sledmore View Post
    I believe an event sends two composer packets, 1 with the door coords and the other with blocks that cannot be modified. Without that you may disconnect, at-least that's what I can remember from doing it previously.
    I just find it weird that it sends packets while editing in the editor. Isn't it all just clientsided except for the saving of the room?
    Also I didn't notice any unhandled packet exceptions in the log. But I'm new to this, so I'll just keep trying.

  5. #5
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: :floor error

    You need to send them before hand, so the SWF knows what can and cannot be edited. Afaik, it shouldn't send packets whilst it's being edited.

  6. #6
    Hakuna Matata Matata is offline
    MemberRank
    Sep 2012 Join Date
    DenmarkLocation
    807Posts

    Re: :floor error

    Quote Originally Posted by Sledmore View Post
    You need to send them before hand, so the SWF knows what can and cannot be edited. Afaik, it shouldn't send packets whilst it's being edited.
    Ah, I see. Thank you.
    No it shouldn't, that was why I didn't understand what you meant. I'm still learning to understand the habbo_scripts but I'll keep looking at it.

  7. #7
    Member K Camp is offline
    MemberRank
    Jun 2014 Join Date
    Spring BreakLocation
    58Posts

    Re: :floor error

    To get the save button working use this:

    Find

    PHP Code:
    public UserPerksComposer(GameClient Client) :base(ServerPacketHeader.UserPerksMessageComposer
    And replace the whole public into

    PHP Code:
    public UserPerksComposer(GameClient Client) : base(ServerPacketHeader.UserPerksMessageComposer)
    {
    base.WriteInteger(10);
    base.WriteString("EXPERIMENTAL_CHAT_BETA");
    base.WriteString("");
    base.WriteBoolean(true);
    base.WriteString("CITIZEN");
    base.WriteString("");
    base.WriteBoolean(true);
    base.WriteString("VOTE_IN_COMPETITIONS");
    base.WriteString("requirement.unfulfilled.helper_level_2");
    base.WriteBoolean(false);
    base.WriteString("NEW_UI");
    base.WriteString("");
    base.WriteBoolean(true);
    base.WriteString("USE_GUIDE_TOOL");
    base.WriteString("requirement.unfulfilled.helper_level_4");
    base.WriteBoolean(false);
    base.WriteString("BUILDER_AT_WORK");
    base.WriteString("");
    base.WriteBoolean(true);
    base.WriteString("JUDGE_CHAT_REVIEWS");
    base.WriteString("requirement.unfulfilled.helper_level_6");
    base.WriteBoolean(false);
    base.WriteString("EXPERIMENTAL_TOOLBAR");
    base.WriteString("requirement.unfulfilled.group_membership");
    base.WriteBoolean(false);
    base.WriteString("CALL_ON_HELPERS");
    base.WriteString("");
    base.WriteBoolean(true);
    base.WriteString("TRADE");
    base.WriteString("");
    base.WriteBoolean(true);

    Don't forget to like and give a good reputation.



Advertisement