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!

Pages: [1] 2 3 ... 6   Go Down
  Print  
Author Topic: Teamspeak plugin (all games)  (Read 4968 times) Bookmark and Share
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« on: April 19, 2011, 07:28:36 AM »

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
Logged


Beta Testers
*
OS: Windows
Type: Renting Server, no B3
Gameservers: COD4 | COD2 | COD BO (Ranked and Unranked) | MOH 2010
Posts: 129
Offline Offline
« Reply #1 on: April 19, 2011, 10:50:11 AM »

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>


Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #2 on: April 19, 2011, 11:11:27 AM »

could you provide you b3.log showing the bot starting and the players being moved to the wrong channel ?
Logged

Beta Testers
*
OS: Windows
Type: Renting Server, no B3
Gameservers: COD4 | COD2 | COD BO (Ranked and Unranked) | MOH 2010
Posts: 129
Offline Offline
« Reply #3 on: April 19, 2011, 11:39:55 AM »

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
Logged
Full Member
***
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD7
Posts: 76
Offline Offline
« Reply #4 on: June 17, 2011, 07:54:53 AM »

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.
Logged


Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #5 on: June 17, 2011, 08:07:12 AM »

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
Logged

Full Member
***
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD7
Posts: 76
Offline Offline
« Reply #6 on: June 17, 2011, 09:58:48 AM »

Ok, did as you asked. (server was full btw, so im pretty sure log is full with stuff we don't need Tongue )
Logged


Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #7 on: June 17, 2011, 11:05:49 AM »

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
#self.debug('clientlist: %s' % clientlist)
replace with
Code: python
self.debug('clientlist: %s' % clientlist)

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

Full Member
***
OS: Windows
Type: Home user
Gameservers: CoD7, BF3
Posts: 64
Offline Offline
www.ooc-clan.com
WWW
« Reply #8 on: June 17, 2011, 12:36:51 PM »

hi,

here's the log Smiley

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

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

Logged


Full Member
***
OS: Windows
Type: Home user
Gameservers: CoD7, BF3
Posts: 64
Offline Offline
www.ooc-clan.com
WWW
« Reply #9 on: June 17, 2011, 12:44:39 PM »

BTW do u have to add clantag to ur name on TS? Smiley
Logged


Full Member
***
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD7
Posts: 76
Offline Offline
« Reply #10 on: June 17, 2011, 12:45:02 PM »

hi,

here's the log Smiley

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

Did everything: Followed steps... and replaced code first Smiley
thnx homie!
Code:
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:
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?
Logged


Full Member
***
OS: Windows
Type: Home user
Gameservers: CoD7, BF3
Posts: 64
Offline Offline
www.ooc-clan.com
WWW
« Reply #11 on: June 17, 2011, 12:48:49 PM »

yes it shows
CID = Channel ID
Logged


Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #12 on: June 17, 2011, 01:26:56 PM »

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

Full Member
***
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD7
Posts: 76
Offline Offline
« Reply #13 on: June 17, 2011, 01: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.
Logged


Full Member
***
OS: Windows
Type: Home user
Gameservers: CoD7, BF3
Posts: 64
Offline Offline
www.ooc-clan.com
WWW
« Reply #14 on: June 17, 2011, 01:33:12 PM »

Code:
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,...  ?
Logged


Tags: plugin  teamspeak 
Pages: [1] 2 3 ... 6   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal