Hi, I was watching the tutorial for creating a plugin using visual c++. However everytime I try to load my plugin my ts3 client either crashes or gives me this error:
Last edited by a moderator:
It sounds like you need to be using the latest version of the Plugin SDK when developing.Hi, I was watching the tutorial for creating a plugin using visual c++. However everytime I try to load my plugin my ts3 client either crashes or gives me this error:
It sounds like you need to be using the latest version of the Plugin SDK when developing.
https://www.teamspeak.com/downloads.html#sdk at present time 3/13/2017 you could download directly from here.
Scroll to the bottom, it says version 22 --- you need the latest (newest) version of the SDK/API/Plugin stuff.
If you continue having problems, uninstall TeamSpeak 3 from your system after backing up your bookmarks/identities.
Remove all data.. make sure to wipe out your TeamSpeak 3 folders. Reinstall TeamSpeak 3 freshly and try the above instructions --- get the latest API version. It is kind of a QT nightmare to have to keep re-deving your plugins for different versions but that is just one of the joys of being a plugin developer, that crazy lifecycle.
Haha, a .ts3_plugin file is just a zip (archive) with plugin files inside, I explained this on our forum already. We appreciate people wanting to learn, do not be afraid to ask questions here.How do I convert my .dll file into a .ts3_Plugin file.
KieranMeow said:WELP! Easier than I thought.
To create a .ts3_plugin file, all you have to do is create a file named "package.ini" and a folder named "plugins" with the .dll in it.
Then you simply zip those files and replace the .zip with .ts3_plugin
The content of package.ini should be
Name = [Addon Name]
Type = Plugin
Author = [Plugin Creator]
Version = [Version]
Platforms = [Example: win64, win32]
Description = "[Description here]"
Api = [API Version. 21 For example]
Thanks!Haha, a .ts3_plugin file is just a zip (archive) with plugin files inside, I explained this on our forum already. We appreciate people wanting to learn, do not be afraid to ask questions here.
You may also read the below quote for more info.
for (int i = 0; i < 5; i++) {
ts3Functions.requestClientMove(serverConnectionHandlerID, selectedItemID, 92 + i, "", NULL);
Sleep(1000);
}
Can you be more exact (scientific) please?it freezes my teamspeak for a few seconds and then instantly moves the person into the last channel
requestClientMove(*Connection, Id, Chan, "", NULL);
Have you found anything to help you or are you still having problems getting it to work?Any suggestions?
Haven't really gotten it to work. I have a decent java background, but this is my first time using c++.Have you found anything to help you or are you still having problems getting it to work?
You might want to start off by scripting for Teamspeak before you need to dig through the whole sdk.Haven't really gotten it to work. I have a decent java background, but this is my first time using c++.
I'm beginning to understand how to use the sdk and how c++ works. (I've been looking through the souce code for a couple of different plugins made for teamspeak).You might want to start off by scripting for Teamspeak before you need to dig through the whole sdk.
I'd suggest starting with LUA and building your way up to python and so on
But you could still try to use a C# Wrapper for the plugin sdk.
You can check the QTGUI Documents, and try around, There aren't a lot of documentation about that. I wish you all the Luck with it. I failed at it, multiple times for that matter.I'm beginning to understand how to use the sdk and how c++ works. (I've been looking through the souce code for a couple of different plugins made for teamspeak).
Quick question: how would I make an alert box pop-up when a certain event is triggered by the plugin.
To specify: User right clicks a channel and selects poke all users. -->*Alert pops up asking what the poke message should be.* poke is completed.
Or he can use a simple Windows messagebox but then it would be windows only.You can check the QTGUI Documents, and try around, There aren't a lot of documentation about that. I wish you all the Luck with it. I failed at it, multiple times for that matter.
could you show me what that would look like because what I've tried using does not work at all.Or he can use a simple Windows messagebox but then it would be windows only.
The only example i have on hand is https://github.com/Bluscream/Search...312401105e40649e3b8cfab6f02/src/plugin.c#L306could you show me what that would look like because what I've tried using does not work at all.
this is the error I'm getting when I try to open that program.Also i found https://github.com/teamspeak-plugins/ts3-qt-gui-via-menu/blob/master/src/plugin.cpp
And i would like to have this thread moved to development.
@ehthe, pleaseAnd i would like to have this thread moved to development.
Done@ehthe, please