How do I get packet ids from this

Detox

Member
Jul 24, 2010
365
24
Code:
public class _-2ZW extends _-3QU implements _-2cO
    {

        private static const _-2H-:uint = 4000;

        private var _-1p7:HabboCatalog;
        private var _-0wY:_-1pS;
        private var _-2Dt:int = 1;
        private var _-0nA:int;
        private var _-3hd:int;
        private var _-sT:int;
        private var _-VL:String;
        private var _-14C:int = -1;
        private var _-VX:int = -1;
        private var _-2qj:int = -1;
        private var _-0Ja:Boolean = false;
        private var _-2-H:Timer;

        public function _-2ZW(_arg1:IWindowContainer, _arg2:HabboCatalog)
        {
            super(_arg1);
            this._-1p7 = _arg2;
        }

        override public function dispose():void
        {
            if (!disposed){
                this._-0wY.dispose();
                this._-0wY = null;
                this._-1p7 = null;
                this._-2-H.stop();
                this._-2-H.removeEventListener(TimerEvent.TIMER_COMPLETE, this._-2qd);
                this._-2-H = null;
                events.removeEventListener(_-57y._-38-, this._-3Aw);
                events.removeEventListener(_-57y._-Dk, this._-020);
                events.removeEventListener(_-1jp._-3Bg, this._-3nF);
                events.removeEventListener(_-57y._-149, this._-1Hq);
                super.dispose();
            };
        }

        override public function init():Boolean
        {
            this._-0wY = new _-1pS(this, this._-1p7);
            events.addEventListener(_-57y._-38-, this._-3Aw);
            events.addEventListener(_-57y._-Dk, this._-020);
            events.addEventListener(_-1jp._-3Bg, this._-3nF);
            events.addEventListener(_-57y._-149, this._-1Hq);
            this._-2-H = new Timer(_-2H-, 1);
            this._-2-H.addEventListener(TimerEvent.TIMER_COMPLETE, this._-2qd);
            return (true);
        }

        private function _-0Em():void
        {
            var k:_-1mJ = new _-1mJ(_-1mJ._-2w2);
            k.quantity = this._-2Dt;
            this._-14C = this._-0wY._-Rj(k);
        }

        private function _-3tq(_arg1:int):void
        {
            var k:_-5b;
            var k:_-1mJ;
            if (this._-14C != -1){
                k = _-5b(this._-0wY._-oh(this._-14C));
                k = k.data;
                k.quantity = _arg1;
                k.update(k);
            };
        }

        private function _-1Py():void
        {
            if (this._-14C != -1){
                this._-0wY._-2Wz(this._-14C);
                this._-14C = -1;
            };
        }

        private function _-2gj():void
        {
            var k:_-1mJ = new _-1mJ(_-1mJ._-292);
            k.quantity = this._-2Dt;
            k.priceActivityPoints = this._-3hd;
            k.activityPointType = this._-sT;
            k.priceCredits = this._-0nA;
            this._-VX = this._-0wY._-Rj(k);
            this._-1p7.utils._-2i4();
        }

        private function _-MJ(_arg1:int):void
        {
            var k:_-5b;
            var k:_-1mJ;
            if (this._-VX != -1){
                k = _-5b(this._-0wY._-oh(this._-VX));
                k = k.data;
                k.quantity = _arg1;
                k.discountPriceCredits = this._-1p7.utils._-08A(true, this._-0nA, _arg1);
                k.discountPriceActivityPoints = this._-1p7.utils._-08A(true, this._-3hd, _arg1);
                k.update(k);
            };
        }

        private function _-4xp():void
        {
            if (this._-VX != -1){
                this._-0wY._-2Wz(this._-VX);
                this._-VX = -1;
            };
        }

        private function _-4Hd():void
        {
            var k:_-1mJ = new _-1mJ(_-1mJ._-3v);
            this._-2qj = this._-0wY._-Rj(k);
            this._-1p7.utils._-4mq();
        }

        private function _-0ZI():void
        {
            if (this._-2qj != -1){
                this._-0wY._-2Wz(this._-2qj);
                this._-2qj = -1;
            };
        }

        private function _-3Aw(_arg1:_-57y):void
        {
            if (disposed){
                return;
            };
            window.visible = true;
            this._-0nA = _arg1.data.priceCredits;
            this._-3hd = _arg1.data.priceActivityPoints;
            this._-sT = _arg1.data.activityPointType;
            this._-VL = _arg1.data._-2sd;
            this._-0wY.clear();
            this._-VX = -1;
            this._-14C = -1;
            this._-2-H.start();
        }

        private function _-3nF(_arg1:_-1jp):void
        {
            if (disposed){
                return;
            };
            if (!this._-1p7._-3JE){
                return;
            };
            if (_arg1.type == _-1jp._-3Bg){
                if (_arg1.value != this._-2Dt){
                    if ((((_arg1.value >= this._-1p7._-3JE._-57-)) && ((this._-VX == -1)))){
                        this._-2gj();
                    } else {
                        if (_arg1.value < this._-1p7._-3JE._-57-){
                            this._-4xp();
                        };
                    };
                    this._-3tq(_arg1.value);
                    this._-MJ(_arg1.value);
                    this._-2Dt = _arg1.value;
                    this._-0ZI();
                    if (this._-2Dt >= this._-1p7.utils._-2ee){
                        this._-1Py();
                        this._-0Ja = true;
                    } else {
                        if (this._-0Ja){
                            this._-0Em();
                            this._-0Ja = false;
                        };
                    };
                    this._-1p7.utils._-1H4();
                };
            };
        }

        private function _-020(_arg1:_-57y):void
        {
            window.visible = false;
        }

        private function _-1Hq(_arg1:_-57y):void
        {
            switch (_arg1.id){
                case this._-14C:
                    if (this._-2qj == -1){
                        this._-4Hd();
                    };
                    return;
                case this._-2qj:
                    this._-0ZI();
                    return;
            };
        }
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,194
3,901
You (should or would) have your header ID from packet logging, or upgrading, so with that you'd search the entire SWF for [4000] (as example) but sometimes it could be an hexadecimal value.

And from there you would find something similar to; '_-1Wo[4000] = _-8N;' (be-careful, as there could be a composer and an event with the same header ID).

With '_-1Wo[4000] = _-8N;', you'd then search in the SWF for 'new _-8N' and bingo, you could compare with your old SWF. But also, sometimes you may need to dig deeper, and hunt into the functions if you're far behind.
 

Detox

Member
Jul 24, 2010
365
24
You (should or would) have your header ID from packet logging, or upgrading, so with that you'd search the entire SWF for [4000] (as example) but sometimes it could be an hexadecimal value.

And from there you would find something similar to; '_-1Wo[4000] = _-8N;' (be-careful, as there could be a composer and an event with the same header ID).

With '_-1Wo[4000] = _-8N;', you'd then search in the SWF for 'new _-8N' and bingo, you could compare with your old SWF. But also, sometimes you may need to dig deeper, and hunt into the functions if you're far behind.
Thank you and I used AS3 Sorcerer to get these codes so I'm still learning :D
 

Users who are viewing this thread

Top