collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18365
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: TS3 Status Module  (Read 22945 times)

0 Members and 2 Guests are viewing this topic.

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
TS3 Status Module
« on: January 31, 2011, 11:32:54 pm »
Hi all,

this is a TS3 Status Module but for Ragebot, an older Version of Bot similar to Bebot.
Maybe someone can use this code to build a plugin for Bebot.


Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #1 on: February 02, 2011, 12:11:31 pm »
I think this should have been posted under module requests.. thought I could download a finished module when I clicked here  :(

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #2 on: February 02, 2011, 05:56:00 pm »
sry - it is not a finished module.
My mistake that I posted it wrong.
The code should help a guy that knows well about php and should support him, cause I think there is a lot of useful information there.

The Status module posts in guild chat when a person is entering in your ts3 server with name & ...

sry again for my misktake, maybe a moderator or admin can move the post...

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #3 on: February 04, 2011, 11:35:17 am »
I might pickup on this module if our guild decides to use TS3, but can't promise anything.

Anyways.. some more useful info perhaps:
http://addons.teamspeak.com/directory/tools/integration.html

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #4 on: February 04, 2011, 03:20:31 pm »
The decision was already made at beginning of TS3.
We have been running a server since that time.

Of course this would be nice if you care for this...

I'll try to support as far as I can.

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #5 on: February 04, 2011, 03:46:40 pm »
Do you have ServerQuery access on your TS3 server? Seems like most commands require a ServerQuery user with permissions to run stuff.

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #6 on: February 04, 2011, 03:53:52 pm »
I have access to it, but it is not necesary for it.
You have to whitelist the ip (where the bot is running), otherwise the ip gets banned.

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #7 on: February 04, 2011, 04:22:04 pm »
Well, without logging in to the ServerQuery with some user, I get these messages:
Code: [Select]
TeamSpeak3


Server Info

Host: xxx
Port: 9987
QPort: 10011
Error logging on to server, make sure password is correct!
ErrorID: 1538 | Message: invalid parameter

WhoAmI: 10
virtualserver_status: online
virtualserver_id: 1
virtualserver_unique_identifier: pOJSc1r6W1MOeP8yZwTlKbA4zvc=
virtualserver_port: 9987
client_id: 5
client_channel_id: 1
client_nickname: Unknown from x.x.x.x:45281
client_database_id: 0
client_login_name:
client_unique_identifier:
ErrorID: 2568 | Message: insufficient client permissions failed_permid=8470
ErrorID: 2568 | Message: insufficient client permissions failed_permid=8472
ErrorID: 2568 | Message: insufficient client permissions failed_permid=8474
Code: [Select]
8470 b_virtualserver_info_view Retrieve virtual server information
8472 b_virtualserver_channel_list List channels on a virtual server
8474 b_virtualserver_client_list List clients online on a virtual server
Ref: http://teamspeak-fans.de/wiki/teamspeak-3-permission-list.html

Will have to ask the TS3 admin on my server for access I guess. I used the ts3admin.class.php to connect to the TS3 server btw and not your attached plugin. I'll see if I can post a beta later on today.

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #8 on: February 04, 2011, 04:36:20 pm »
Your admin needs only to enter the bot's IP to the ts3 server whitelist.

Then you need the ip, port, passwort (same as for users) & virtual server id

thats it
you can request data within this information

Thank God for Kentarii...

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #9 on: February 04, 2011, 10:33:33 pm »
Hi, just posted the module now.

Since I needed the top post to make updates etc, I created a new topic:
http://bebot.link/aoc-0-6-x-customunofficial-modules/teamspeak3-module-for-bebot/

Enjoy!!!

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #10 on: February 07, 2011, 02:44:59 pm »
So did you test the module sarakant since you were the one who requested it?

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #11 on: February 17, 2011, 10:20:33 pm »
sry, I set up server new and so it needs some time.

I tried it, but get message:
No settings for module TeamSpeak3

What do I wrong?

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #12 on: February 18, 2011, 11:30:32 am »
Did you follow the installation/configuration instructions?

You might get a clue if you watch the log when your bot starts up.

Offline dillinger

  • BeBot Apprentice
  • ***
  • Posts: 91
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #13 on: February 18, 2011, 05:01:33 pm »
Works like a charm!  ;D

Thank you!

dill

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #14 on: February 18, 2011, 05:16:03 pm »
Works like a charm!  ;D

Thank you!

dill
You're welcome  :)

 

* Recent Posts
0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

* Who's Online
  • Dot Guests: 364
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal