Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Private Clientsided command AS3 code

Experienced Elementalist
Joined
Nov 11, 2015
Messages
238
Reaction score
89
Hi yall,

I was playing around with some AS3 code and stumbled upon this code.. It seems to be the AS3 code for the clientsided commands, including some development commands I never knew about.

Code:
                                    case ":d":
                                    case ";d":
                                        if (this._container.sessionDataManager.clubLevel == _-0GC._-1xv)
                                        {
                                            this._container.roomSession._-2P4(_-0CS._-2ti._-595);
                                            HabboTracking.getInstance().trackEventLog("OwnAvatarMenu", "chat", "laugh");
                                        };
                                        break;
                                    case "o/":
                                    case "_o/":
                                        this._container.roomSession._-2P4(_-0CS._-2Be._-595);
                                        return (null);
                                    case ":kiss":
                                        if (this._container.sessionDataManager.clubLevel == _-0GC._-1xv)
                                        {
                                            this._container.roomSession._-2P4(_-0CS._-2TQ._-595);
                                            HabboTracking.getInstance().trackEventLog("OwnAvatarMenu", "chat", "blow");
                                            return (null);
                                        };
                                        break;
                                    case ":jump":
                                        if (this._container.sessionDataManager.clubLevel == _-0GC._-1xv)
                                        {
                                            this._container.roomSession._-2P4(_-0CS._-1Ic._-595);
                                            HabboTracking.getInstance().trackEventLog("OwnAvatarMenu", "chat", "jump");
                                            return (null);
                                        };
                                        break;
                                    case ":idle":
                                        this._container.roomSession._-2P4(_-0CS._-20t._-595);
                                        HabboTracking.getInstance().trackEventLog("OwnAvatarMenu", "chat", "idle");
                                        return (null);
                                    case "_b":
                                        this._container.roomSession._-2P4(_-0CS._-5CQ._-595);
                                        HabboTracking.getInstance().trackEventLog("OwnAvatarMenu", "chat", "respect");
                                        return (null);
                                    case ":sign":
                                        this._container.roomSession._-65P(int(k));
                                        HabboTracking.getInstance().trackEventLog("OwnAvatarMenu", "chat", "sign", null, int(k));
                                        return (null);
                                    case ":chooser":
                                        if ((((((this._container.sessionDataManager.clubLevel >= _-0GC._-49)) || (this._container.sessionDataManager.hasSecurity(_-4aJ._-0Ju)))) || (this._container.sessionDataManager._-2M6)))
                                        {
                                            k = new _-5n(_-5n._-4Vx);
                                            this._container.processWidgetMessage(k);
                                        };
                                        return (null);
                                    case ":furni":
                                        if ((((((((this._container.sessionDataManager.clubLevel >= _-0GC._-49)) && ((this._container.roomSession.roomControllerLevel >= _-2mq._-04B)))) || (this._container.sessionDataManager.hasSecurity(_-4aJ._-0Ju)))) || (this._container.sessionDataManager._-2M6)))
                                        {
                                            k = new _-5n(_-5n._-2C9);
                                            this._container.processWidgetMessage(k);
                                        };
                                        return (null);
                                    case ":pickall":
                                        this._container.sessionDataManager._-30T(this._container.roomSession.roomId);
                                        return (null);
                                    case ":pickallbc":
                                        this._container.sessionDataManager._-0l3(this._container.roomSession.roomId);
                                        return (null);
                                    case ":ejectall":
                                        this._container.sessionDataManager._-2dm(this._container.roomSession.roomId, k);
                                        return (null);
                                    case ":ejectpets":
                                        this._container.sessionDataManager._-1Ln(this._container.roomSession.roomId);
                                        return (null);
                                    case ":moonwalk":
                                        this._container.sessionDataManager.sendSpecialCommandMessage(":moonwalk");
                                        return (null);
                                    case ":habnam":
                                        this._container.sessionDataManager.sendSpecialCommandMessage(":habnam");
                                        return (null);
                                    case ":yyxxabxa":
                                        this._container.sessionDataManager.sendSpecialCommandMessage(":yyxxabxa");
                                        return (null);
                                    case ":mutepets":
                                        this._container.sessionDataManager.sendSpecialCommandMessage(":mutepets");
                                        return (null);
                                    case ":mpgame":
                                        this._container.sessionDataManager.sendSpecialCommandMessage(k);
                                        return (null);
                                    case ":news":
                                        if (this._container.config.getBoolean("client.news.embed.enabled"))
                                        {
                                            _-pO.openNews();
                                            return (null);
                                        };
                                        break;
                                    case ":mail":
                                        if (this._container.config.getBoolean("client.minimail.embed.enabled"))
                                        {
                                            _-pO.openMinimail("#mail/inbox/");
                                            return (null);
                                        };
                                        break;
                                    case ":crashme":
                                        break;
                                    case ":tgl":
                                        break;
                                    case ":li":
                                        break;
                                    case ":2":
                                    case ":kick":
                                        if (this._container.roomSession.roomControllerLevel >= _-2mq._-04B)
                                        {
                                            k = this._container.roomSession.userDataManager._-28M(k);
                                            if (k)
                                            {
                                                this._container.roomSession._-0Yk(k._-Ss);
                                            };
                                        };
                                        return (null);
                                    case ":shutup":
                                    case ":mute":
                                        if (this._container.roomSession.roomControllerLevel >= _-2mq._-04B)
                                        {
                                            k = this._container.roomSession.userDataManager._-28M(k);
                                            if (k)
                                            {
                                                this._container.roomSession._-4Bg(k._-Ss, 2);
                                            };
                                        };
                                        return (null);
                                    case ":floor":
                                    case ":bcfloor":
                                        if (this._container.roomSession.roomControllerLevel >= _-2mq._-0Jq)
                                        {
                                            this._container.windowManager._-59A();
                                        };
                                        return (null);
                                    case ":lang":
                                        (this._container.localization as ICoreLocalizationManager)._-5wh(k);
                                        return (null);
                                    case ":uc":
                                        if (this._container.sessionDataManager.hasSecurity(_-4aJ._-1hD))
                                        {
                                            if (k == "hotel")
                                            {
                                                this._container.roomSession._-5JO(k[2]);
                                            }
                                            else
                                            {
                                                this._container.roomSession._-3NP(k);
                                            };
                                        };
                                        return (null);
                                    case ":anew":
                                        if (((this._container.sessionDataManager._-2M6) || (this._container.sessionDataManager.hasSecurity(_-4aJ._-1hD))))
                                        {
                                            this._container.roomSession._-3NP("new");
                                        };
                                        return (null);
                                    case ":avisit":
                                        if (((this._container.sessionDataManager._-2M6) || (this._container.sessionDataManager.hasSecurity(_-4aJ._-1hD))))
                                        {
                                            if ("group" == k)
                                            {
                                                (this._container.roomEngine as Component).context.createLinkEvent("navigator/goto/predefined_group_lobby");
                                            }
                                            else
                                            {
                                                (this._container.roomEngine as Component).context.createLinkEvent("navigator/goto/predefined_noob_lobby");
                                            };
                                        };
                                        return (null);
                                    case ":aalert":
                                        if (((this._container.sessionDataManager._-2M6) || (this._container.sessionDataManager.hasSecurity(_-4aJ._-1hD))))
                                        {
                                            k = this._container.roomSession.userDataManager._-28M(k);
                                            if (k)
                                            {
                                                this._container.roomSession._-6ak(k._-Ss);
                                            };
                                        };
                                        return (null);
                                    case ":visit":
                                        if (this._container.sessionDataManager.clubLevel >= _-0GC._-49)
                                        {
                                            this._container.roomSession._-01j(k);
                                        };
                                        return (null);
                                    case ":roomid":
                                        if (this._container.sessionDataManager.hasSecurity(_-4aJ._-1hD))
                                        {
                                            this._container.roomSession._-bp(parseInt(k));
                                        };
                                        return (null);
                                    case ":link":
                                        break;
                                    case ":zoom":
                                        this._container.roomEngine.events.dispatchEvent(new _-WM(this._container.roomEngine.activeRoomId, Number(k)));
                                        return (null);
                                    case ":cam":
                                    case ":camera":
                                        if (this._container.sessionDataManager.isPerkAllowed(_-29l.CAMERA))
                                        {
                                            k = new _-3Zz(_-3Zz._-ru);
                                            k._-02F = _-3Zz._-2te;
                                            this._container.toolbar.events.dispatchEvent(k);
                                        };
                                        return (null);
                                    case ":q":
                                        break;
                                    case ":screenshot":
                                        _local17 = this._container.navigator.enteredGuestRoomData;
                                        if (_local17)
                                        {
                                            _local16 = _local17.roomName;
                                        };
                                        if ((((_local16 == null)) || ((_local16.length == 0))))
                                        {
                                            k = new Date();
                                            k = (([k.getFullYear(), k.getMonth(), k.getDate()].join("-") + " ") + [k.getHours(), k.getMinutes(), k.getSeconds()].join("."));
                                            _local16 = ("Habbo " + k);
                                        };
                                        this._container.roomEngine._-mS(this._container.roomSession.roomId, this._container.getFirstCanvasId(), (_local16 + ".png"));
                                        return (null);
                                    case ":iddqd":
                                        this._container.roomEngine.events.dispatchEvent(new _-WM(this._container.roomEngine.activeRoomId, -1, true));
                                        return (null);
                                    case ":hidemouse":
                                        if (this._-1mx)
                                        {
                                            Mouse.hide();
                                            this._container.roomEngine._-0uM(this._container.roomEngine.activeRoomId, 0);
                                        }
                                        else
                                        {
                                            Mouse.show();
                                            this._container.roomEngine._-0uM(this._container.roomEngine.activeRoomId, 1);
                                        };
                                        this._container.roomEngine._-16g(this._container.roomEngine.activeRoomId, !(this._-1mx));
                                        this._-1mx = !(this._-1mx);
                                        return (null);

It's just some educational observations, although you can add or remove custom clientsided commands, with ( thanks to Beny. ).
Do play around with them, I know I will.

xoxo
:blushing:
@Keiz

 
Banned
Banned
Joined
Aug 25, 2009
Messages
431
Reaction score
190
My favourite command is :mpgame
In Habbo you can play Rock, Paper, Scissors with a Monster Plant using this command.
 
Experienced Elementalist
Joined
Nov 11, 2015
Messages
238
Reaction score
89
My favourite command is :mpgame
In Habbo you can play Rock, Paper, Scissors with a Monster Plant using this command.

You kidding me? Never knew that. Do you know the params that need to be sent in order to play with a monsterplant?
 
Joined
Apr 19, 2011
Messages
562
Reaction score
53
My favourite command is :mpgame
In Habbo you can play Rock, Paper, Scissors with a Monster Plant using this command.

How does that work? Because I have Monster Plants on Habbo but saying :mpgame near one doesnt do anything.


//maybe they removed that.
Code:
case ":mpgame":
                                        this._container.sessionDataManager.sendSpecialCommandMessage(k);
                                        return (null);
 
Experienced Elementalist
Joined
Nov 11, 2015
Messages
238
Reaction score
89
That one could be server sided

It is obviously, though it's sent differently.

For instance if you use :mpgame hi, (in Plus) it will output :mpgame hi, but always with bubble colour 0
Keiz - Clientsided command AS3 code - RaGEZONE Forums
 
Last edited:
Banned
Banned
Joined
Aug 25, 2009
Messages
431
Reaction score
190
I'll see if I can get my hands on a monster plant and test :D

Dom Gunn (Macklebee in Habbo) told me of this almost 1 year ago so it is possible that it is no longer there.
 
Experienced Elementalist
Joined
Nov 11, 2015
Messages
238
Reaction score
89
Lol, seriously that nobody knew that part of the source?

including some development commands I never knew about.

As I said, it's just some code I stumbled upon, I thought I'd share it with yall, obviously the code has been there for years, yet I saw no release on it, it's not really useful code either,
just some educational observations
 
git bisect -m
Loyal Member
Joined
Sep 2, 2011
Messages
2,171
Reaction score
916
And why this is in release section and not in Discussion section? xD



Anyways also the Habbo Staff commands are in this list.



Code:
case ":uc":
                                        if (this._container.sessionDataManager.hasSecurity(_-4aJ._-1hD))
                                        {
                                            if (k == "hotel")
                                            {
                                                this._container.roomSession._-5JO(k[2]);
                                            }
                                            else
                                            {
                                                this._container.roomSession._-3NP(k);
                                            };
                                        };
                                        return (null);
                                    case ":anew":
                                        if (((this._container.sessionDataManager._-2M6) || (this._container.sessionDataManager.hasSecurity(_-4aJ._-1hD))))
                                        {
                                            this._container.roomSession._-3NP("new");
                                        };
                                        return (null);
                                    case ":avisit":
                                        if (((this._container.sessionDataManager._-2M6) || (this._container.sessionDataManager.hasSecurity(_-4aJ._-1hD))))
                                        {
                                            if ("group" == k)
                                            {
                                                (this._container.roomEngine as Component).context.createLinkEvent("navigator/goto/predefined_group_lobby");
                                            }
                                            else
                                            {
                                                (this._container.roomEngine as Component).context.createLinkEvent("navigator/goto/predefined_noob_lobby");
                                            };
                                        };
                                        return (null);
                                    case ":aalert":
                                        if (((this._container.sessionDataManager._-2M6) || (this._container.sessionDataManager.hasSecurity(_-4aJ._-1hD))))
                                        {
                                            k = this._container.roomSession.userDataManager._-28M(k);
                                            if (k)
                                            {
                                                this._container.roomSession._-6ak(k._-Ss);
                                            };
                                        };
                                        return (null);

And those WTF commands that does nothing
Code:
  case ":crashme":
                                        break;
                                    case ":tgl":
                                        break;
                                    case ":li":
                                        break;

What this does:
Code:
                                    case ":yyxxabxa":
                                        this._container.sessionDataManager.sendSpecialCommandMessage(":yyxxabxa");
                                        return (null);
?? I'm curious...
 
Junior Spellweaver
Joined
Dec 15, 2015
Messages
139
Reaction score
35
And why this is in release section and not in Discussion section? xD
What this does:
Code:
                                    case ":yyxxabxa":
                                        this._container.sessionDataManager.sendSpecialCommandMessage(":yyxxabxa");
                                        return (null);
?? I'm curious...

It gives you an effect with some kind of laser.
Btw, there's already a discussion thread I think for this.

Edit: Found it.
http://forum.ragezone.com/f335/commands-didnt-exist-1118627/
It's posted in wrong place doe.
 
Experienced Elementalist
Joined
Nov 11, 2015
Messages
238
Reaction score
89
It gives you an effect with some kind of laser.
Btw, there's already a discussion thread I think for this.

Edit: Found it.
http://forum.ragezone.com/f335/commands-didnt-exist-1118627/
It's posted in wrong place doe.

It doesn't show the actual code, as said in the topic it's an educational observation if you're interested in the AS3 behind it. Also shows some funny random cases such as ":crashme" which literally does nothing.
Sulake's developers got all kinds of inside jokes
 
Back
Top