Most visitors online was 12720 , on 2 May 2024
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
Using RoomUserManager.OnCycle for a lot of things can have unforseen consequences (I was using it for many functions in an early RP emulator of mine and it cause rooms to crash frequently) so it's best to have a new thread to handle un-room related cyclesOnCycle(), love that
Yes, but, where? i mean, where this new Thread will be? inside the Habbo User class (Habbo.cs) or in the emu system class (Game.cs or other)?Using RoomUserManager.OnCycle for a lot of things can have unforseen consequences (I was using it for many functions in an early RP emulator of mine and it cause rooms to crash frequently) so it's best to have a new thread to handle un-room related cycles
Yes, but, where? i mean, where this new Thread will be? inside the Habbo User class (Habbo.cs) or in the emu system class (Game.cs or other)?
I have a Task that runs once a second for most RP functions in my emulator, located inside a Roleplay class which is inside the Habbo class.
(Habbo.Roleplay.PlayerTask)
Yes you would notice a performance increase. If you got time when you read this, look up the disadvantages of using Thread.sleep.I'm very new to coding, and I use Thread.Sleep(2000); quite frequently. (In like 8 commands or so). would I even notice the difference if I changed it? I mean, ofc its better to do it the "right" way, but in terms of performance?
Yeah I read up on it and will change my code. Had no idea.. Thank you for pointing me in the right direction.Yes you would notice a performance increase. If you got time when you read this, look up the disadvantages of using Thread.sleep.
I have this command a long time ago out ZiptoEMU, Credits to the makers from ziptoemu <3Hello to all friends of Ragezone I am here to post you a command that I did.
well let's start!
Go to : HabboHotel\Rooms\Chat\Commands\User
Create File , called :SmokeWeedCommand.cs
PHP:http://pastebin.com/BH7ynvYT
And Go To CommandManager and add
PHP:this.Register("smoke", new SmokeWeedCommand());
The command texts are translated in my language, I had no desire to translate them into English.
I have this command a long time ago out ZiptoEMU, Credits to the makers from ziptoemu <3