Forum

Results 1 to 4 of 4
  1. #1
    Join Date
    September 2005
    Location
    Germany / Dortmund
    Posts
    1,376

    Solved [pluginsdk] onConnectStatusChangeEvent not triggered

    If my tests went right, the onConnectStatusChangeEvent is not triggered for connections, that are started by a plugin.

    Some example code:
    Code:
    uint64 newschid;
    if (funcs.spawnNewServerConnectionHandler(0, &newschid) == ERROR_ok) {
      if (funcs.startConnection(newschid, identity, host, port, nickname, NULL, NULL, NULL) == ERROR_ok) {
        //now onConnectStatusChangeEvent should be triggered
      }
      else funcs.destroyServerConnectionHandler(newschid);
    }
    The client will connect to the server, but the callback won't trigger.


    P.S.: The client ui does not recognize this connection as well (no new tab), but I still mentioned this in another thread.

  2. #2
    Join Date
    June 2008
    Posts
    18,410
    This is no bug. The "connect function" does not work with our current plugin API and will be removed for the next client.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  3. #3
    Join Date
    September 2005
    Location
    Germany / Dortmund
    Posts
    1,376
    Of course, it works, you can open connections with a plugin!

    And sorry, as long as this function is included in the SDK, it's a bug.

  4. #4
    Join Date
    January 2010
    Location
    Germany
    Posts
    2,029
    Yeah it did work, been playing around with that last year and the connection is made, it's just that no new Tab is spawned and no Devices get opened (the connected Client will show as SPeakers & Microphone disabled).

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Serverside triggered bannerrotation
    By Akumu in forum Server Support
    Replies: 2
    Last Post: June 26th, 2013, 12:51 PM
  2. Replies: 7
    Last Post: September 18th, 2012, 03:01 PM
  3. [PluginSDK] getResourcesPath
    By SilentStorm in forum General Questions
    Replies: 2
    Last Post: July 2nd, 2012, 06:44 PM
  4. [PluginSDK] Fire onConnectStatusChangeEvent right before disconnecting.
    By SilentStorm in forum Suggestions and Feedback
    Replies: 0
    Last Post: February 3rd, 2012, 12:21 AM

Posting Permissions

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