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
Stats bar
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="CosmoPeak" data-source="post: 426012" data-attributes="member: 68352"><p>You'd be better off using a websocket for live data. I believe on rage/flux/whatever, it sent an ajax request every 5 seconds to the server to get the health directly from the database (really not a great solution, but it'd work). Every 5 seconds is also not live, so it would only be useful to see your health when you're not doing anything, not when it's most important (eg. while fighting or healing for example). If you can't figure out websockets, I'd just not have stats bars at all.</p></blockquote><p></p>
[QUOTE="CosmoPeak, post: 426012, member: 68352"] You'd be better off using a websocket for live data. I believe on rage/flux/whatever, it sent an ajax request every 5 seconds to the server to get the health directly from the database (really not a great solution, but it'd work). Every 5 seconds is also not live, so it would only be useful to see your health when you're not doing anything, not when it's most important (eg. while fighting or healing for example). If you can't figure out websockets, I'd just not have stats bars at all. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Stats bar
Top