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 BFBC2  (Read 26594 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Teamspeak BFBC2
« on: April 13, 2010, 10:56:01 PM »
Here is the support topic for the teamspeakbfbc2 plugin.

Note that this plugin works only for BFBC2 !

http://www.bigbrotherbot.com/forums/downloads/?sa=view;down=57
« Last Edit: November 06, 2010, 05:20:28 AM by Courgette »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Teamspeak BFBC2
« Reply #1 on: April 14, 2010, 11:00:35 PM »
V1.1 released.

This version adds the !tsauto command. This command can be used by player to choose between 3 auto switching modes :
  • off : disable auto switch. The player will not be moved on TeamSpeak at all
  • team : enable auto switch. The player will be moved on TeamSpeak between the 2 team channels
  • squad : enable auto switch. The player will be moved on TeamSpeak between the 16 squad channels
« Last Edit: April 15, 2010, 12:05:24 AM by Courgette »

Offline tofu

  • Jr. Member
  • **
  • Posts: 26
Re: Teamspeak BFBC2
« Reply #2 on: July 12, 2010, 08:18:28 AM »
Hello,

do u maybe have a idea for me how to fix my teamspeak addon i would rly like to use this nice script
thx
Code: [Select]
100711 23:15:40 BOT www.BigBrotherBot.com (b3) v1.3.2 [nt] (Daniel)
100711 23:15:40 BOT Python: 2.6.5 (r265:79096, Mar 19 2010, 18:02:59) [MSC v.1500 64 bit (AMD64)]
100711 23:15:40 BOT Starting Bfbc2Parser v1.2.8 for server 193.93.47.149:19567
100711 23:15:40 BOT --------------------------------------------
100711 23:15:40 BOT Attempting to connect to database mysql://xxxx:******@xxxx/xxx...
100711 23:15:40 BOT Connected to database [1 times]
100711 23:15:40 BOT Loading Plugins (external plugin directory: C:\UserFiles\CowPat\GameServers\TC62615262776320143243725\b3\extplugins)
100711 23:15:40 BOT Loading Plugin #1 spamcontrol [@conf\plugin_spamcontrol.xml]
100711 23:15:40 BOT SpamcontrolPlugin: Loading config @conf\plugin_spamcontrol.xml for SpamcontrolPlugin
100711 23:15:40 DEBUG Register Event: Stop Process: SpamcontrolPlugin
100711 23:15:40 DEBUG Register Event: Program Exit: SpamcontrolPlugin
100711 23:15:40 BOT Plugin spamcontrol (1.1.2 - ThorN) loaded
100711 23:15:40 BOT Loading Plugin #2 admin [@conf\plugin_admin.xml]
100711 23:15:40 BOT AdminPlugin: Loading config @conf\plugin_admin.xml for AdminPlugin
100711 23:15:40 DEBUG Register Event: Stop Process: AdminPlugin
100711 23:15:40 DEBUG Register Event: Program Exit: AdminPlugin
100711 23:15:40 BOT Plugin admin (1.7 - ThorN, xlr8or, Courgette) loaded
100711 23:15:40 BOT Loading Plugin #3 tk [@conf\plugin_tk.xml]
100711 23:15:40 BOT TkPlugin: Loading config @conf\plugin_tk.xml for TkPlugin
100711 23:15:40 DEBUG TkPlugin: tk max level is 40
100711 23:15:40 DEBUG TkPlugin: Send messages privately ? True
100711 23:15:40 DEBUG Register Event: Stop Process: TkPlugin
100711 23:15:40 DEBUG Register Event: Program Exit: TkPlugin
100711 23:15:40 BOT Plugin tk (1.2.4 - ThorN) loaded
100711 23:15:40 BOT Loading Plugin #4 stats [@conf\plugin_stats.xml]
100711 23:15:40 BOT StatsPlugin: Loading config @conf\plugin_stats.xml for StatsPlugin
100711 23:15:40 DEBUG AdminPlugin: Command "mapstats (mstats)" registered with cmd_mapstats for level (1, 100)
100711 23:15:40 DEBUG AdminPlugin: Command "testscore (ts)" registered with cmd_testscore for level (1, 100)
100711 23:15:40 DEBUG AdminPlugin: Command "topstats (tstats)" registered with cmd_topstats for level (9, 100)
100711 23:15:40 DEBUG Register Event: Stop Process: StatsPlugin
100711 23:15:40 DEBUG Register Event: Program Exit: StatsPlugin
100711 23:15:40 BOT Plugin stats (1.2.3 - ThorN) loaded
100711 23:15:40 BOT Loading Plugin #5 adv [@conf\plugin_adv.xml]
100711 23:15:40 BOT AdvPlugin: Loading config @conf\plugin_adv.xml for AdvPlugin
100711 23:15:40 VERBOSE Added crontab > (26700544) - 0s [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58]m -1h -1d -1M -1DOW
100711 23:15:40 DEBUG Register Event: Stop Process: AdvPlugin
100711 23:15:40 DEBUG Register Event: Program Exit: AdvPlugin
100711 23:15:40 BOT Plugin adv (1.1.4 - ThorN) loaded
100711 23:15:40 BOT Loading Plugin #6 status [@conf\plugin_status.xml]
100711 23:15:40 BOT StatusPlugin: Loading config @conf\plugin_status.xml for StatusPlugin
100711 23:15:40 VERBOSE Added crontab > (27148072) - [0]s -1m -1h -1d -1M -1DOW
100711 23:15:40 DEBUG Register Event: Stop Process: StatusPlugin
100711 23:15:40 DEBUG Register Event: Program Exit: StatusPlugin
100711 23:15:40 BOT Plugin status (1.4.1 - ThorN) loaded
100711 23:15:40 BOT Loading Plugin #7 welcome [@conf\plugin_welcome.xml]
100711 23:15:40 BOT WelcomePlugin: Loading config @conf\plugin_welcome.xml for WelcomePlugin
100711 23:15:40 DEBUG AdminPlugin: Command "greeting (None)" registered with cmd_greeting for level (20, 100)
100711 23:15:40 DEBUG Register Event: Stop Process: WelcomePlugin
100711 23:15:40 DEBUG Register Event: Program Exit: WelcomePlugin
100711 23:15:40 BOT Plugin welcome (1.1 - ThorN) loaded
100711 23:15:40 BOT Loading Plugin #8 teamspeakbfbc2 [@conf\plugin_teamspeakbfbc2.xml]
100711 23:15:40 CRITICAL Error loading plugin: invalid syntax (teamspeakbfbc2.py, line 954)
Traceback (most recent call last):
File "C:\UserFiles\CowPat\GameServers\TC62615262776320143243725\b3\parser.py", line 497, in loadPlugins
pluginModule = self.pluginImport(p)
File "C:\UserFiles\CowPat\GameServers\TC62615262776320143243725\b3\parser.py", line 554, in pluginImport
mod = __import__(module)
File "C:\UserFiles\CowPat\GameServers\TC62615262776320143243725\b3\plugins\teamspeakbfbc2.py", line 954
-----------------------------191691572411478--
^
SyntaxError: invalid syntax
100711 23:15:40 INFO STDOUT 220
100711 23:15:40 INFO STDOUT
« Last Edit: July 12, 2010, 10:28:37 PM by Courgette »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Teamspeak BFBC2
« Reply #3 on: July 12, 2010, 10:30:14 PM »
unfortunately, I cannot reproduce your error on my side... Can you redownload the teamspeakbfbc2 plugin from the download section to make sure you got the right .py file ?

Offline tofu

  • Jr. Member
  • **
  • Posts: 26
Re: Teamspeak BFBC2
« Reply #4 on: July 12, 2010, 11:23:09 PM »
i have the newest files downloaded here  ???

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Teamspeak BFBC2
« Reply #5 on: July 13, 2010, 07:15:46 AM »
Quote
File "C:\UserFiles\CowPat\GameServers\TC62615262776320143243725\b3\plugins\teamspeakbfbc2.py", line 954
-----------------------------191691572411478--
What's on line 954 ?

Offline tofu

  • Jr. Member
  • **
  • Posts: 26
Re: Teamspeak BFBC2
« Reply #6 on: July 13, 2010, 09:03:57 AM »
thats my 954 line

-----------------------------30188217634940-- or this
-----------------------------177131895817578--

duno
« Last Edit: July 13, 2010, 09:05:51 AM by tofu »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Teamspeak BFBC2
« Reply #7 on: July 13, 2010, 09:07:53 AM »
This cannot be good. There is no such line in teamspeackbfbc2.py. Again make sure you have the correct files http://www.bigbrotherbot.net/forums/downloads/?sa=view;down=57

Offline tofu

  • Jr. Member
  • **
  • Posts: 26
Re: Teamspeak BFBC2
« Reply #8 on: July 13, 2010, 06:17:06 PM »
it was some problem with our host i uploaded the newest version and it added this line to it everytime but its fixed now

i can use now the commands btw not rly because they not working

[pm] There was an error processing your command

but i saw b3 created once the autoswitched channels but no one in me neather :/ tryed !tsauto !tsreconnect
!teamspeak

thx

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Teamspeak BFBC2
« Reply #9 on: July 13, 2010, 06:38:44 PM »
any log ?

Offline tofu

  • Jr. Member
  • **
  • Posts: 26
« Last Edit: July 13, 2010, 07:17:57 PM by tofu »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Teamspeak BFBC2
« Reply #11 on: July 13, 2010, 07:24:15 PM »
The relevant lines are
Quote
[Errno 10053] An established connection was aborted by the software in your host machine

It says your teamspeak server closed the connection B3 made to it.

Perhaps this is due to your teamspeak host limitations or settings.
You could try another TS admin tool to see if the same error also arise

Offline tofu

  • Jr. Member
  • **
  • Posts: 26
Re: Teamspeak BFBC2
« Reply #12 on: July 13, 2010, 07:29:57 PM »
The relevant lines are
It says your teamspeak server closed the connection B3 made to it.

Perhaps this is due to your teamspeak host limitations or settings.
You could try another TS admin tool to see if the same error also arise

could u tell me whats needed to get this working (setting) i would forward this to our teamspeak host.
btw other ts admin plugin?

also found this in the logs as (ERROR)

Teamspeakbfbc2Plugin: ID 3331 (flood ban)
Teamspeakbfbc2Plugin: ID 3329 (connection failed, you are banned) (does this mean gameserver ip, b3 ip or admin ip?)
« Last Edit: July 13, 2010, 07:34:23 PM by tofu »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Teamspeak BFBC2
« Reply #13 on: July 14, 2010, 05:00:51 PM »
It looks like the teamspeak server banned B3 because of the teamspeak plugin sending to much commands to the teamspeak server.

So you should be looking at ban and flood settings in your teamspeak server config.

Offline tofu

  • Jr. Member
  • **
  • Posts: 26
Re: Teamspeak BFBC2
« Reply #14 on: July 14, 2010, 06:24:29 PM »
all this commands wont help me it get banned after the 4 channels always :(

http://muh.brunz.eu/b3/b3.log

tryed this for my query login:

serverinstance_serverquery_flood_commands=999
serverinstance_serverquery_flood_time=5
serverinstance_serverquery_flood_ban_time=10
« Last Edit: July 14, 2010, 08:57:08 PM by tofu »

 


Rate this page +1 at Google Search