Slotchanger stops working after like 5 minutes

bercinew

Member
Joined
Aug 16, 2017
Messages
35
Reaction score
4
Points
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
Joined
Oct 28, 2015
Messages
411
Reaction score
253
Points
178
Script wont on its own, only if something interupts then may stop working. Check error log, maybe drops something useful.
 

bercinew

Member
Joined
Aug 16, 2017
Messages
35
Reaction score
4
Points
43
Script wont on its own, only if something interupts then may stop working. Check error log, maybe drops something useful.
Where can I find error log?
 
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
Joined
Aug 16, 2017
Messages
35
Reaction score
4
Points
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