Updating Packets

JayC

Always Learning
Aug 8, 2013
5,504
1,401
Hey Devbest,

So I am trying to update to the newest SWF I got most of it updated here but I am having an issue with loading rooms. Here's what I got.
Code:
public const int GetGuestRoomResultMessageComposer = 887;
Code:
_SafeStr_6354[887] = _SafeStr_2675;
Code:
public class _SafeStr_2675 extends _SafeStr_2278 implements _SafeStr_2275
    {

        public function _SafeStr_2675(k:Function)
        {
            super(k, _SafeStr_2680);
        }
        public function _SafeStr_5339():_SafeStr_2680
        {
            return ((this._SafeStr_5340 as _SafeStr_2680));
        }

    }
Code:
public class _SafeStr_2278 implements _SafeStr_2275
    {

        protected var _SafeStr_6019:Function;
        protected var _SafeStr_6397:_SafeStr_2308;
        private var _SafeStr_13357:Class;
        protected var _SafeStr_5340:_SafeStr_2272;

        public function _SafeStr_2278(k:Function, _arg_2:Class)
        {
            this._SafeStr_6019 = k;
            this._SafeStr_13357 = _arg_2;
        }
        public function dispose():void
        {
            this._SafeStr_6019 = null;
            this._SafeStr_13357 = null;
            this._SafeStr_6397 = null;
            this._SafeStr_5340 = null;
        }
        public function get callback():Function
        {
            return (this._SafeStr_6019);
        }
        public function set connection(k:_SafeStr_2308):void
        {
            this._SafeStr_6397 = k;
        }
        public function get connection():_SafeStr_2308
        {
            return (this._SafeStr_6397);
        }
        public function get _SafeStr_13356():Class
        {
            return (this._SafeStr_13357);
        }
        public function get parser():_SafeStr_2272
        {
            return (this._SafeStr_5340);
        }
        public function set parser(k:_SafeStr_2272):void
        {
            this._SafeStr_5340 = k;
        }

    }
Code:
 base.WriteBoolean(isLoading);
            base.WriteInteger(Data.Id);
            base.WriteString(Data.Name);
            base.WriteInteger(Data.OwnerId);
            base.WriteString(Data.OwnerName);
            base.WriteInteger(RoomAccessUtility.GetRoomAccessPacketNum(Data.Access));
            base.WriteInteger(Data.UsersNow);
            base.WriteInteger(Data.UsersMax);
            base.WriteString(Data.Description);
            base.WriteInteger(Data.TradeSettings);
            base.WriteInteger(Data.Score);
            base.WriteInteger(0);//Top rated room rank.
            base.WriteInteger(Data.Category);

            base.WriteInteger(Data.Tags.Count);
            foreach (string Tag in Data.Tags)
            {
                base.WriteString(Tag);
            }

            if (Data.Group != null && Data.Promotion != null)
            {
                base.WriteInteger(62);//What?

                base.WriteInteger(Data.Group == null ? 0 : Data.Group.Id);
                base.WriteString(Data.Group == null ? "" : Data.Group.Name);
                base.WriteString(Data.Group == null ? "" : Data.Group.Badge);

                base.WriteString(Data.Promotion != null ? Data.Promotion.Name : "");
                base.WriteString(Data.Promotion != null ? Data.Promotion.Description : "");
                base.WriteInteger(Data.Promotion != null ? Data.Promotion.MinutesLeft : 0);
            }
            else if (Data.Group != null && Data.Promotion == null)
            {
                base.WriteInteger(58);//What?
                base.WriteInteger(Data.Group == null ? 0 : Data.Group.Id);
                base.WriteString(Data.Group == null ? "" : Data.Group.Name);
                base.WriteString(Data.Group == null ? "" : Data.Group.Badge);
            }
            else if (Data.Group == null && Data.Promotion != null)
            {
                base.WriteInteger(60);//What?
                base.WriteString(Data.Promotion != null ? Data.Promotion.Name : "");
                base.WriteString(Data.Promotion != null ? Data.Promotion.Description : "");
                base.WriteInteger(Data.Promotion != null ? Data.Promotion.MinutesLeft : 0);
            }
            else
            {
                base.WriteInteger(56);//What?
            }


            base.WriteBoolean(checkEntry);
            base.WriteBoolean(false);
            base.WriteBoolean(false);
            base.WriteBoolean(false);

            base.WriteInteger(Data.WhoCanMute);
            base.WriteInteger(Data.WhoCanKick);
            base.WriteInteger(Data.WhoCanBan);

            base.WriteBoolean(Session.GetHabbo().GetPermissions().HasRight("mod_tool") || Data.OwnerName == Session.GetHabbo().Username);//Room muting.
            base.WriteInteger(Data.chatMode);
            base.WriteInteger(Data.chatSize);
            base.WriteInteger(Data.chatSpeed);
            base.WriteInteger(Data.extraFlood);//Hearing distance
            base.WriteInteger(Data.chatDistance);//Flood!!
