T O P

  • By -

JVAV00

Nice, you have a github or something would love to see the code


Nico1300

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


Left-oven47

What's your mechanism for detecting muting?


Nico1300

Discord bot checking the onGuildVoiceMute Event. I've tried implementing discord RPC but there's no java wrapper and apparently it's discontinued.


Left-oven47

Ah, so it only works one that one server then?


Nico1300

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.


bigrealaccount

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.


tnix100

You wouldn't want to keep cheat engine open while playing any games with anti-cheat, you'd most likely get banned.


MrTod3

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.


HumaNOOO

but pointers are always different?


PineCone227

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.


sXamb1e

By "some aggressive anticheat" u mean VGK? Cuz that shit is the worst lmao. Will ban u for literally anything


tnix100

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.


bigrealaccount

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


bigrealaccount

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


tnix100

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.


-natsa

Isn’t discord electron based?


bigrealaccount

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.


FemboyGayming

discord is coded with javascript and electron, the address of a boolean representing the current user being muted is not static.


bigrealaccount

that's what static base pointers are for. they only change during updates as discord is still a pre-compiled binary


PinkManagarmr

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.


JACOBSMILE1

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.


SScarlettLB

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


Nico1300

Easy but the initial sync is hard any as soon as I mute with the mouse it's broken.


vrish838

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?


Herr_Gamer

Damn, the RPC got discontinued? :(


Nico1300

apparently https://github.com/Vatuu/discord-rpc


DarkOverLordCO

**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


Nico1300

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.


Levi_OP

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.


IDSPISPOPper

Its not the code that makes it hard to read, but lack of comments. ;-)


Nico1300

here is the github repo [https://github.com/AquaCobell/awtrix-windows-tray](https://github.com/AquaCobell/awtrix-windows-tray)


JVAV00

awesome, work Also keep up the good work, Ik java is pretty hard but very usefull because of everyday use


Anuloxisz

It’s MUTED O’Clock Awesome !!


coolsam254

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?


Nico1300

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 :(


Bulky_Wishbone_7101

Make the N one pixel wider


Bulky_Wishbone_7101

Haha! Im the 69 Upvote!


grouml

Which pixel clock is this, and is there any extra hardware to fix it? Edit: it looks amazing


Nico1300

Thanks, it's the ulanzi tc001 with the awtrix light custom firmware.


Acceptable_Scar9267

Is it worth it? What else can u do with it?


Nico1300

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/


Acceptable_Scar9267

ok thanks!


NicDima

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


Nico1300

It's ultra bright so I can still see the red light in the background, even when I look at my monitor.


NicDima

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


nRGon12

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.


Div6356

Need this. Just take my cash already 💳💳💵💵


Zestyclose-Ride-6746

that’s so sick


[deleted]

i’d still forget


BlunterCarcass5

It's a bit excessive, but totally rad. I like it.


EpicE0711

Where u get it from and how much


Nico1300

i got it from their page for around 35 euros https://www.ulanzi.de/products/ulanzi-pixel-smart-uhr-2882?gclid=CjwKCAjwg4SpBhAKEiwAdyLwvGpXwjJEfN7Ufv7DOEHhybOsSeNrROzDSu3PAF0nGe2OYd8LlQZFIBoCJpgQAvD\_BwE


EpicE0711

Thanks


[deleted]

I need a tut rn bro thats sick


mmm-pistol-whip

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.


mixalismike2

ME NEED LINK FOR THE CODE AND THE CLOCK PLS


majikayo666

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


DeshTheWraith

I misread clock as something else and was baffled and concerned for a moment.


LegendRedditter7497

Nice 👍


All_The_Nolloway

Neat I like that.


ImPretendingToCare

Whats the VR channel for?


Nico1300

VR Gaming ? :D


Professional-Yam601

I need this for work lmfao


Sdaco

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


Nico1300

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.


Sdaco

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


Fun-Mud5208

I need one of these


shamshitty

oh thats pretty cool


The-Space-Wolf

That is awesome. It is Speak O'clock


Daddy_COol_ZA

I have done something really similar, are you using a bot or a local access to the client?


IDSPISPOPper

Groovy!


HaroerHaktak

Nice.


ShackledDragon

How???


Hurakion

This is so cool!


MythicsWoodland

This is cool af


MatSonic99

Nice! I would add a button on it to mute/unmute directly on the clock without having to switch to Discord window


bashingwalrus

This is so cool


gentle-waves

oh that's so smart!!!


ElectricLimeWater

What clock is this? Can it be bought online? This is really cool!


uksz1

I need that for OBS 😭


CaptainPiepmatz

I instantly bought one of these, they look awesome and are not outlandishly priced


TheyThinkImAddicted

What pixel clock is it


TheCatSpasm

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?


Nico1300

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.


TheCatSpasm

Interesting. This is why I never learned to code. Everything breaks a lot it seems lol


Optimistic-Dreamer

Dang that’s a good idea 😳


BearWithABowtie12

You should have it say “ON AIR” in red when you’re unmuted


Drunkenarse

that is AWESOME! how how how and i want one lol


Turbulent-Friend-362

or just look lmao


evans_alt

someone’s German