PDA

View Full Version : Battlefield Teamspeak 2 channel switcher


siepel
28-05-2005, 00:04
I`m trying to make a little app that synchronizes Battlefield and Teamspeak.

Currently my script is php based, so it is absolutely OS independent.
Server based. (but could be run from anywhere in the world if ports are accessible.
It detects who is on what team in Battlefield 1.6 or higher with any mod.
It also detects what user (id) is on what channel.

But now comes the trick that i have to send a command to the server that it has to switch userid to channelid.

Is that possible trough TCPQuery ?

This user (http://forum.goteamspeak.com/showthread.php?t=22326) made a script for Enemy Territory, but that is client based.
I would like to make it server based.

There is also an serverbased TS2PerlMod that switches idle users to a set channel. The perlmod can be run from anywhere, only thing you need is superadmin account and ip/port number. So it should be possible.

Does anyone know what commands can be send to TCPQuery port?
Cant find any good list

m&m's
28-05-2005, 00:58
let me know when you got this working our clan is a bf clan and were switching to bf2 as soon as it comes out , we will try it out

WalkaboutTigger
28-05-2005, 21:31
Check out http://dontcamp.com - they have one up and operational.

siepel
29-05-2005, 23:41
I have got it working.

The code is still messy, but it works excelent.

i will post another release when i made it more clean.
Just enter your server vars in the php file, and insert it into a cron deamon, Synchronizing every 2 minutes should be enough.

ZDH.Eisenhower
07-06-2005, 21:14
Hey guys, I saw this old post and thought i would tell you about BFTSEnforcer.
http://bfts-enforcer.sf.net

It is an open source, Operating System independent server tool written in Java 1.5

It synchronizes teams between the BF server and the TS server.

It can reside on the server itself or any other machine that has access to the necessary administration and query ports.

You can download it at: http://bfts-enforcer.sf.net (you want the alpha0.3)
It is really not alpha quality, it has been running on our server for months without downtime.

All it requires once it is setup and compiled is that nicknames in TS have the same ending as the names in BF

For example: [ZDH] Eisenhower in BF, my TS name could be Eisenhower.

This was written by members of the ZDH clan (www.zipdiskheaters.com):
[ZDH] Eisenhower
[ZDH] JackRipper

Feel free to submit comments/suggestions via the sourceforge website.

goldnchild
03-08-2005, 14:35
Anyone have this working for MOHAA?