Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Plus Emulator MUS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Jerry" data-source="post: 406397" data-attributes="member: 35321"><p>Just downloaded the original R1 source and looked at the code, it looks like <strong>hotel_alert</strong> isn't coded in the emulator. (Guess I added it myself)</p><p><img src="http://image.prntscr.com/image/16f896f4918345149d75aaac2ffcda03.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>What you should do is download Visual Studio and add this code in the <strong>MusConnection.cs</strong> file:</p><p>[CODE]#region :hotel_alert</p><p> case "hotel_alert":</p><p> case "alert_hotel":</p><p> {</p><p> string Message = Convert.ToString(Params[0]);</p><p></p><p> PlusEnvironment.GetGame().GetClientManager().SendMessage(new BroadcastMessageAlertComposer(Message));</p><p> break;</p><p> }</p><p> #endregion[/CODE]</p></blockquote><p></p>
[QUOTE="Jerry, post: 406397, member: 35321"] Just downloaded the original R1 source and looked at the code, it looks like [B]hotel_alert[/B] isn't coded in the emulator. (Guess I added it myself) [IMG]http://image.prntscr.com/image/16f896f4918345149d75aaac2ffcda03.png[/IMG] What you should do is download Visual Studio and add this code in the [B]MusConnection.cs[/B] 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[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Plus Emulator MUS
Top