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

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

Author Topic: Shockvoice Module  (Read 4629 times)

0 Members and 1 Guest are viewing this topic.

Offline xlDanek

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Shockvoice Module
« on: March 09, 2009, 10:38:01 am »
Hi Temar!

Is it possible to rewrite your Teamspeak Module that it can show the members on our Shockvoice-Server (another voice-tool -> www.shockvoice.net)?

I tried it but my knowledge in php isn't good enough to do it by myself. But I think that it is possible, am I right?
« Last Edit: March 10, 2009, 08:58:58 pm by xlDanek »

Offline Slacklin

  • BeBot User
  • **
  • Posts: 52
  • Karma: +0/-0
  • My spoon is too big!
    • United Org Site
Re: Shockvoice Module
« Reply #1 on: March 09, 2009, 04:16:52 pm »
There is quite a bit difference between Shockvoice and Teamspeak. You may have better luck modifying the Ventrillo plug in that is available here. Teamspeak has a dedicated console port that is used to generate queries and not XML like Shockvoice.

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Shockvoice Module
« Reply #2 on: March 09, 2009, 06:47:08 pm »
If Shockvoice gives you XML output of the status, parsing the XML for display should be easy. As I mentioned, Ventrilo would be much easier if they gave XML output. But since they don't, I had to create custom string parsers.

The whois module fetches XML player data from FC's servers. You may want to look there to see how that XML is parsed and look at XML Character Information.

Once you get the XML parsing figured out, you should be able to use the Ventrilo for BeBot 0.4 as a template.

Offline xlDanek

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: Shockvoice Module
« Reply #3 on: March 10, 2009, 09:03:05 pm »
Thx for your answers!

I will give it a try ;)

But first problem:

How can I fetch the sourcecode of an URL like "http://SERVER:PORT/SERVER_ID" which gives the status of the Shockvoice-Server in a XML format?

I tried "file_get_contents", but I think it has a problem with the ":" beetween SERVER and PORT! A normal URL like "http://bebot.link" is no problem with that function.

Offline cob

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Shockvoice Module
« Reply #4 on: March 11, 2009, 08:21:26 am »
hi,

there should be a query.tar.gz file in the shockvoice server directory. this is the viewer.

Offline xlDanek

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: Shockvoice Module
« Reply #5 on: March 11, 2009, 07:04:56 pm »
Hmm, I have no query.tar.gz or anything similar in the Server-Directory. Curious...

Offline cob

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Shockvoice Module
« Reply #6 on: March 12, 2009, 07:32:42 am »
Well, i'm sure it's part of the 0.8.4 Linux server version.

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Shockvoice Module
« Reply #7 on: August 31, 2009, 04:52:12 pm »
I'm not above bribery for code. I could really use some QL300 Supple armor parts on RK1. ;)

 

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


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 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: 696
  • 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