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 Releases
New Achievement Score Command For R63B :)
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="Jayseanp" data-source="post: 249542" data-attributes="member: 38956"><p>Hey Devbest, I made the command to which most of you were looking for, the achievement score command.</p><p> 1. Add this code in</p><p>Butterfly / Habbo Hotel / Misc / ChatCommandHandler.cs :</p><p>internal void change score () </p><p> { </p><p> Game Client clientByUsername = null; </p><p> Room currentRoom = this.Session.GetHabbo () Current Room;. </p><p> clientByUsername = ButterflyEnvironment.GetGame () GetClientManager () GetClientByUsername (this.Param s [1]).. </p><p> if ( clientByUsername = null)! </p><p> { </p><p> int num; </p><p> if (int.TryParse (this.Params [2], out num)) </p><p> { </p><p> clientByUsername.GetHabbo () Achievement Points = num;. </p><p> clientByUsername.SendNotif (this.Session.GetHabbo () Username. + "changed your achievement score to" num.ToString + () +) '.' </p><p> this.Session.SendNotif ("Done."); </p><p> } </p><p> else </p><p> { </p><p> this.Session.SendNotif ("Please enter a number."); </p><p> } </p><p> } </p><p> else </p><p> { </p><p> this.Session.SendNotif ("User not found."); </p><p> }</p><p>------------------------------------------------------------------------------------------------------------------------------</p><p>Ends Here</p><p>------------------------------------------------------------------------------------------------------------------------------</p><p>2. Add this code to Butterfly / Messages / ChatCommandRegister.cs :</p><p>case 97: </p><p> commandHandler.changescore (); </p><p> break;</p><p>-------------------------------------------------------------------------------------------------------------------------------</p><p>3. Add this code to bin / debug / System / commands.ini :</p><p>[Change score] </p><p>= 7 changescore.minrank </p><p>changescore.description = Change the achievement score of a user in the hotel </p><p>changescore.prefix = </p><p>changescore.input = change score </p><p>= changescore.clubs</p><p>--------------------------------------------------------------------------------------------------------------------------------</p><p> Add this code to bin / debug / System / commands_register.ini :</p><p>change score = 97</p><p>---------------------------------------------------------------------------------------------------------------------------------</p><p></p><p>Run</p><p></p><p>The run, do the following in the client, </p><p>enter this code in the hotel ( Remove the [and] away! )</p><ul> <li data-xf-list-type="ul">: Change score [Name] [Number]</li> </ul><p></p><p>I hope it works! </p><p>Credits To My Mate 55% For Helping Me Out Alot.</p><p>Credits To Me 45% Figuring This Out .</p></blockquote><p></p>
[QUOTE="Jayseanp, post: 249542, member: 38956"] Hey Devbest, I made the command to which most of you were looking for, the achievement score command. 1. Add this code in Butterfly / Habbo Hotel / Misc / ChatCommandHandler.cs : internal void change score () { Game Client clientByUsername = null; Room currentRoom = this.Session.GetHabbo () Current Room;. clientByUsername = ButterflyEnvironment.GetGame () GetClientManager () GetClientByUsername (this.Param s [1]).. if ( clientByUsername = null)! { int num; if (int.TryParse (this.Params [2], out num)) { clientByUsername.GetHabbo () Achievement Points = num;. clientByUsername.SendNotif (this.Session.GetHabbo () Username. + "changed your achievement score to" num.ToString + () +) '.' this.Session.SendNotif ("Done."); } else { this.Session.SendNotif ("Please enter a number."); } } else { this.Session.SendNotif ("User not found."); } ------------------------------------------------------------------------------------------------------------------------------ Ends Here ------------------------------------------------------------------------------------------------------------------------------ 2. Add this code to Butterfly / Messages / ChatCommandRegister.cs : case 97: commandHandler.changescore (); break; ------------------------------------------------------------------------------------------------------------------------------- 3. Add this code to bin / debug / System / commands.ini : [Change score] = 7 changescore.minrank changescore.description = Change the achievement score of a user in the hotel changescore.prefix = changescore.input = change score = changescore.clubs -------------------------------------------------------------------------------------------------------------------------------- Add this code to bin / debug / System / commands_register.ini : change score = 97 --------------------------------------------------------------------------------------------------------------------------------- Run The run, do the following in the client, enter this code in the hotel ( Remove the [and] away! ) [LIST] [*]: Change score [Name] [Number] [/LIST] I hope it works! Credits To My Mate 55% For Helping Me Out Alot. Credits To Me 45% Figuring This Out . [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
New Achievement Score Command For R63B :)
Top