ImpactDevelopment / ImpactIssues

Please use this repo to report bugs and request features
https://impactclient.net/
219 stars 36 forks source link

Remove coords from hud when you take a screenshot lol #1023

Open leijurv opened 5 years ago

leijurv commented 5 years ago

bonus points detect OS level screenshot not just F2

LeafHacker commented 5 years ago

Better be cross platform

BOOM - GNOME - KDE - Unity - Xfce - Windows - OSX - Share X - Greenshot
leijurv commented 5 years ago

i'll do gnome unity and mac osx, you can do the other ones :)

ghost commented 5 years ago

Is this suggestion stemming from the retard who posted his coords in the discord?

LeafHacker commented 5 years ago

Is this suggestion stemming from the retard who posted his coords in the discord?

Yes

you can do the other ones :)

No

leijurv commented 5 years ago

Is this suggestion stemming from the retard who posted his coords in the discord?

yes you can thank qorp for this

SpicyBigGithub commented 5 years ago

spicy helped as well

ZeroMemes commented 5 years ago

🦍

0-x-2-2 commented 5 years ago

🦍

LeafHacker commented 5 years ago

I think the only sane way to do detect OS level screenshots on windows is detecting PrintScreen key events... Which only are only dispatched when the game is focused and assume normal keybinds and instant screenshots (as opposed to snipping tools for example). There may be a lower level key even system you can hook into to get out-of-focus key events but this'll likely be hacky and system dependant.

You could of course also do some low level hooks and try to detect images being stored into memory/storage/streamed through memory to somewhere but this would likely end up being hacky and invasive. Or you could try and detect people reading from one of the various places the window/screen bitmap ends up and somehow filter out cases where it is a screenshot being taken...

I suspect it's a similar deal on other systems, unless one of them has a screenshot event you can hook into (they probably don't for security reasons).

Zamazenta commented 5 years ago

I