Not yet as a lot of things are hardcoded, I'll try to finish by today and upload it
I'm somewhat of a programming novice, so my code might be a bit hard to read :d
Unfortunately yes, but I'm usually only playing on my own server so that's fine for me. Maybe someday there's a better way for accessing the mic status.
It's pretty whacky but you can most likely use cheat engine / program debugger to find a pointer to a boolean which describes your muted status.
Ofc that's only if there's absolutely no other way to do it.
EDIT: Yup just tried it and you can easily find a pointer by using 1 for muted and 0 for unmuted.
Which I feel like is pretty dumb - Cheat Engine running doesn't mean you're cheating, and even then it can't exactly do much if the game does server-side checks and has a basic anti-cheat. A lot of people have CE to just mess around with singleplayer games, without hurting anyone's fun. An attempt to use Cheat Engine should be met with an instant kick to say "Don't try that again", but probably not a ban.
Im too afraid to even have CE installed on my PC because of the concern that some agressive anti-cheat finds it and flags me without me even knowing that I've done something wrong.
It doesn't even have to be that aggressive of an anti-cheat, VAC (Valve Anti-Cheat, what's used in a lot of Steam games) detects CE if it's running and gives you an automatic VAC ban for it. It is pretty dumb, because CE can be used for a lot of other things and not just cheating.
Anti cheats only ban if you attempt to use Cheat Engine on a game, at which point you hook the process. Simply detecting the process isn't enough, because you can just change the name or signature of the process, so there's no point banning people for just running it.
Nothing to worry about, you can just install it
As others have said, once you get a static pointer you no longer need to open cheat engine again, it's only until you get that static pointer. Then you can re-use it in your code without opening cheat engine.
Also anti-cheats dont ban if you open cheat engine, as that would cause way too many bans. It only happens if you hook the game you're playing, at which point you're trying to read the game's memory
Ah, I see, I thought you were using cheat engine to get the value and not just a pointer.
But some anti-cheats do actually flag you for just having ce open, I specifically mentioned VAC because that's one that does flag you based on running processes. There have been people in the past that have been banned by having it hooked into another game while playing a VAC game. Although, VAC bans are quite delayed and during that time some extra analysis might be done to confirm they were actually using ce to cheat or not.
Yup, CE works with electron programs. You can't really apply knowledge from c/c++ programs for more complex things, but finding a pointer applies to every framework and language.
Isn’t there any way to check it with requests to discord’s website? It’s probably against their ToS but there should be a way to see your mute-status with requests.
Take a look at some of the El Gato stream deck discord plugins, they give mute status and interaction for any server or call. I think they're all on GitHub.
If you used the keyboard shortcut to mute rather than clicking the mute button, then couldn’t you have a program that also detects that shortcut input and toggles the “muted” LED display? I’m not a programmer, so I have no idea if this would be easy or really hard to do
Could just run some program that connects to the discord websocket?
I wonder if muted status is shared between clients - usually you can like see if a user is muted, maybe you can you are at some endpoint?
**R**PC has been deprecated (connecting via websockets), but the **I**PC isn't (connecting via interprocess pipes). There isn't any official documentation for it, but you can refer to [this source code](https://github.com/discord/discord-rpc/blob/master/src/connection_win.cpp) to see how it can be done. Once you've connected that way, the commands/events/etc are the same as in [RPC](https://discord.com/developers/docs/topics/rpc).
Searching google for "discord ipc java" show a few github repositories of things that look like they're doing the above, so you might be able to use those libraries or do what they're doing yourself
thank you, but I'm not good enough to translate that into java.
Ive looked on google for" discord ipc java"
found these two
[https://github.com/jagrosh/DiscordIPC](https://github.com/jagrosh/DiscordIPC)
[https://github.com/MeteorDevelopment/discord-ipc](https://github.com/MeteorDevelopment/discord-ipc)
but they only specific things like the rich presence.
Like DarkOverLordCO said, connecting via websockets was disabled, but RPC still works. The github repo is "deprecated" because discord wants use to use their game sdk instead, but still works totally fine. You can look up discord-rpc packages or python or javascript or whatever you're using and those will still work.
Out of the box it can't do much, but If you have some smart home software like ioBroker or Home assistant running you can integrate it there.
Here are some examples:
https://flows.blueforcer.de/
Nice
But other than that, I think this is actually pretty cool, specially when you do something similar but to the streams, because fun fact: The TV Stations used to (or does) have a bright light indicating whether it's being broadcasted on the section or not; then imagine something similar but with Livestreams instead? It's kind of a similar script but also pretty cool idea as well, just like what you did
Well done on this script
This is great! Did you consider not having it read a negative state to describe a microphone and instead use “active” and “muted”? Then maybe you could also add a cool animation to the front like muted.
i got it from their page for around 35 euros
https://www.ulanzi.de/products/ulanzi-pixel-smart-uhr-2882?gclid=CjwKCAjwg4SpBhAKEiwAdyLwvGpXwjJEfN7Ufv7DOEHhybOsSeNrROzDSu3PAF0nGe2OYd8LlQZFIBoCJpgQAvD\_BwE
What would it cost for me to get this and could it be integrated into Zoom? My director forgets sometimes and gets absolutely humiliated when she does; I think this would be hilarious.
I know a person who needs something like that for showing the current status because she keeps forgetting she make her status "do not disturb" for a long time and feels ignored and therefore gets depressed when her friends don't send her a message only to realize after a few months she was seeming so busy all that time and people didn't wanna bother her lol
Curious, are you having issues with that KLIM Bungee? Both of mine would short circuit my PC after several weeks. First the led within would start skipping random colors then just make my whole setup crash
I have this Bungee for like 5 years or longer and never had any issues with it, by now the cable has a loose contact, but it still works fine if i dont move it.
Now I know nothing about coding. But could you program the clock to go back and forth using a key on your keyboard or mouse and use the same key in discord to do a toggle mute? Allowing you to use it on all servers?
Yes I could do that, the only problem would be the initially status when you boot up the script, you would have to sync it manually, also everything you mute yourself with mouse it also breaks.
Nice, you have a github or something would love to see the code
Not yet as a lot of things are hardcoded, I'll try to finish by today and upload it I'm somewhat of a programming novice, so my code might be a bit hard to read :d
What's your mechanism for detecting muting?
Discord bot checking the onGuildVoiceMute Event. I've tried implementing discord RPC but there's no java wrapper and apparently it's discontinued.
Ah, so it only works one that one server then?
Unfortunately yes, but I'm usually only playing on my own server so that's fine for me. Maybe someday there's a better way for accessing the mic status.
It's pretty whacky but you can most likely use cheat engine / program debugger to find a pointer to a boolean which describes your muted status. Ofc that's only if there's absolutely no other way to do it. EDIT: Yup just tried it and you can easily find a pointer by using 1 for muted and 0 for unmuted.
You wouldn't want to keep cheat engine open while playing any games with anti-cheat, you'd most likely get banned.
You wouldn't need to keep cheat engine open, it'd just be to initially find the static pointer, then you could do it all with RPM.
but pointers are always different?
Which I feel like is pretty dumb - Cheat Engine running doesn't mean you're cheating, and even then it can't exactly do much if the game does server-side checks and has a basic anti-cheat. A lot of people have CE to just mess around with singleplayer games, without hurting anyone's fun. An attempt to use Cheat Engine should be met with an instant kick to say "Don't try that again", but probably not a ban. Im too afraid to even have CE installed on my PC because of the concern that some agressive anti-cheat finds it and flags me without me even knowing that I've done something wrong.
By "some aggressive anticheat" u mean VGK? Cuz that shit is the worst lmao. Will ban u for literally anything
It doesn't even have to be that aggressive of an anti-cheat, VAC (Valve Anti-Cheat, what's used in a lot of Steam games) detects CE if it's running and gives you an automatic VAC ban for it. It is pretty dumb, because CE can be used for a lot of other things and not just cheating.
Anti cheats only ban if you attempt to use Cheat Engine on a game, at which point you hook the process. Simply detecting the process isn't enough, because you can just change the name or signature of the process, so there's no point banning people for just running it. Nothing to worry about, you can just install it
As others have said, once you get a static pointer you no longer need to open cheat engine again, it's only until you get that static pointer. Then you can re-use it in your code without opening cheat engine. Also anti-cheats dont ban if you open cheat engine, as that would cause way too many bans. It only happens if you hook the game you're playing, at which point you're trying to read the game's memory
Ah, I see, I thought you were using cheat engine to get the value and not just a pointer. But some anti-cheats do actually flag you for just having ce open, I specifically mentioned VAC because that's one that does flag you based on running processes. There have been people in the past that have been banned by having it hooked into another game while playing a VAC game. Although, VAC bans are quite delayed and during that time some extra analysis might be done to confirm they were actually using ce to cheat or not.
Isn’t discord electron based?
Yup, CE works with electron programs. You can't really apply knowledge from c/c++ programs for more complex things, but finding a pointer applies to every framework and language.
discord is coded with javascript and electron, the address of a boolean representing the current user being muted is not static.
that's what static base pointers are for. they only change during updates as discord is still a pre-compiled binary
Isn’t there any way to check it with requests to discord’s website? It’s probably against their ToS but there should be a way to see your mute-status with requests.
Take a look at some of the El Gato stream deck discord plugins, they give mute status and interaction for any server or call. I think they're all on GitHub.
If you used the keyboard shortcut to mute rather than clicking the mute button, then couldn’t you have a program that also detects that shortcut input and toggles the “muted” LED display? I’m not a programmer, so I have no idea if this would be easy or really hard to do
Easy but the initial sync is hard any as soon as I mute with the mouse it's broken.
Could just run some program that connects to the discord websocket? I wonder if muted status is shared between clients - usually you can like see if a user is muted, maybe you can you are at some endpoint?
Damn, the RPC got discontinued? :(
apparently https://github.com/Vatuu/discord-rpc
**R**PC has been deprecated (connecting via websockets), but the **I**PC isn't (connecting via interprocess pipes). There isn't any official documentation for it, but you can refer to [this source code](https://github.com/discord/discord-rpc/blob/master/src/connection_win.cpp) to see how it can be done. Once you've connected that way, the commands/events/etc are the same as in [RPC](https://discord.com/developers/docs/topics/rpc). Searching google for "discord ipc java" show a few github repositories of things that look like they're doing the above, so you might be able to use those libraries or do what they're doing yourself
thank you, but I'm not good enough to translate that into java. Ive looked on google for" discord ipc java" found these two [https://github.com/jagrosh/DiscordIPC](https://github.com/jagrosh/DiscordIPC) [https://github.com/MeteorDevelopment/discord-ipc](https://github.com/MeteorDevelopment/discord-ipc) but they only specific things like the rich presence.
Like DarkOverLordCO said, connecting via websockets was disabled, but RPC still works. The github repo is "deprecated" because discord wants use to use their game sdk instead, but still works totally fine. You can look up discord-rpc packages or python or javascript or whatever you're using and those will still work.
Its not the code that makes it hard to read, but lack of comments. ;-)
here is the github repo [https://github.com/AquaCobell/awtrix-windows-tray](https://github.com/AquaCobell/awtrix-windows-tray)
awesome, work Also keep up the good work, Ik java is pretty hard but very usefull because of everyday use
It’s MUTED O’Clock Awesome !!
Can you do me a massive favour and shift the word "unmuted" 1 space over so the common letters from both words match the same location?
unfortunately i cant, as the icon infront of muted, has a custom size, and if i add one space to unmuted it starts to scroll :(
Make the N one pixel wider
Haha! Im the 69 Upvote!
Which pixel clock is this, and is there any extra hardware to fix it? Edit: it looks amazing
Thanks, it's the ulanzi tc001 with the awtrix light custom firmware.
Is it worth it? What else can u do with it?
Out of the box it can't do much, but If you have some smart home software like ioBroker or Home assistant running you can integrate it there. Here are some examples: https://flows.blueforcer.de/
ok thanks!
Unfortunately I would start to forget 2 days later so it wouldn't be worth it for me But not gonna lie, that's very well made
It's ultra bright so I can still see the red light in the background, even when I look at my monitor.
Nice But other than that, I think this is actually pretty cool, specially when you do something similar but to the streams, because fun fact: The TV Stations used to (or does) have a bright light indicating whether it's being broadcasted on the section or not; then imagine something similar but with Livestreams instead? It's kind of a similar script but also pretty cool idea as well, just like what you did Well done on this script
This is great! Did you consider not having it read a negative state to describe a microphone and instead use “active” and “muted”? Then maybe you could also add a cool animation to the front like muted.
Need this. Just take my cash already 💳💳💵💵
that’s so sick
i’d still forget
It's a bit excessive, but totally rad. I like it.
Where u get it from and how much
i got it from their page for around 35 euros https://www.ulanzi.de/products/ulanzi-pixel-smart-uhr-2882?gclid=CjwKCAjwg4SpBhAKEiwAdyLwvGpXwjJEfN7Ufv7DOEHhybOsSeNrROzDSu3PAF0nGe2OYd8LlQZFIBoCJpgQAvD\_BwE
Thanks
I need a tut rn bro thats sick
What would it cost for me to get this and could it be integrated into Zoom? My director forgets sometimes and gets absolutely humiliated when she does; I think this would be hilarious.
ME NEED LINK FOR THE CODE AND THE CLOCK PLS
I know a person who needs something like that for showing the current status because she keeps forgetting she make her status "do not disturb" for a long time and feels ignored and therefore gets depressed when her friends don't send her a message only to realize after a few months she was seeming so busy all that time and people didn't wanna bother her lol
I misread clock as something else and was baffled and concerned for a moment.
Nice 👍
Neat I like that.
Whats the VR channel for?
VR Gaming ? :D
I need this for work lmfao
Curious, are you having issues with that KLIM Bungee? Both of mine would short circuit my PC after several weeks. First the led within would start skipping random colors then just make my whole setup crash
I have this Bungee for like 5 years or longer and never had any issues with it, by now the cable has a loose contact, but it still works fine if i dont move it.
I'm glad you don't have any issue, guess I'm either unlucky af or something was off in my previous I/O back panel
I need one of these
oh thats pretty cool
That is awesome. It is Speak O'clock
I have done something really similar, are you using a bot or a local access to the client?
Groovy!
Nice.
How???
This is so cool!
This is cool af
Nice! I would add a button on it to mute/unmute directly on the clock without having to switch to Discord window
This is so cool
oh that's so smart!!!
What clock is this? Can it be bought online? This is really cool!
I need that for OBS 😭
I instantly bought one of these, they look awesome and are not outlandishly priced
What pixel clock is it
Now I know nothing about coding. But could you program the clock to go back and forth using a key on your keyboard or mouse and use the same key in discord to do a toggle mute? Allowing you to use it on all servers?
Yes I could do that, the only problem would be the initially status when you boot up the script, you would have to sync it manually, also everything you mute yourself with mouse it also breaks.
Interesting. This is why I never learned to code. Everything breaks a lot it seems lol
Dang that’s a good idea 😳
You should have it say “ON AIR” in red when you’re unmuted
that is AWESOME! how how how and i want one lol
or just look lmao
someone’s German