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 31739 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Teamspeak plugin (all games)
« on: April 19, 2011, 05:28:36 PM »
teamspeak is a plugin that switch players into the TS channel of their in-game team.
You change team in-game, B3 moves you to the correct TS channel.


Download  |  rss feed
« Last Edit: November 21, 2012, 11:44:55 PM by Courgette »

Offline [DAD]GrimReaper

  • Full Member
  • ***
  • Posts: 128
Re: Teamspeak plugin (all games)
« Reply #1 on: April 19, 2011, 08:50:11 PM »
Tested this on our TS server / Black ops

and I can see that the TS channels are created as per:

      <set name="B3">Black Ops - Server 1 - Unranked - Guests</set>
      <set name="team1">Team 1</set>
      <set name="team2">Team 2</set>

However the server doesnt seem to move us to either Team 1 or Team 2 but drops us in the B3 channel, any ideas, do I have to dedicated the team names? ie

      <set name="B3">Black Ops - Server 1 - Unranked - Guests</set>
      <set name="NVA">Team 1</set>
      <set name="Op 40">Team 1</set>
      <set name="Speznas">Team 2</set>
      <set name="Tropas">Team 2</set>



Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Teamspeak plugin (all games)
« Reply #2 on: April 19, 2011, 09:11:27 PM »
could you provide you b3.log showing the bot starting and the players being moved to the wrong channel ?

Offline [DAD]GrimReaper

  • Full Member
  • ***
  • Posts: 128
Re: Teamspeak plugin (all games)
« Reply #3 on: April 19, 2011, 09:39:55 PM »
I think it takes a while to happen, i was in our unranked server, the plugin didnt move me, i manually switched teams then i heard the magic "you were moved" and i was the only one on TS

Offline TmR

  • Full Member
  • ***
  • Posts: 94
