Forum

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Join Date
    April 2009
    Location
    Germany / Deutschland
    Posts
    71

    Python Scripting Interface

    Hello TS3-Fans,

    i am creating a Python Scriptin Interface for TS3, because i dont really like Lua, but i am addicted to Python .
    Currently only about 3 Functions are working, but adding new functions takes about 1~3 minutes. I will have to implement callbacks and fix some memory leaks.
    If somebody is interested in helping please post.
    I consider realising the plugin source code under gpl when its done.

    Update:
    Test Realse
    Read the README !
    Only Win32 Support sorry
    Click
    Cheers
    Last edited by 4nt1h4cker; December 23rd, 2009 at 04:00 PM.

  2. #2
    Join Date
    December 2009
    Location
    Germany - Near Berlin
    Posts
    13
    Really nice

    But i going to Code with LUA

    -Flaver 'hooK'

  3. #3
    Join Date
    April 2009
    Location
    Germany / Deutschland
    Posts
    71
    Thank you.
    At least one answere after about 400 views


    Cheers antihacker

  4. #4
    Join Date
    December 2009
    Location
    France
    Posts
    1
    Hi good initiative, I hate lua, I code in Python can I help you?

    Sorry for my English i'am French.

  5. #5
    Join Date
    April 2009
    Location
    Germany / Deutschland
    Posts
    71
    When you know c, you could help me a lot. Otherwise you could try creating some simple class around my internal class porting the c functions 1 to 1.

    Cheers antihacker

  6. #6
    Join Date
    December 2009
    Location
    Somerville, MA
    Posts
    7
    Dude this is awesome, I am a hardcore Python web developer, would love this plugin. Keep up the good work!

  7. #7
    Join Date
    December 2009
    Location
    il, usa
    Posts
    3
    sweet.. looking forward to this!

    right now i have a second teamspeak3 client open streaming music from winamp and a winamp python controller that parses the channel chat from the teamspeak client looking for commands like !play, !next, etc.. then executing them in the winamp. If you get this going i could use it as a server bot and it would be able to tell users what song it is playing.. nice!

    Also allowing me to setup some other things i have some ideas for..

  8. #8
    Join Date
    December 2009
    Location
    Germany
    Posts
    9
    Good idea. I am not really a fan of lua and python is one of the languages we use at work.
    Are you writing this for windows and linux platform or only for windows?

  9. #9
    Join Date
    October 2009
    Location
    Germany
    Posts
    23
    Really nice idea. I'am learning python, its a beautiful language .

  10. #10
    Join Date
    April 2009
    Location
    Germany / Deutschland
    Posts
    71
    Quote Originally Posted by roul04 View Post
    Good idea. I am not really a fan of lua and python is one of the languages we use at work.
    Are you writing this for windows and linux platform or only for windows?
    It should run on both os.

  11. #11
    Join Date
    September 2009
    Location
    France
    Posts
    4
    Hello,
    Have you already sucess for connecting to server using ts3client_startConnection() method ?

  12. #12
    Join Date
    April 2009
    Location
    Germany / Deutschland
    Posts
    71

    Python Scripting Interface

    First test version realese

    Windows support only currently sorry, next version will support linux.

    Put test.py in same folder as client.exe.
    Put python.dll in your plugin folder.

    Connect to any server and enter /python load test.py
    Last edited by 4nt1h4cker; December 22nd, 2009 at 09:30 PM.

  13. #13
    Join Date
    December 2009
    Location
    il, usa
    Posts
    3
    which version is this for..
    which version of python..
    and anything else we need to know for this to work..

    i put test.py and ts3def.py into the folder with my client.exe and stuck python.dll + python26.dll into my plugins folder.. When i launch teamspeak im not seeing it in the plugins list. I went ahead and tried to connect to a server and run /python load test.py and got an invalid command error.

    Edit: checked my client logs and it says Failed to load plugin: C:\Program Files\TeamSpeak 3 Client\plugins\python.dll
    Last edited by mission85; December 23rd, 2009 at 06:26 AM.

  14. #14
    Join Date
    December 2009
    Location
    Germany / Saarland
    Posts
    4
    Quote Originally Posted by mission85 View Post
    which version is this for..
    which version of python..
    and anything else we need to know for this to work..

    i put test.py and ts3def.py into the folder with my client.exe and stuck python.dll + python26.dll into my plugins folder.. When i launch teamspeak im not seeing it in the plugins list. I went ahead and tried to connect to a server and run /python load test.py and got an invalid command error.

    Edit: checked my client logs and it says Failed to load plugin: C:\Program Files\TeamSpeak 3 Client\plugins\python.dll
    the same @me ......

  15. #15
    Join Date
    December 2009
    Location
    Germany
    Posts
    5
    I downloaded your plugin, 4nt1h4cker, and it works for me; I used Windows XP 64-Bit and the TS3 32-Bit Client Beta5. And I think, I know, why it doesn't for some others. I assume you did not use static linking. So you dll depends on VC++-libs, which I have, because VC++ is installed on my computer, but many others won't have.
    If you're using VC++, go to your projects properties --> General and set "Use of MCF" to "Use MFC in a Static Library". That did the trick for me.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: July 13th, 2015, 12:32 AM
  2. Can I use serveradmin over PHP or any other scripting language?
    By ThomasTailor93 in forum Tools / Web Based
    Replies: 2
    Last Post: January 14th, 2012, 10:28 PM
  3. PyTS3 - Use the Server Query in python simple
    By MrJarus in forum Tools / Web Based
    Replies: 15
    Last Post: July 16th, 2010, 10:29 PM
  4. Scripting Welcome Message
    By billj4u in forum Windows
    Replies: 0
    Last Post: July 7th, 2010, 12:29 PM

Posting Permissions

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