Plus Emulator MUS

Berk

berkibap#4233
Developer
Oct 17, 2015
863
190
Hey guys,
I have found a way to send MUS commands to my hotel through housekeeping. The thing is, i don't know what are commands.
Where can I find them? If do you know, can you please post them below? BTW. I can send anyone the function if you need!
cheerz
 

Jerry

not rly active lol
Jul 8, 2013
1,956
522
  • \Messages\Net\MusSocket.cs
  • \Messages\Net\MusConnection.cs - where commands are coded.

Commands:
  • reload_credits <UserID>
  • reload_pixels <UserID>
  • reload_diamonds <UserID>
  • reload_gotw <UserID>
  • reload_user_rank <userID>
  • reload_user_vip <userID>
  • reload_motto <userID>
  • alert_user <userID> <message>
  • reload_badges <UserID>
  • givebadge <UserID> <badge>
  • disconnect <username>
  • reload_last_change <userID>
  • goto <UserID> <RoomID>
  • progress_achievement
  • reload_filter/update_filter
  • reload_catalog/reload_catalog
  • reload_items/update_items
  • reload_navigator/update_navigator
  • reload_ranks/update_ranks
  • reload_settings/update_settings
  • reload_quests/update_quests
  • reload_vouchers/update_vouchers
  • reload_bans/update_bans
  • hotel_alert <message>
In PHP, to use the commands, three example for this are:
Code:
$app->sendMUS('reload_diamonds', '1');
$app->sendMUS('givebadge', '1:VIP');
$app->sendMUS('alert_user', '1:message here');
 

Berk

berkibap#4233
Developer
Oct 17, 2015
863
190
  • \Messages\Net\MusSocket.cs
  • \Messages\Net\MusConnection.cs - where commands are coded.
Commands:
  • reload_credits <UserID>
  • reload_pixels <UserID>
  • reload_diamonds <UserID>
  • reload_gotw <UserID>
  • reload_user_rank <userID>
  • reload_user_vip <userID>
  • reload_motto <userID>
  • alert_user <userID> <message>
  • reload_badges <UserID>
  • givebadge <UserID> <badge>
  • disconnect <username>
  • reload_last_change <userID>
  • goto <UserID> <RoomID>
  • progress_achievement
  • reload_filter/update_filter
  • reload_catalog/reload_catalog
  • reload_items/update_items
  • reload_navigator/update_navigator
  • reload_ranks/update_ranks
  • reload_settings/update_settings
  • reload_quests/update_quests
  • reload_vouchers/update_vouchers
  • reload_bans/update_bans
  • hotel_alert <message>
In PHP, to use the commands, three example for this are:
Code:
$app->sendMUS('reload_diamonds', '1');
$app->sendMUS('givebadge', '1:VIP');
$app->sendMUS('alert_user', '1:message here');
Hey, thanks for the list but hotel_alert doesn't seem to work. Any clues why?
 

Jerry

not rly active lol
Jul 8, 2013
1,956
522
Release 1 From this year
Edit: @Xuxu gave this emulator to @DDOSer . So i don't know if its an edit or not.
Just downloaded the original R1 source and looked at the code, it looks like hotel_alert isn't coded in the emulator. (Guess I added it myself)
16f896f4918345149d75aaac2ffcda03.png


What you should do is download Visual Studio and add this code in the MusConnection.cs file:
Code:
#region :hotel_alert
                case "hotel_alert":
                case "alert_hotel":
                    {
                        string Message = Convert.ToString(Params[0]);

                        PlusEnvironment.GetGame().GetClientManager().SendMessage(new BroadcastMessageAlertComposer(Message));
                        break;
                    }
                #endregion
 

Users who are viewing this thread

Top