TeamSpeakSync 2004 v0.2
=======================
Crowze (crowze@beyondunreal.com)

NOTE: This version is intended for testing purposes, so don't expect it do everything as it should.  If you have any problems, feel free to get in touch.

What is it?
-----------
TeamSpeakSync is a server-side actor for Unreal Tournament 2004 which controls a TeamSpeak (http://www.goteamspeak.com) server.  It moves the players into channels that correspond to the in-game teams, so each team has their own private chat room.

It is intended for use on servers only; clients need not install this for it to work.


Installation
------------
1. Extract TeamSpeakSync.u to your UnrealTournament/System directory.
2. Add the following line to your Infiltration.ini under [Engine.GameEngine]:
ServerActors=TeamSpeakSync.TeamSpeakSyncher
3. Copy the contents of UT2004-TSS-ADD.ini into your UT2004.ini (or whichever you use for your server).

Now, the actor will be loaded automatically when your server starts, and will happily sit in the background and move people around as needed.

Configuration
-------------
The following options are available under [TeamSpeakSync.TeamSpeakSyncher]:
CheckInterval		How often the actor contacts the TeamSpeak server (integer, default 10 seconds)
Timeout			The maximum amount of time it stays connected (integer, default 3 seconds)
DebugLog		When true, will output random garbage to your log.  Recommended for debugging purposes, but be warned - it will fill up your log (boolean, default false)
MoveSpectators		When true, will put all spectators in the Alternate channel (boolean, default true)
TSServerIP		The IP address of the TeamSpeak server to control (string, default 127.0.0.1)
TSServerPort		The main port the TeamSpeak server runs on.  If you have multiple servers on one install, use the appropriate port (integer, default 8767)
TSServerSuperPort	The query port of the TeamSpeak server (integer, default 51234)
LoginType		Specifies the type of login to use: SuperAdmin or Admin (string, default Admin)
AdminLogin		The login name for the Admin (string, default admin)
AdminPassword		The password for the Admin (string, default none)
SuperAdminLogin		The login name for the SuperAdmin (string, default superadmin)
SuperAdminPassword	The password for the SuperAdmin (string, default none)
ChannelName[array]	The name of the corresponding TeamSpeak channels (string, default Team A/B/C/D)
AlternateName		The channel name for anyone not in a team - for example, spectators (string, default Default)

Usage
-----
Although the actor is automated, clients should be aware of how it compares the player names.  Firstly, the clients must connect manually to the TeamSpeak server - auto-connect is far beyond the scope of this ;).  Because TeamSpeak doesn't allow some characters in a name e.g. [ and ], the actor searches for a substring of the TeamSpeak name in the in-game name.  It is recommended that players use only a part of their in-game name in TeamSpeak e.g. [UMC]Crowze in-game, Crowze in TS.

History
-------
0.2	09/10/2005	First UT2004 release.