Coolster4000 Posted November 18, 2019 Share Posted November 18, 2019 In the Mumble Client you can see the # of users in a server without connecting, like soI've been able to easily write a script in Piepan to get the number of users in a server + channel, but the script must connect first.I understand this is an obscure question and also most people don't take kindly to other people asking them to do tasks for them, so I understand if nobody wants to respond, but if you have any hints for which script framework or part of the Mumble client code to look into to achieve this, I'd appreciate it. :) Link to comment Share on other sites More sharing options...
Administrators kissaki Posted November 18, 2019 Administrators Share Posted November 18, 2019 You didn’t ask a question though? Link to comment Share on other sites More sharing options...
Coolster4000 Posted November 19, 2019 Author Share Posted November 19, 2019 Sorry, my question is: In what way would I be able to access the number of users in a server via script, without connecting?Since the mumble client is able to have this number (for the favorites list), is there a way to find the number directly (or perhaps indirectly, by looking at the mumble client's listed number for a certain server?) Link to comment Share on other sites More sharing options...
Administrators kissaki Posted November 21, 2019 Administrators Share Posted November 21, 2019 Yes, that is possible and pretty simple.You just need to send a UDP ping packet to the server and it will answer with the number of connected users.See https://wiki.mumble.info/wiki/Protocol section UDP Ping packet, the linked protocol documentation for more information, and the linked python script for a simple implementation of that in python. The K-10 IRC bot that sits in our channel and provides a ping command is also referenced there. Link to comment Share on other sites More sharing options...
Administrators kissaki Posted November 23, 2019 Administrators Share Posted November 23, 2019 You sparked my interest in this and today I created a script in C#/.NET Core 3.0.If you are interested in it for reference, it is available at https://github.com/Kissaki/mumble-ping Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now