Any help would be VERY appreciated :) Thank You!
 

JayC

Always Learning
Aug 8, 2013
5,504
1,401
Is this Plus Emulator?
 
I think Sledmore released a tutorial on this, Here let me get it for you.

@Sledmore
Hi,

Thanks for the reply however his tutorial was on editing the packet ID's not changing the classes. I am trying to update my classes so that things load properly.
 

SOUL

┼ ┼ ┼
Nov 10, 2015
224
45
Seriously right now. Your reply was worthless to the thread, I am trying to ask what the structure change was for rooms. Come on, stop spamming threads with worthless shit
Worthless lol? You're posting a thread when 90% of kids have no clue to fix this if you really wanted a fix I doubt you would post a thread instead of messaging someone i.e Sledmore but hey if you're too lazy to check rival forums and glance through classes feel free to lash out more :)
 

JayC

Always Learning
Aug 8, 2013
5,504
1,401
Worthless lol? You're posting a thread when 90% of kids have no clue to fix this if you really wanted a fix I doubt you would post a thread instead of messaging someone i.e Sledmore but hey if you're too lazy to check rival forums and glance through classes feel free to lash out more :)
I've been doing this for 3 days. I have posted all of the code for the classes. Sledmore replies to threads when he feels like it. I didn't ask you to reply with the same information I already know. If you bothered to press the spoiler you would already see I broke down the code. I have been to the rival forum and read all 8 pages of the original post 6 times and I have read every post made by users since then asking for help. Also downloaded the emulator posted on a rival forum on one of the threads and checked all of the incoming packet classes for differences. I just needed help getting rooms working I didn't need someone telling me
A lot of structures changed if you haven't updated them
I already know that .
 

Damien

Don't need glasses if you can C#
Feb 26, 2012
433
646
Honestly, a lot of people had a problem with rooms when updating but I didn't have a single problem with mine. I'm guessing that something changed in the variables or swf files, since I carried on using my existing ones and just changed the Habbo.swf.

Otherwise I'm stumped as there were no structure updates to do with rooms.
 

JayC

Always Learning
Aug 8, 2013
5,504
1,401
Honestly, a lot of people had a problem with rooms when updating but I didn't have a single problem with mine. I'm guessing that something changed in the variables or swf files, since I carried on using my existing ones and just changed the Habbo.swf.

Otherwise I'm stumped as there were no structure updates to do with rooms.
Okay thanks, I am going to go back to my previous emulator that was work and go through the thread again from scratch with this update. This is like the most frustrating thing I have done.

Thanks for letting me know @Damien
 
Honestly, a lot of people had a problem with rooms when updating but I didn't have a single problem with mine. I'm guessing that something changed in the variables or swf files, since I carried on using my existing ones and just changed the Habbo.swf.

Otherwise I'm stumped as there were no structure updates to do with rooms.
@Damien I am back working on this because I really don't like giving up, were there any Structure Changes to allow color usernames in any of the room methods or room user methods?
 

Users who are viewing this thread

Top