12.10.2011, 20:04
So, here we have another cool release by Slice.
I'll experiment stuff with it, Thanks.
I'll experiment stuff with it, Thanks.
I don't think that actually does what you think it does (and I know you don't think it solves Slice's issue)... Your method of calculating "iEnd" is wrong - check the original "SendClientMessageEx" code by ZeeX on which this is based (although I'm not sure if the method you're trying to emulate was in his code or my modification - check them both).
That code will help eventually, although frankly Slice I think "y_inline" will help FAR more (as in basically solve your problems MOSTLY - there are some small issues with strings, but they don't currently work with timers outside y_timers anyway). In fact this idea makes me think I should port y_timers to use y_inline entirely - they do half the same things and it will make the code MUCH neater. For reference I'm thinking call "Callback_Get" in your "SetTimerEx" function (it works on publics too) and then call "Callback_Call" (using some of RyDeR`'s code to pass variable parameters) in your public timer function, having saved just the "E_CALLBACK_DATA" structure in your global array. Then dispose of the structure ("Callback_Destroy" or something, I forget) in "KillTimer" or if the timer is non-repeating - interestingly this will mean that you will, with no extra effort, support inline timers. |
for(iArgs = (iArgs >> 2) + 1; iArgs--; )
Do the timers just not fire? Do you see any output in the console? Are there strings being used in SetTimerEx?
|
#define TIMER_FIX_DISABLE_EX true
#include <timerfix>