PDA

View Full Version : NEED A LIST OFF ALL TSREMOTE.DLL USES (Functions)


vbman213
26-04-2007, 02:53
Ok basicly I am making a program and I would like to have 100% control over the teamspeak client using the tsremote.dll I know how to use it but basicly I need to get a list off all the functions I can call from it...

the main ones I need is sendtexttoplayer and other simple functions that I cant figure out yet...

BHKai
26-04-2007, 03:09
I would not make anything too complicated as TS3 might have to make to restart from scratch.

Hook88
26-04-2007, 10:03
C:\Programme\Teamspeak2_RC2\client_sdk>tsControl
TeamSpeak 2 remote control

Usage: tscontrol COMMAND [parameters] <optional>
Commands:

CONNECT [teamspeak_url] Connect to teamspeak server
Example: CONNECT TeamSpeak://teamspeak.org?channelname=Channel%201
DISCONNECT Disconnect fromteamspeak server
QUIT Close teamspeak
SWITCH_CHANNEL [channelid] <password> Switch to channel
GET_CLIENT_VERSION Returns Client Version
GET_SERVER_INFO Returns info on the Server
GET_USER_INFO Returns info on the user of the TS client
GET_CHANNEL_INFO [channelid] Returns info on the selected channel
GET_PLAYER_INFO [playerid] Returns info on the selected player
GET_CHANNELS Returns a list of all the channels
GET_PLAYERS Returns a list of all the players
GET_SPEAKERS Returns a list of all the current speakers
MUTE / UNMUTE Mutes or unmutes your speakers
SET_OPERATOR [playerid] [GRANT/REVOKE] GRANT / REVOKE operator status to player
SET_VOICE [playerid] [GRANT/REVOKE] GRANT / REVOKE Voice status to player
KICK_PLAYER_CHANNEL [playerid] <reason> Kick a player from the channel
KICK_PLAYER_SERVER [playerid] <reason> Kick a player from the server
SEND_MESSAGE_CHANNEL [channelid] [message] Sends a text message to a channel
SEND_MESSAGE [message] Sends a text message to every channel

Reedy Boy
26-04-2007, 12:10
C:\Programme\Teamspeak2_RC2\client_sdk>tsControl
TeamSpeak 2 remote control

Usage: tscontrol COMMAND [parameters] <optional>
Commands:

CONNECT [teamspeak_url] Connect to teamspeak server
Example: CONNECT TeamSpeak://teamspeak.org?channelname=Channel%201
DISCONNECT Disconnect fromteamspeak server
QUIT Close teamspeak
SWITCH_CHANNEL [channelid] <password> Switch to channel
GET_CLIENT_VERSION Returns Client Version
GET_SERVER_INFO Returns info on the Server
GET_USER_INFO Returns info on the user of the TS client
GET_CHANNEL_INFO [channelid] Returns info on the selected channel
GET_PLAYER_INFO [playerid] Returns info on the selected player
GET_CHANNELS Returns a list of all the channels
GET_PLAYERS Returns a list of all the players
GET_SPEAKERS Returns a list of all the current speakers
MUTE / UNMUTE Mutes or unmutes your speakers
SET_OPERATOR [playerid] [GRANT/REVOKE] GRANT / REVOKE operator status to player
SET_VOICE [playerid] [GRANT/REVOKE] GRANT / REVOKE Voice status to player
KICK_PLAYER_CHANNEL [playerid] <reason> Kick a player from the channel
KICK_PLAYER_SERVER [playerid] <reason> Kick a player from the server
SEND_MESSAGE_CHANNEL [channelid] [message] Sends a text message to a channel
SEND_MESSAGE [message] Sends a text message to every channel


Heh

That was easy :)

Thomas
26-04-2007, 13:00
In you client_sdk directory, there is a delphi/object-pascal unit which loads all functions from the library (TsRemoteImport.pas).

This will help you with other programming languages as well.