Forum

Results 1 to 1 of 1
  1. #1
    Join Date
    March 2015
    Posts
    1

    TeamSpeak PHP Convert Error

    Hello everyone,

    I hope I am posting in the correct section but I did not see anything related to the PHP framework. The overall objective is to take a passed variable to my script that contains the UID of the client who wants to connect. I would take this variable and add it to one of the user groups. When browsing documentation, I found that I could use servergroupclientAdd and servergroupclientDel respectively. I crafted the following two functions, however, they result in the convert error exception below. Any help is much appreciated. Thank you.

    Code:
    Uncaught exception 'TeamSpeak3_Adapter_ServerQuery_Exception' with message 'convert error'
    Code:
    $ts3_VirtualServer = TeamSpeak3::factory("serverquery://loginname:spassword@ts52.gameservers.com:9100/?server_port=9458");
        $ts3_VirtualServer->serverGroupClientAdd(28453,$values[1]);
    Code:
        $ts3_VirtualServer = TeamSpeak3::factory("serverquery://loginname:password@ts52.gameservers.com:9100/?server_port=9458");
        $ts3_VirtualServer->serverGroupClientDel(28453,$values[1]);
    Last edited by dante696; March 13th, 2015 at 08:24 AM. Reason: logins and passwords removed

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Resolved] Disconnected (convert error) server v 3.0.11
    By Bluscream in forum Server Support
    Replies: 24
    Last Post: March 31st, 2016, 07:21 AM
  2. Error - Failed to convert string nan to float
    By cmpik in forum Client Support
    Replies: 113
    Last Post: September 18th, 2015, 04:18 PM
  3. ErrorID: 1540 | Message: convert error
    By Azoni in forum Server Support
    Replies: 1
    Last Post: September 11th, 2015, 07:14 AM
  4. [Resolved] [BUG] Convert error for everyone on the server and disconnects
    By Slater in forum Bug Reports [EN/DE]
    Replies: 9
    Last Post: May 18th, 2011, 11:05 AM
  5. [Resolved] Public test server returning "convert error" when attempting to connect
    By Screech in forum Bug Reports [EN/DE]
    Replies: 7
    Last Post: May 7th, 2011, 12:42 PM

Tags for this Thread

Posting Permissions

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