thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: Teamspeak plugin (all games)  (Read 30065 times)

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 981
    • GitHub
Re: Teamspeak plugin (all games)
« Reply #90 on: December 25, 2012, 10:50:04 PM »
Well, changes are not quite big. My plugin store the Ts3 clientlist into a list, and loop every X minutes, matching online clients informations with stored ones. In this way it can display messages related on what is happening on the Ts3 server (who joined, who left etc) and then update the list. Having a separate plugin imho it's useless that's why I have not published mine ^^

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Teamspeak plugin (all games)
« Reply #91 on: December 25, 2012, 11:36:05 PM »
push a pull request then. I'll have a look at it

Offline Chottan

  • Jr. Member
  • **
  • Posts: 14
Re: Teamspeak plugin (all games)
« Reply #92 on: February 05, 2013, 05:32:10 PM »
it is not working on mw3 and mw2 any help it is connected to the teamspeak server sending me message that you are on the server but when I typing !ts it is telling me you are not connected any help ?

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Teamspeak plugin (all games)
« Reply #93 on: February 11, 2013, 07:25:56 PM »
it is not working on mw3 and mw2 any help it is connected to the teamspeak server sending me message that you are on the server but when I typing !ts it is telling me you are not connected any help ?
You will need to provide a b3.log
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline LouK

  • Full Member
  • ***
  • Posts: 119
    • The Sni:{Per}:Jum Clan
Re: Teamspeak plugin (all games)
« Reply #94 on: February 26, 2013, 12:30:38 AM »
hi there, I am having a problem with the !ts disjoin:

130226 00:34:29   CONSOLE   '129:14 say: 0 ^3:^2{^7Per^5}^3:^7LouK: !ts disjoin'
130226 00:34:29   VERBOSE   'Client Found: :{Per}:LouK on slot 0'
130226 00:34:29   VERBOSE   'Queueing event Say !ts disjoin'
130226 00:34:29   VERBOSE   'Parsing Event: Say: AdminPlugin'
130226 00:34:29   DEBUG   'AdminPlugin: OnSay handle 5:"!ts disjoin"'
130226 00:34:29   DEBUG   'AdminPlugin: Handle command !ts disjoin'
130226 00:34:29   DEBUG   'TeamspeakPlugin: TS command clientlist({}) [#1]'
130226 00:34:29   DEBUG   "TeamspeakPlugin: clientlist: [{'client_nickname': u'Ston from 127.0.0.1:38087', 'clid': 5, 'client_database_id': 4595, 'client_type': 1, 'cid': 1464}, {'client_nickname': u'Ston from 127.0.0.1:38098', 'clid': 7, 'client_database_id': 4595, 'client_type': 1, 'cid': 1464}, {'client_nickname': u':{Per}:LouK', 'clid': 9, 'client_database_id': 4537, 'client_type': 0, 'cid': 1623}, {'client_nickname': u'Ston from 127.0.0.1:38111', 'clid': 12, 'client_database_id': 4595, 'client_type': 1, 'cid': 1464}]"
130226 00:34:29   DEBUG   "TeamspeakPlugin: TS command clientinfo({'clid': 5}) [#1]"
130226 00:34:29   DEBUG   "TeamspeakPlugin: TS command clientinfo({'clid': 7}) [#1]"
130226 00:34:29   DEBUG   "TeamspeakPlugin: TS command clientinfo({'clid': 9}) [#1]"
130226 00:34:29   DEBUG   "TeamspeakPlugin: TS command clientinfo({'clid': 12}) [#1]"
130226 00:34:29   VERBOSE   'TeamspeakPlugin: found teamspeak client by ip (85.59.251.0)'
130226 00:34:29   VERBOSE   "RCON sending (127.0.0.1:27963) 'tell 0 ^7 ^3[pm]^7 You are connected on our Teamspeak server'"
130226 00:34:29   DEBUG   "TeamspeakPlugin: TS command clientmove({'clid': 9, 'cid': 1}) [#1]"
130226 00:34:29   ERROR   "RCON: too much tries. Abording ('tell 0 ^7 ^3[pm]^7 You are connected on our Teamspeak server')"
130226 00:34:29   DEBUG   'RCON: Did not send any data'
130226 00:34:34   ERROR   "TeamspeakPlugin: TS3 error : ID 768 (invalid channelID) {'msg': u'invalid channelID', 'id': 768}"
130226 00:34:34   VERBOSE   "RCON sending (127.0.0.1:27963) 'tell 0 ^7 ^3[pm]^7 ^7There was an error processing your command'"
130226 00:34:34   ERROR   u'handler AdminPlugin could not handle event Say: TS3Error: ID 768 (invalid channelID) {\'msg\': u\'invalid channelID\', \'id\': 768} [(\'/home/sniperjum/b3-1.8.2/b3/parser.py\', 1008, \'handleEvents\', \'hfunc.parseEvent(event)\'), (\'/home/sniperjum/b3-1.8.2/b3/plugin.py\', 158, \'parseEvent\', \'self.onEvent(event)\'), (\'/home/sniperjum/b3-1.8.2/b3/plugin.py\', 176, \'onEvent\', \'self.handle(event)\'), (\'/home/sniperjum/b3-1.8.2/b3/plugins/admin.py\', 235, \'handle\', \'self.OnSay(event)\'), (\'/home/sniperjum/b3-1.8.2/b3/plugins/admin.py\', 380, \'OnSay\', \'results = command.execute(data, event.client)\'), (\'/home/sniperjum/b3-1.8.2/b3/plugins/admin.py\', 2028, \'execute\', \'self.func(data, client, copy.copy(self))\'), (\'/home/sniperjum/b3-1.8.2/b3/extplugins/teamspeak.py\', 268, \'cmd_teamspeak\', \'self.tsMoveTsclientToChannelId(tsclient, original_channel)\'), (\'/home/sniperjum/b3-1.8.2/b3/extplugins/teamspeak.py\', 518, \'tsMoveTsclientToChannelId\', "self.tsSendCommand(\'clientmove\', {\'clid\': tsclient[\'clid\'], \'cid\': tsChannelId})"), (\'/home/sniperjum/b3-1.8.2/b3/extplugins/teamspeak.py\', 350, \'tsSendCommand\', \'return self._tsSendCommand(cmd, parameter, option)\'), (\'/home/sniperjum/b3-1.8.2/b3/extplugins/teamspeak.py\', 358, \'_tsSendCommand\', \'return self.tsconnection.command(cmd, parameter, option)\'), (\'/home/sniperjum/b3-1.8.2/b3/extplugins/teamspeak.py\', 727, \'command\', "raise TS3Error(ReturnCMDStatus[\'id\'], ReturnCMDStatus[\'msg\'], ReturnCMDStatus)")]'
130226 00:34:34   VERBOSE   'Parsing Event: Say: TranslatorPlugin'
130226 00:34:34   VERBOSE   'Parsing Event: Say: ChatloggerPlugin'
130226 00:34:34   DEBUG   'ChatloggerPlugin: ALL, 2, :{Per}:LouK, !ts disjoin'
130226 00:34:34   DEBUG   'ChatloggerPlugin: writing to file'
130226 00:34:34   DEBUG   'ChatloggerPlugin: rowcount: 1, id:22249'
130226 00:34:34   VERBOSE   'Parsing Event: Say: ExtraadminPlugin'
130226 00:34:34   ERROR   "RCON: too much tries. Abording ('tell 0 ^7 ^3[pm]^7 ^7There was an error processing your command')"
130226 00:34:34   DEBUG   'RCON: Did not send any data'

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Teamspeak plugin (all games)
« Reply #95 on: February 26, 2013, 10:15:46 AM »
This error occurred because the TS channel the user was in before he used the "!ts join" command was not existing anymore when he tried "!ts disjoin". The disjoin command tried to move it back to its original channel which does not exist anymore.

This should not occur frequently

Offline LouK

  • Full Member
  • ***
  • Posts: 119
    • The Sni:{Per}:Jum Clan
Re: Teamspeak plugin (all games)
« Reply #96 on: February 27, 2013, 03:29:05 PM »
Oh okay, so then it was my fault, I was testing some stuff with the plugin and restarted b3.

It's working prefectly now, thx

Offline Thomaxius

  • Full Member
  • ***
  • Posts: 116
Re: Teamspeak plugin (all games)
« Reply #97 on: June 29, 2014, 12:46:22 PM »
Just wondering, would it be feasible if one modified this plugin so that:
- Whenever a round starts, everyone gets moved to correct team channels
- When the round ends, everyone gets put to public channel, until a new round starts
- When someone dies, he gets put into 'public channel'

And if somehow possible in teamspeak, those dead cannot talk to the living, but could hear the living talk.

Basically what MW2 is originally.

Mainly I'm wondering if it doesn't cause too much load or anything, if one would do this.

Offline jgilsonsantos

  • Newbie
  • *
  • Posts: 5
Re: Teamspeak plugin (all games)
« Reply #98 on: December 04, 2016, 06:11:48 AM »
Hello, congratulations for Developper this plugin! I am a problem in instalation in the B3 version 1.10. I dont found the teamspeak.ini, do you can help me?

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2507
Re: Teamspeak plugin (all games)
« Reply #99 on: December 04, 2016, 11:25:41 PM »
There should have been a plugin_teamspeak.xml with the down load, in the extplugins\conf folder

 


Rate this page +1 at Google Search

anything