Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Server Loop


Xlithan
 Share

Recommended Posts

Not sure if this was an issue with the old Mirage Source or if it still exists. But does anybody ever have an issue with the server loop at times? Health stops regenerating, monsters stop attacking. Just wondering if anybody has come across this issue or knows of any way it could be solved.
Link to comment
Share on other sites

@'Growlith1223':

> you can use my tutorial and you won't ever have to restart your comp, look for the Fix Tick Initialization fix on the forums!

You'd have to restart after 40 days or so, right? GetTickcount returns a unsigned 32 bit int, and eventually (after around 40 days) it should overflow
Link to comment
Share on other sites

from my testing of testing, i have yet to actually have that happen. and my code checks to see if it's below 0, if so then it will add the Integer's max value ONTO the values. there is a rollback in about 40 days that rolls it back to 0 but it's a very easy fix, you just need to re-init all the timers and everything's good.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...