Re: Teamspeak plugin (all games)
« Reply #4 on: June 17, 2011, 05:54:53 PM »
110617 17:35:38 CONSOLE 570:46 J;43412412;9;[oOc]TmR. [NL]
110617 17:35:38 DEBUG   [oOc]TmR. [NL] connected, waiting for Authentication...
110617 17:35:38 DEBUG   Our Authentication queue: {'9': 1}
110617 17:35:40 DEBUG   newClient: 9, 43412412, [oOc]TmR. [NL]
110617 17:35:40 DEBUG   TmR. [NL]^7 found in status/playerList
110617 17:35:40 BOT     Client found in storage 2, welcome back [oOc]TmR. [NL]
110617 17:36:01 VERBOSE Parsing Event: Client Team Change: TeamspeakPlugin
110617 17:36:01 DEBUG   TeamspeakPlugin: TS command clientlist({}) [#1]
110617 17:36:01 DEBUG   TeamspeakPlugin: cannot find 9 client info from TS
110617 17:36:46 CONSOLE 571:44 say;43412412;9;[oOc]TmR. [NL];^U!tsauto on
110617 17:36:46 VERBOSE Queueing event Say !tsauto on
110617 17:36:46 DEBUG   AdminPlugin: OnSay handle 5:"!tsauto on"
110617 17:36:46 DEBUG   AdminPlugin: Handle command !tsauto on
110617 17:36:46 DEBUG   TeamspeakPlugin: data is 'on'
110617 17:36:46 DEBUG   TeamspeakPlugin: TS command clientlist({}) [#1]
110617 17:36:46 VERBOSE RCON sending (173.199.111.139:3084) 'tell 9 ^0|[^7oO^1c^0]|^7: ^3[pm]^7 You will be automatically switched on your team channel'
110617 17:36:46 DEBUG   TeamspeakPlugin: cannot find 9 client info from TS
110617 17:37:53 VERBOSE Parsing Event: Client Team Change: TeamspeakPlugin
110617 17:37:53 DEBUG   TeamspeakPlugin: TS command clientlist({}) [#1]
110617 17:37:53 DEBUG   TeamspeakPlugin: cannot find 14 client info from TS

While my name is TmR. [NL] ingame, and on TS, i am still not moved...
We have a channel: oOc Array TDM which is created by the b3 bot, with 2 channels: team 1 and team 2.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Teamspeak plugin (all games)
« Reply #5 on: June 17, 2011, 06:07:12 PM »
can you follow the steps below and provide your full b3.log after :

  • make sure log_level is 9 in your b3.xml
  • log off TS
  • restart B3
  • wait for B3 to initialise
  • join the game
  • type !teamspeak
  • connect on teamspeak (stay away from the B3 channels)
  • type !teamspeak
  • move to one of the B3 channels on TS
  • type !teamspeak
  • leave teamspeak
  • leave the game
  • post your full b3.log showing all those steps here

Offline TmR

  • Full Member
  • ***
  • Posts: 94
Re: Teamspeak plugin (all games)
« Reply #6 on: June 17, 2011, 07:58:48 PM »
Ok, did as you asked. (server was full btw, so im pretty sure log is full with stuff we don't need :P )

[attachment deleted by maintenance]

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Teamspeak plugin (all games)
« Reply #7 on: June 17, 2011, 09:05:49 PM »
thanks. Np for the all stuff I don't need, the more the better.

Could you apply the following hack to the teamspeak.py plugin file and to the same test again ?

in teamspeak.py, search for
Code: python [Select]
#self.debug('clientlist: %s' % clientlist)

replace with
Code: python [Select]
self.debug('clientlist: %s' % clientlist)


This should give us more details about the Teamspeak server answer when trying to find you on TS

Offline Sona

  • Full Member
  • ***
  • Posts: 64
  • www.ooc-clan.com
    • Out Of Control Multigaming Clan
Re: Teamspeak plugin (all games)
« Reply #8 on: June 17, 2011, 10:36:51 PM »
hi,

here's the log :)

http://www.ooc-clan.com/reserve/log.rar

Did everything: Followed steps... and replaced code first :)



Offline Sona

  • Full Member
  • ***
  • Posts: 64
  • www.ooc-clan.com
    • Out Of Control Multigaming Clan
Re: Teamspeak plugin (all games)
« Reply #9 on: June 17, 2011, 10:44:39 PM »
BTW do u have to add clantag to ur name on TS? :)


Offline TmR

  • Full Member
  • ***
  • Posts: 94
Re: Teamspeak plugin (all games)
« Reply #10 on: June 17, 2011, 10:45:02 PM »
hi,

here's the log :)

http://www.ooc-clan.com/reserve/log.rar

Did everything: Followed steps... and replaced code first :)
thnx homie!
Code: [Select]
110617 22:26:33	DEBUG	TeamspeakPlugin: clientlist: [{'client_nickname': u'B3TS from 81.24.99.47:60656', 'clid': 1, 'client_database_id': 91, 'client_type': 1, 'cid': 7}, {'client_nickname': u'KamikazeNerdNL', 'clid': 3, 'client_database_id': 64, 'client_type': 0, 'cid': 10}, {'client_nickname': u'Rico/ocir12', 'clid': 5, 'client_database_id': 24, 'client_type': 0, 'cid': 10}]
So it does connect to the TS server =) and sees all clients (not only those in the channel created by B3)
@
Code: [Select]
110617 22:27:20	DEBUG	TeamspeakPlugin: clientlist: [{'client_nickname': u'B3TS from 81.24.99.47:60656', 'clid': 1, 'client_database_id': 91, 'client_type': 1, 'cid': 7}, {'client_nickname': u'KamikazeNerdNL', 'clid': 3, 'client_database_id': 64, 'client_type': 0, 'cid': 10}, {'client_nickname': u'Rico/ocir12', 'clid': 5, 'client_database_id': 24, 'client_type': 0, 'cid': 10}, {'client_nickname': u'Hokus-Pwnkus', 'clid': 8, 'client_database_id': 48, 'client_type': 0, 'cid': 7}]
this line, it also sees hokus-pokus (sona).
Does it see in those lines what channel nr he's in?

Offline Sona

  • Full Member
  • ***
  • Posts: 64
  • www.ooc-clan.com
    • Out Of Control Multigaming Clan
Re: Teamspeak plugin (all games)
« Reply #11 on: June 17, 2011, 10:48:49 PM »
yes it shows
CID = Channel ID


Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Teamspeak plugin (all games)
« Reply #12 on: June 17, 2011, 11:26:56 PM »
when B3 queries the TS server for connected TS users, you're not in the list.

Offline TmR

  • Full Member
  • ***
  • Posts: 94
Re: Teamspeak plugin (all games)
« Reply #13 on: June 17, 2011, 11:28:53 PM »
when B3 queries the TS server for connected TS users, you're not in the list.
Sona (Hokus-Pwnkus) or me? TmR. [NL]
I wasn't in the server when he 'hacked' the file and tried the steps you mentioned above.

Offline Sona

  • Full Member
  • ***
  • Posts: 64
  • www.ooc-clan.com
    • Out Of Control Multigaming Clan
Re: Teamspeak plugin (all games)
« Reply #14 on: June 17, 2011, 11:33:12 PM »
Code: [Select]
make sure log_level is 9 in your b3.xml
log off TS
restart B3
wait for B3 to initialise
join the game
type !teamspeak
connect on teamspeak (stay away from the B3 channels)
type !teamspeak
move to one of the B3 channels on TS
type !teamspeak
leave teamspeak
leave the game
post your full b3.log showing all those steps here

when B3 queries the TS server for connected TS users, you're not in the list.

Becuz:
Step 2, Log off TS ...
TS server? or Client? (Did it with client)



So this plugin is more work then u can actually enjoy its use. since u gotta do that everytime a new player wants to use it,...  ?


 


Rate this page +1 at Google Search