17.12.2017, 02:09
(
Last edited by dugi; 17/12/2017 at 12:13 PM.
)
Hello dear SAMP Community,
I've switched my server to 0.3.8 RC 4-3 today and I've gotten a very weird bug?
It's about my Timer or Timers for that matter... When i create a 1000ms timer, it's twice as slow than it should be! I've made a blank GM and a Benchmark test with GetTickCount which also gave me a ~2000ms result which is not okay!
It works perfectly on the 0.3.7 RC2 Version though...
Here's the Script:
The result from console:
OnPlayerUpdate is also VERY slow! 80-120ms!!!
So is this a bug? I guess so...
Kalcor should fix this ASAP.. Because i don't want to devide the speed of my timers...
I've switched my server to 0.3.8 RC 4-3 today and I've gotten a very weird bug?
It's about my Timer or Timers for that matter... When i create a 1000ms timer, it's twice as slow than it should be! I've made a blank GM and a Benchmark test with GetTickCount which also gave me a ~2000ms result which is not okay!
It works perfectly on the 0.3.7 RC2 Version though...
Here's the Script:
Code:
#include <a_samp> main() {} new TickRate; public OnGameModeInit() { TickRate = GetTickCount(); SetTimer("SecondUpdate", 1000, true); return 1; } forward SecondUpdate(); public SecondUpdate() { printf("TickRate: %i", GetTickCount() - TickRate); TickRate = GetTickCount(); return 1; }
OnPlayerUpdate is also VERY slow! 80-120ms!!!
So is this a bug? I guess so...
Kalcor should fix this ASAP.. Because i don't want to devide the speed of my timers...