Back to Board Index
Back to Board Index
Forum help
| TS3 autochannel switcher | |
Steff Missot ![]() 1st Jan 2013 15:25:32 | Hey Dave,
I've heared a rumour that it's not possible like we had in TS2. But I've been thinking and it shouldn't be that hard. If you can find a way to put the player's frequency in a DB with a refresh rate of around 2 secs. I can set-up a PHP cron job that connects to TS3 telnet and searches for the frequency string in all channels and if one found it will send a command that let's the player switch frequency, so it's all server-side and no software needed. Just my imagination from another perspective ;) |
Dave Wave ![]() 1st Jan 2013 15:38:09 | It's on my list to do look at soon.
There's a few options I think. |
Dave Wave ![]() 7th Jan 2013 19:10:50 | OK, FSopen server can detect players changing frequency.
The server can then telnet and make the change. I've tested all and seems to work fine. Just need to test with groups who are willing to give me access to their ts3 server via ServerQuery Login. I think that means server admin status but I might be wrong. |
Steff Missot ![]() 7th Jan 2013 19:15:16 | Ye we made a program and had it all working,
But there is one problem, Your IP has to be whitelisted because of flood limits. Company's will only whitelist a couple. So I designed a PHP script that does the telnet thingy. |
Joe Clifford ![]() 7th Jan 2013 19:23:41 | Hello,
Yes Steff and I developed a program that with a User Client, PHP script, telnet and TS3 Server Query picks up a change in a players Frequency and moves them to a room if it exists. We have been testing it for the last week and it works really well however the problem is that most TS3 hosts limit the amount of commands the server query can send. It ends up flooding the server. The server has to White list the IP address of the host running the script. Most hosts are not prepared to do this. If they are, they are only willing to add one IP address to a white list. If the hosts IP address is not static then you will have to keep changing the IP on the TS3 White List. They say that this a possible security breach and therefore don't allow it to be done. Regards Joe |
Dave Wave ![]() 7th Jan 2013 19:23:48 | Err, get goffa to buy a static ip. He should be thinking about moving to BT Infinity anyway! |
Joe Clifford ![]() 7th Jan 2013 19:24:44 | Oopps, Steffs Post Wasn't there when I started typing! Slightly different content... |
Steff Missot ![]() 7th Jan 2013 19:32:19 | Well Joe,
Dave's is better :) he has server client only which makes it easier. Dave, is there anyway to disable it for the user? Like a chat command? |
Steff Missot ![]() 7th Jan 2013 19:56:32 | Dave, I'm in TS now |
Dave Wave ![]() 7th Jan 2013 19:57:43 | Yes its possible with chat but surely if a user doesn't change freq then he won't be moved! |
Steff Missot ![]() 7th Jan 2013 19:59:27 | Can you meet me in TS? |
Dave Wave ![]() 7th Jan 2013 20:02:22 | yep, 10 mins |
You need to Log on to post a reply. |
Forum help











