Community Forums Today's Posts     Member List     Archive    
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Location
    Germany
    Posts
    24

    Lua Manual / Docs

    Is there a documentation already available that shows which functions / libs are available and which args do they have on the Client / Server?

    i only got a small list by creating a PrintTable (this function is a modified version from Garry's Mod to work with TS3, i didn't made use of the indent arg yet feel free to expand it :P) function and calling it like that: ts3.printMessage( serverConnectionHandlerID, PrintTable( ts3 ) )

    Code:
    function PrintTable( t, indent, done )
        done = done or {}
        indent = indent or 0
        local output = ""
    
        for key, value in pairs( t ) do
            if type( value ) == "table" and not done[value] then
                done [value] = true
                output = output .. tostring ( key ) .. ":" .. PrintTable( value, indent + 2, done ) .. "\n"
            else
                output = output .. tostring ( key ) .. "\t=\t" .. type( value ) .. "\n"
            end
        end
        return output
    end
    Code:
    ts3:
        getChannelIDFromChannelNames = function
        requestChannelUnsubscribeAll = function
        requestChannelDescription = function
        getClientSelfVariableAsString = function
        requestServerVariables = function
        setPreProcessorConfigValue = function
        getClientID = function
        logMessage = function
        getParentChannelOfChannel = function
        getClientSelfVariableAsInt = function
        printMessage = function
        getChannelClientList = function
        requestClientMove = function
        requestChannelDelete = function
        requestClientPoke = function
        requestChannelSubscribe = function
        requestSendTextMsg = function
        flushClientSelfUpdates = function
        getPlaybackConfigValueAsFloat = function
        setClientSelfVariableAsString = function
        getChannelVariableAsString = function
        requestClientKickFromServer = function
        getChannelVariableAsInt = function
        playWaveFile = function
        getServerVariableAsInt = function
        getConfigPath = function
        requestChannelUnsubscribe = function
        getClientList = function
        getCurrentServerConnectionHandlerID = function
        setClientSelfVariableAsInt = function
        getPluginPath = function
        urlsToBB = function
        getServerConnectionHandlerList = function
        flushChannelUpdates = function
        getServerVariableAsUInt64 = function
        requestChannelMove = function
        getChannelList = function
        flushChannelCreation = function
        getServerVariableAsString = function
        setChannelVariableAsString = function
        setChannelVariableAsInt = function
        getResourcesPath = function
        setPlaybackConfigValue = function
        requestClientVariables = function
        getCurrentChatServerConnectionHandlerID = function
        getClientVariableAsString = function
        requestChannelSubscribeAll = function
        getPreProcessorInfoValueFloat = function
        getEncodeConfigValue = function
        getClientVariableAsInt = function
        getChannelOfClient = function
        getAppPath = function
        requestClientKickFromChannel = function
        getPreProcessorConfigValue = function
        getClientLibVersion = function
        getErrorMessage = function
    Last edited by Neico; 20-12-2009 at 01:02.

  2. #2
    Join Date
    Sep 2005
    Location
    Germany / Dortmund
    Posts
    1,282
    In the scripts directory there should be a file named ts3events.lua.
    Take a look at this file. There you can see the events and at end of file, there is a list with available commands.

  3. #3
    Join Date
    Apr 2005
    Location
    Germany
    Posts
    24
    oh there i only saw the event functions :/

  4. #4
    Join Date
    Sep 2005
    Location
    Germany / Dortmund
    Posts
    1,282
    Of course, there is a list.

    From
    Code:
    ts3.getClientLibVersion() > version, error
    to
    Code:
    ts3.urlsToBB(textWithURLs) > bbCodeText

  5. #5
    Join Date
    Dec 2009
    Location
    Michi
    Posts
    13
    I would have to say that they are almost unreadable too though. See attachment for example.
    Attached Images Attached Images  

  6. #6
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    3
    Just use an other Editor like notepad++ and it is readable.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. please help someone
    By theundead67 in forum [TeamSpeak 2] Server Support
    Replies: 59
    Last Post: 31-03-2007, 04:53
  2. manual installing teamspeak on mandrake
    By linux4os in forum [TeamSpeak 2] Client Support
    Replies: 6
    Last Post: 10-04-2004, 11:16
  3. finish the new manual
    By Bastian in forum [TeamSpeak 2] General Questions
    Replies: 1
    Last Post: 06-04-2004, 17:02
  4. Web Interface Manual
    By nightmarepm in forum [TeamSpeak 2] Server Support
    Replies: 1
    Last Post: 08-03-2003, 05:10
  5. Manual??
    By Matrf in forum [TeamSpeak 2] Server Support
    Replies: 1
    Last Post: 19-09-2002, 15:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •