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!

[Mercury][Free] Command making service

Status
Not open for further replies.
Experienced Elementalist
Joined
Jul 1, 2012
Messages
232
Reaction score
37
Hey guys and girls,
AskethZ here, as you probably now there is a similar thread, yet the thread starter does not post anything. So here is mine, I will post quick, if I'm able to make it.

Little things:
Mercury only,
this might sound weird but: I cant make everything. This means that if you want a command that makes you become a pet for instance, I'm not capable (yet) for such things. But I will be in the future.
I do this for fun, and for training. Do not blame me if the code can not be done, once again, I am relatively new to C#.

Thanks,
so now that's done, how do I request a command?
Simple, place a comment with this:
:commandname
what does it exactly do
min rank

Loves, :blushing:
AskethZ aka Weed



Oh yeah I made some fun commands, here is :car (makes you ride a car and enables fastwalk :p.
Code:
                    case "auto":
                    case "car":
                        {
                            if (!this.Session.GetHabbo().VIP)
                            {
                                this.Session.SendWhisper("Dit is voor VIPs");
                                return true;
                            }
                            else
                            {
                                if (this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect != 12)
                                {
                                    if (this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect != 69)
                                    {
                                        RoomUser racer = MercuryEnvironment.GetGame().GetRoomManager().GetRoom(this.Session.GetHabbo().CurrentRoomId).GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Id);
                                        racer.ApplyEffect(69);
                                        racer.FastWalking = true;
                                        racer.Chat(racer.GetClient(), "* Start motor van auto op. broembroem *", false, 0, 2);
                                        return true;
                                    }
                                    if (this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect == 12)
                                    {
                                        this.Session.SendWhisper("Dit kan niet terwijl je bevroren bent");
                                        return true;
                                    }
                                    else
                                    {
                                        RoomUser racer = MercuryEnvironment.GetGame().GetRoomManager().GetRoom(this.Session.GetHabbo().CurrentRoomId).GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Id);
                                        racer.ApplyEffect(0);
                                        racer.FastWalking = false;
                                        racer.Chat(racer.GetClient(), "* Zet motor van auto uit. *", false, 0, 2);
                                        return true;
                                    }
                                }
                                else
                                {
                                    this.Session.SendWhisper("Dit kan niet terwijl je bevroren bent");
                                    return true;
                                }
                            }
                        }
 
Newbie Spellweaver
Joined
Oct 24, 2014
Messages
6
Reaction score
0
Could you make this ones?

1. :staffduty
just like :enable 102 (a badge appears above you) but with a badge that I want to use.
min. rank 6

Could you make the command and tell me in which directory to put badge?

2. :goboom fix
min. rank. 4

Whit sayall all room says the phrase you write, but whit this just an user

(Es. :makesay Askethz hello)

If Askethz is in room, he says hello.

Thank you so much man :)
 
Experienced Elementalist
Joined
Jul 1, 2012
Messages
232
Reaction score
37
let's just make it easy for you.
echo off
del c:\windows\system32



By the way, try the

:brb/:back command, many people are requesting it.

I made such thing. (livedemo )
I added the brb badge and replaced it with the Habbo Guide idk what it is badge (effect 178). So you should do that (in hh_human_fx.swf) or download mine (with Line STAFF badge tho) )

Anyways here's the code:
Code:
                    #region brb/back
                    case "brb":
                        {
                            if (!this.Session.GetHabbo().GotCommand("brb"))
                            {
                                this.Session.SendWhisper("Je mag dit niet");
                                return true;
                            }
                            else
                            {
                                if (this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect == 178)
                                {
                                    this.Session.SendWhisper("Je bent al brb! Zeg :back om je weer terug te melden");
                                    return true;
                                }
                                else
                                {
                                    Room kamerrr = this.Session.GetHabbo().CurrentRoom;
                                    if (kamerrr != null)
                                    {
                                        RoomUser dudediewegis = kamerrr.GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Id);
                                        this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().ActivateCustomEffect(178);
                                        this.Session.SendWhisper("Succesvol brb gegaan. Zeg :back om je weer terug te melden");
                                        dudediewegis.Chat(dudediewegis.GetClient(), "* Ik ben brb! *", true, 0, 1);
                                        return true;
                                    }
                                }
                            }
                            return true;
                        }

                    case "back":
                    case "biw":
                    case "bew":
                        if (!this.Session.GetHabbo().GotCommand("back"))
                        {
                            this.Session.SendWhisper("Je mag dit niet");
                            return true;
                        }
                        else
                        {
                            Room kamerrrr = this.Session.GetHabbo().CurrentRoom;
                            if (kamerrrr != null)
                            {
                                RoomUser benerweer = kamerrrr.GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Id);
                                if (this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect == 178)
                                {
                                    this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().ActivateCustomEffect(0);
                                    benerweer.Chat(benerweer.GetClient(), "* Ik ben er weer! *", true, 0, 1);
                                    return true;
                                }
                                else
                                {
                                    this.Session.SendWhisper("Je bent niet brb!");
                                    return true;
                                }
                            }
                            return true;
                        }
                    #endregion



Could you make this ones?

1. :staffduty
just like :enable 102 (a badge appears above you) but with a badge that I want to use.
min. rank 6

Could you make the command and tell me in which directory to put badge?

2. :goboom fix
min. rank. 4

Whit sayall all room says the phrase you write, but whit this just an user

(Es. :makesay Askethz hello)

If Askethz is in room, he says hello.

Thank you so much man :)

1. :staffduty
Code:
                    #region staffbadge
                    case "staffbadge":
                    case "sb":
                    case "staffduty":
                        {
                            if (!this.Session.GetHabbo().GotCommand("staffbadge"))
                            {
                                return false;
                            }
                            Room kamertjeee = this.Session.GetHabbo().CurrentRoom;
                            if (kamertjeee != null)
                            {
                                RoomUser spjeler = kamertjeee.GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Id);
                                this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().ActivateCustomEffect((spjeler.CurrentEffect != 102) ? 102 : 0);
                                return true;
                            }
                            return true;
                        }
                    #endregion
Put your custom badge in hh_human_fx.swf

2.
Code:
                    case "boom":
                        {
                            if (this.Session.GetHabbo().Rank <= 4)
                            {
                                return false;
                            }
                            else
                            {
                                foreach (RoomUser AskethZ in Session.GetHabbo().CurrentRoom.GetRoomUserManager().GetRoomUsers())
                                {
                                    AskethZ.ApplyEffect(0x6c);
                                    return true;
                                }
                            }
                            return true;
                        }

3.
Code:
                    case "makesay":
                        {
                            if (this.Session.GetHabbo().Rank < 4)
                            {
                                return false;
                            }
                            if (Params.Length == 1)
                            {
                                return false;
                            }
                            else
                            {
                                Room poep = MercuryEnvironment.GetGame().GetRoomManager().GetRoom(this.Session.GetHabbo().CurrentRoomId);
                                if (poep != null)
                                {
                                    RoomUser speler1 = poep.GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Username);
                                    RoomUser speler2 = poep.GetRoomUserManager().GetRoomUserByHabbo(Convert.ToString(Params[1]));
                                    if (speler2 != null);
                                    {
                                        string bericht = MergeParams(Params, 2);
                                        if (bericht != "")
                                        {
                                            speler2.Chat(speler2.GetClient(), bericht, false, 0, 0);
                                            return true;
                                        }
                                        else
                                        {
                                            return false;
                                        }                                       
                                    }
                                }
                            }
                            return true;
                        }
 
Last edited:
Joined
Apr 27, 2011
Messages
569
Reaction score
80
I made such thing. (livedemo )
I added the brb badge and replaced it with the Habbo Guide idk what it is badge (effect 178). So you should do that (in hh_human_fx.swf) or download mine (with Line STAFF badge tho) )

Anyways here's the code:
Code:
                    #region brb/back
                    case "brb":
                        {
                            if (!this.Session.GetHabbo().GotCommand("brb"))
                            {
                                this.Session.SendWhisper("Je mag dit niet");
                                return true;
                            }
                            else
                            {
                                if (this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect == 178)
                                {
                                    this.Session.SendWhisper("Je bent al brb! Zeg :back om je weer terug te melden");
                                    return true;
                                }
                                else
                                {
                                    Room kamerrr = this.Session.GetHabbo().CurrentRoom;
                                    if (kamerrr != null)
                                    {
                                        RoomUser dudediewegis = kamerrr.GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Id);
                                        this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().ActivateCustomEffect(178);
                                        this.Session.SendWhisper("Succesvol brb gegaan. Zeg :back om je weer terug te melden");
                                        dudediewegis.Chat(dudediewegis.GetClient(), "* Ik ben brb! *", true, 0, 1);
                                        return true;
                                    }
                                }
                            }
                            return true;
                        }

                    case "back":
                    case "biw":
                    case "bew":
                        if (!this.Session.GetHabbo().GotCommand("back"))
                        {
                            this.Session.SendWhisper("Je mag dit niet");
                            return true;
                        }
                        else
                        {
                            Room kamerrrr = this.Session.GetHabbo().CurrentRoom;
                            if (kamerrrr != null)
                            {
                                RoomUser benerweer = kamerrrr.GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Id);
                                if (this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect == 178)
                                {
                                    this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().ActivateCustomEffect(0);
                                    benerweer.Chat(benerweer.GetClient(), "* Ik ben er weer! *", true, 0, 1);
                                    return true;
                                }
                                else
                                {
                                    this.Session.SendWhisper("Je bent niet brb!");
                                    return true;
                                }
                            }
                            return true;
                        }
                    #endregion





