[SOLVED] AutoMove chan

Ice/DBus, Web-Interfaces, Management tools

[SOLVED] AutoMove chan

Postby adraflight » Sun Nov 28, 2010 1:27 pm

Hello

I developed a program that retrieves some information from a multiplayer game. I like to know if it was possible to automatically move a user into a specific channel.

With my software I get the nickname which is the same as the username mumble and the name of the desired channel, which obviously is a channel to mumble.

Example:

With my program I get: nickname = Adraesh and channel = test

So is it possible via a script to automatically move Adraesh into the channel test?

Thank you in advance.
adraflight
 
Posts: 3
Joined: Sun Nov 28, 2010 1:26 pm

Re: AutoMove chan

Postby kissaki » Sun Nov 28, 2010 3:41 pm

You can use Ice as an API for controlling your server programaticaly.
http://mumble.sourceforge.net/Ice
MumPI: Your Mumble Web Interface in PHP
User avatar
kissaki
Team member
Team member
 
Posts: 1278
Joined: Sat Jan 09, 2010 12:15 pm

Re: AutoMove chan

Postby adraflight » Sun Nov 28, 2010 4:18 pm

Thank you for the quick response.

If I understand correctly, I can use the API ice to control my murmur server.
Can you be a little more specific, give me some more informations?
Where to start, how to do it ... etc. ?

Or maybe we can get in touch to work together on my project?

Thank you in advance.
adraflight
 
Posts: 3
Joined: Sun Nov 28, 2010 1:26 pm

Re: AutoMove chan

Postby kissaki » Sun Nov 28, 2010 4:47 pm

I understood you want to switch users to a specific channel, so you wanna use the Ice function server->setState(User)
http://mumble.sourceforge.net/slice/Mur ... l#setState

How you have to use Ice depends;
what kind of program did you use to read out game-data?
Is it server side or client side?
Resulting in: Can you implement the Ice functionality (move users) in your app? Do you want to use a separate webserver for that with authentification or sth?

In the end, you’ll have to somehow access Ice.
Zeroc provides bindings for C(++), Java, python, PHP …
http://zeroc.com/languages.html

You’ll just have to use one of those binding libs and, well, just connect to and use Ice.
MumPI: Your Mumble Web Interface in PHP
User avatar
kissaki
Team member
Team member
 
Posts: 1278
Joined: Sat Jan 09, 2010 12:15 pm

Re: AutoMove chan

Postby adraflight » Sun Nov 28, 2010 6:55 pm

THX FOR ALL !

U give me all informations that i need :). If i have success to build this application i will come back to post my result.

thx for all !
adraflight
 
Posts: 3
Joined: Sun Nov 28, 2010 1:26 pm


Return to Scripting

Who is online

Users browsing this forum: No registered users and 1 guest

cron