Posts: 208
Threads: 35
Joined: Dec 2012
Reputation:
0
Okay, I am using y_timers, I have never had this problem before, but for some reason, my timer is only being called once?
task PrimaryTick[1000]()
{
print("Tick is being called");
}
It only prints it once, and I have a kick function under there, which doesn't work either?
I really don't know how to resolve this
(And I have it included as this: '#include <YSI\y_timers>' at the bottom of my includes list
Posts: 208
Threads: 35
Joined: Dec 2012
Reputation:
0
I know, I always use y_timers though and have never come across this problem, so I would love to find a way to resolve it.
Thank you for the help though.
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
Are you using this timer on a filter-script or a game-mode?
I ask because if you're loading this as a filter-script, which isn't started DIRECTLY (as in put in the filterscripts line in server.cfg) when the server starts- YSI may not be working properly, hence why you're having this issue.
I am currently using the task function, as well as the ptask function, alongside many different timers- no issues at all.
Posts: 315
Threads: 6
Joined: Dec 2010
Reputation:
0
I'm actually having the same problem. I updated to the latest YSI a few days back, and weird stuff started happening in my test GM. Now it turns out timers weren't getting called. As far as I remember, before the update everything worked fine. I hope this gets fixed.
EDIT: I have crashdetect running all the time. Nothing unusual is printed in the console.
EDIT 2: I just restored the old YSI from the recycle bin, tested and timers work fine.
Posts: 208
Threads: 35
Joined: Dec 2012
Reputation:
0
Do you have the YSI libary from one before the last release?