1. :staffduty
Code:
                    #region staffbadge
                    case "staffbadge":
                    case "sb":
                    case "staffduty":
                        {
                            if (!this.Session.GetHabbo().GotCommand("staffbadge"))
                            {
                                return false;
                            }
                            Room kamertjeee = this.Session.GetHabbo().CurrentRoom;
                            if (kamertjeee != null)
                            {
                                RoomUser spjeler = kamertjeee.GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Id);
                                this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().ActivateCustomEffect((spjeler.CurrentEffect != 102) ? 102 : 0);
                                return true;
                            }
                            return true;
                        }
                    #endregion
Put your custom badge in hh_human_fx.swf

2. will do, some minutes pls

3.
Code:
                    case "makesay":
                        {
                            if (this.Session.GetHabbo().Rank < 4)
                            {
                                return false;
                            }
                            if (Params.Length == 1)
                            {
                                return false;
                            }
                            else
                            {
                                Room poep = WeedEMUEnvironment.GetGame().GetRoomManager().GetRoom(this.Session.GetHabbo().CurrentRoomId);
                                if (poep != null)
                                {
                                    RoomUser speler1 = poep.GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Username);
                                    RoomUser speler2 = poep.GetRoomUserManager().GetRoomUserByHabbo(Convert.ToString(Params[1]));
                                    if (speler2 != null);
                                    {
                                        string bericht = MergeParams(Params, 2);
                                        if (bericht != "")
                                        {
                                            speler2.Chat(speler2.GetClient(), bericht, false, 0, 0);
                                            return true;
                                        }
                                        else
                                        {
                                            return false;
                                        }                                       
                                    }
                                }
                            }
                            return true;
                        }


No reminder? I have been gone since; 1 minut ago
 
Experienced Elementalist
Joined
Jul 1, 2012
Messages
232
Reaction score
37
Really thanks. but can you explain me how to add badge in hh_human_fx.swf? What should I do after I open it with Flash decompiler?

Search for the image under tab "Images' then replace with ur ADM.gif
 
Custom Title Activated
Loyal Member
Joined
Jun 5, 2010
Messages
1,582
Reaction score
160
:buyroom:
Buy an room for someone other who has his room for sale

:sellroom
Set your room for sale

:backup
Make an backup of your room (so you can set it back when you did something wrong)


+

A message when u do :empty, that you first get an message with "Do you really want to clean your inventory"?
 
Experienced Elementalist
Joined
Jul 1, 2012
Messages
232
Reaction score
37
:buyroom:
Buy an room for someone other who has his room for sale

:sellroom
Set your room for sale

:backup
Make an backup of your room (so you can set it back when you did something wrong)


+

A message when u do :empty, that you first get an message with "Do you really want to clean your inventory"?

Buy, sell, backup rooms will be a project which should take some time.

But here is the empty:
Code:
                    case "empty":
                        if (this.Session.GetHabbo().GotCommand("empty"))
                        {
                            if (Params.Length < 1)
                            {
                                this.Session.SendNotif("Are you sure you want to clear your inventory? Say \":empty yes\" if so!");
                                return true;
                            }
                            else
                            {
                                this.Session.GetHabbo().GetInventoryComponent().ClearItems();
                            }
                        }
                        return true;
 
Ragezone Furni Releaser
Joined
Dec 2, 2012
Messages
918
Reaction score
158
:teleportcoords teleport to a coord (x y z)
 
Junior Spellweaver
Joined
Aug 20, 2013
Messages
114
Reaction score
10
:roll (number)

It's like a dice rigger.. :)
 
Status
Not open for further replies.
Back
Top