:floor error

Joined
Sep 5, 2012
Messages
804
Reaction score
137
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:
Matata - :floor error - RaGEZONE Forums


Also, the save button is greyed out and disabled.
 
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.
 
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0
To get the save button working use this:

Find

PHP:
public UserPerksComposer(GameClient Client) :base(ServerPacketHeader.UserPerksMessageComposer)

And replace the whole public into

PHP:
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.
 
Upvote 0
Back