Ok I have found the issue, but it just opens even bigger questions. The issue is that delta timing seems to be screwing up. I have this code (from the code archives in fact)
This works perfectly for a friend of mine, and I imagine most other people, but for me it is being inconsistent for me. It usually seems to work for the client (a Graphical Minib3D app) but the server is returning strange results when I check the deltatime variable, such as:
How is it even possible to get a negative value from this? Is there something wrong with Millisecs() in console applications?
Type Delta Global Time:Float Global TimeDelay:Float Function Start() TimeDelay = MilliSecs() End Function Function Update() Time = (MilliSecs() - TimeDelay) TimeDelay = MilliSecs() End Function End Type
This works perfectly for a friend of mine, and I imagine most other people, but for me it is being inconsistent for me. It usually seems to work for the client (a Graphical Minib3D app) but the server is returning strange results when I check the deltatime variable, such as:
2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -2.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000 -1.00000000
How is it even possible to get a negative value from this? Is there something wrong with Millisecs() in console applications?