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!

Commands :anew ambassador

Newbie Spellweaver
Joined
Sep 2, 2012
Messages
13
Reaction score
0
Hello,

Someone would have an idea how the command works ?

Command definition :

:anew : This command enables ambassadors to find newbies in the room, by opening the chooser window and highlighting news users.

In Habbo.swf :
Code:
case ":anew":
if (((this._container.sessionDataManager._SafeStr_7035) || (this._container.sessionDataManager.hasSecurity(_SafeStr_2439._SafeStr_7033))))
{
	this._container.roomSession._SafeStr_21126("new");
};

When it runs it only sends a string "new", but nothing happens

thanks
 
Newbie Spellweaver
Joined
Sep 2, 2012
Messages
13
Reaction score
0
Okay,

But how to find the corresponding packets? Because, if it does (client -> server) you need something in return, I think, (server -> client). There is a person who asked a bit the same question as me (http://forum.ragezone.com/f333/server-packet-1122938/). I have read the comments below, including how to retrieve a structure, but I do not see how one can find the packet that will be activated with a structure. The problem is that I have at my disposal only a packet client and it is not really the same as a packet server.

Here (Server) :

Code:
    public class _SafeStr_4079 extends _SafeStr_2276 
    {

        public function _SafeStr_4079(k:Function)
        {
            super(k, UserUpdateMessageParser);
        }

        public function _SafeStr_5325():UserUpdateMessageParser
        {
            return ((_SafeStr_5326 as UserUpdateMessageParser));
        }


    }

Here (Client) :

Code:
    public class _SafeStr_4227 implements _SafeStr_2283 
    {

        private var _x:int;
        private var _y:int;

        public function _SafeStr_4227(k:int, _arg_2:int)
        {
            this._x = k;
            this._y = _arg_2;
        }

        public function dispose():void
        {
        }

        public function _SafeStr_5448():Array
        {
            return ([this._x, this._y]);
        }


    }

For example, when you walk, the packet (client: RoomUserWalkEvent) sends a message to the server that returns it (Server: RoomUserStatusComposer).
I do not know if I have explained enough, I hope. thank's
 
Upvote 0
Back
Top