25.11.2016, 17:15
(
Последний раз редактировалось dotSILENT; 26.11.2016 в 18:50.
)
Hi!
First of all, let me point you to the original thread that I took the source from: https://sampforum.blast.hk/showthread.php?tid=571505
You can also find all the informations there.
Update: original source taken from https://github.com/Southclaw/fixes2
So everyone knows that timers in samp arent really accurate, thus plugins/includes like this one were made targetting this issue (and/or others)
I've used Dans timerfix plugin for a very long time, but sometimes (randomly, not even after >20 days) the timers were going crazy (from 1000ms to <100ms) even after the update that had to fix it. Because of that I have moved onto fixes2 some time ago, which was working perfectly fine, however it was crashing/freezing my server on "exit" command (I somehow resolved it without even modifying the source), and I also found out that using KillTimer inside of the timer makes it go forever. The KillTimer issue was actually simple, however it took me some time to realize how simple it was, the fix is even simplier (i'd rather call it an ugly fix)
I have also removed the logpritnf redirect as it was stopping all the print/f()'s from getting saved into server log.
Oh and I did remove all the stuff from fixes2.inc as I only needed the timers to be fixed.
Functionality remains the same, for more go to the original thread (link above)
Download (with source, .dll and .so (ubuntu 12.10)):
https://www.mediafire.com/?tyqc1dfoib9e6be
(don't blame me for not putting it onto github pls)
Edit: updates base source to Southclaw's one (apparently removing the logprintf/print/printf redirect caused the server to freeze)
First of all, let me point you to the original thread that I took the source from: https://sampforum.blast.hk/showthread.php?tid=571505
You can also find all the informations there.
Update: original source taken from https://github.com/Southclaw/fixes2
So everyone knows that timers in samp arent really accurate, thus plugins/includes like this one were made targetting this issue (and/or others)
I've used Dans timerfix plugin for a very long time, but sometimes (randomly, not even after >20 days) the timers were going crazy (from 1000ms to <100ms) even after the update that had to fix it. Because of that I have moved onto fixes2 some time ago, which was working perfectly fine, however it was crashing/freezing my server on "exit" command (I somehow resolved it without even modifying the source), and I also found out that using KillTimer inside of the timer makes it go forever. The KillTimer issue was actually simple, however it took me some time to realize how simple it was, the fix is even simplier (i'd rather call it an ugly fix)
I have also removed the logpritnf redirect as it was stopping all the print/f()'s from getting saved into server log.
Oh and I did remove all the stuff from fixes2.inc as I only needed the timers to be fixed.
Functionality remains the same, for more go to the original thread (link above)
Download (with source, .dll and .so (ubuntu 12.10)):
https://www.mediafire.com/?tyqc1dfoib9e6be
(don't blame me for not putting it onto github pls)
Edit: updates base source to Southclaw's one (apparently removing the logprintf/print/printf redirect caused the server to freeze)