Slotchanger stops working after like 5 minutes

bercinew

Member
Aug 16, 2017
35
4
43
Hello!

Quick little question about slot changer on TeaSpeak that I have, so I start it it works fine, but approx. it turns off like 5 minutes after start.
What can I do? :)
 

kalle

high minded
Contributor
Oct 28, 2015
411
253
178
Script wont on its own, only if something interupts then may stop working. Check error log, maybe drops something useful.
 
E

ewenjo

It's a timeout issue that appeared on the newer versions of TeamSpeak Severs.

It's a simple fix, all you have to do it replace this line
PHP:
if($adapter->getQueryLastTimestamp() < time()-300)

with something like this
PHP:
if($adapter->getQueryLastTimestamp() < time()-250)

I have also updated the main resource, if you just want to download the newest version.
 
Last edited by a moderator:

bercinew

Member
Aug 16, 2017
35
4
43
It's a timeout issue that appeared on the newer versions of TeamSpeak Severs.

It's a simple fix, all you have to do it replace this line
PHP:
if($adapter->getQueryLastTimestamp() < time()-300)

with something like this
PHP:
if($adapter->getQueryLastTimestamp() < time()-250)

I have also updated the main resource, if you just want to download the newest version.

Okay so I tried it, it didn't work. (Using on multiple servers.)
 
Top