[Uber coder Needed]Floor, Wallpaper, WallItems For Private Rooms in Public Category

Bjork

Member
Feb 7, 2012
73
29
Hey, i'm currently playing coding with Uber and i have a little problem. When i go a private room listed in Public room category, the wallpaper, floor and wallitems don't load.

I know it has been corrected in phoenix 3.8.0.

Do you know how to fix this? I would appreciate.


Founded a solution. Replace the whole snippet:

Code:
private void GetPub()
        {
            uint Id = Request.PopWiredUInt();
 
            RoomData Data = UberEnvironment.GetGame().GetRoomManager().GenerateRoomData(Id);
 
            if (Data == null)
            {
                return;
            }
            if (Data.Type == "private")
            {
                GetResponse().Init(286);
                GetResponse().AppendBoolean(Data.IsPublicRoom);
                GetResponse().AppendUInt(Data.Id);
                SendResponse();
            }
            GetResponse().Init(453);
            GetResponse().AppendUInt(Data.Id);
            GetResponse().AppendStringWithBreak(Data.CCTs);
            GetResponse().AppendUInt(Data.Id);
            SendResponse();
        }

You're Welcome.
 

Users who are viewing this thread

Top