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
RP Caching
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="JayC" data-source="post: 418410" data-attributes="member: 36373"><p>I avoid using separate timers in the emulator I am coding for FluxRP.</p><p></p><p>I have 1 main timer that runs the habbo class and rp class (Thanks to [USER=72299]@Damien[/USER] for recoding parts of this timer)</p><p></p><p>But I have a long variable set to a Unix Timestamp (Which gets stored in the database when the user disconnects), and then I compare that to the current timestamp in my 1 loop.</p><p>This handles ALL of my loops. It gets called every second (On it's own thread because it's on it's own loop so the game doesn't lagg...)</p></blockquote><p></p>
[QUOTE="JayC, post: 418410, member: 36373"] I avoid using separate timers in the emulator I am coding for FluxRP. I have 1 main timer that runs the habbo class and rp class (Thanks to [USER=72299]@Damien[/USER] for recoding parts of this timer) But I have a long variable set to a Unix Timestamp (Which gets stored in the database when the user disconnects), and then I compare that to the current timestamp in my 1 loop. This handles ALL of my loops. It gets called every second (On it's own thread because it's on it's own loop so the game doesn't lagg...) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
RP Caching
Top