open.mp forum
[Server] Which timerfix plugin to use? - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Support (https://forum.open.mp/forumdisplay.php?fid=12)
--- Thread: [Server] Which timerfix plugin to use? (/showthread.php?tid=542)



Which timerfix plugin to use? - Luciano - 2019-05-09

There's various timerfix plugins made by Dan, KashCherry, Slice and there's fixes2.

I'm asking this question because I'm currently encountering an error with KashCherry's plugin (version 1.0.8):?
Code:
[timerfix.plugin] cannot execute callback with name "Malloc_SolidifyTimer"

YSI version is 5.03.0689, server 0.3.7.

Should I switch to another plugin or keep using this one, despite the error? I was unable to find a fix for it.


RE: Which timerfix plugin to use? - hual - 2019-05-09

You should go with fixes2 as it also has good y_timers support IIRC. Also to keep in mind, open.mp will have timers that don't need fixing!


RE: Which timerfix plugin to use? - Luciano - 2019-05-11

(2019-05-09, 10:20 PM)hual Wrote: You should go with fixes2 as it also has good y_timers support IIRC. Also to keep in mind, open.mp will have timers that don't need fixing!

Should I use this one??https://forum.sa-mp.com/showthread.php?t=571505

I couldn't find any other links.


RE: Which timerfix plugin to use? - hual - 2019-05-12

Actually it seems like Dan's is the most reliable one: https://github.com/udan11/samp-plugin-timerfix


RE: Which timerfix plugin to use? - Gravityfalls - 2019-05-12

I've used Dan's but nothing is as good as KashCherry's, if you've issues, it's better to get them resolved by making an issue at the repo. That's the right practice.


RE: Which timerfix plugin to use? - Y_Less - 2019-05-13

I have raised this issue with them so many times. The problem is that that plugin doesn't correctly support 0ms timers, which execute code as soon as possible after the current callback. It's a perfectly valid trick, and used in a whole load of places.


RE: Which timerfix plugin to use? - Luciano - 2019-05-13

(2019-05-13, 12:06 PM)Y_Less Wrote: I have raised this issue with them so many times. ?The problem is that that plugin doesn't correctly support 0ms timers, which execute code as soon as possible after the current callback. ?It's a perfectly valid trick, and used in a whole load of places.



If the developer cannot fix the issue with his plugin, is there anything I can do about 0ms timers in YSI? Edit the files and?change them to 1ms maybe? Directly call the functions?

Are there any negative effects of this error?