• Anti-Screengrab
    15 replies, posted
Since some screen-grab addons have worked around detouring the render.Capture function i made this for a common screen-grab addon hook.Add("Think", "su", function() net.Receive("SendPartBack", function() hook.Add("HUDPaint", "hu", function() draw.RoundedBox(0, 0, 0, ScrW(), ScrH(), Color(44,44,44,250)) draw.SimpleText("You were just screengrabbed, disconnecting to prevent!", "DermaLarge", ScrW()/2, ScrH()/2, Color(244,244,244), 1, 1) end) timer.Simple(2, function() RunConsoleCommand("disconnect") end) end) end)
This is very useless, thanks!
Can someone explain why would people screengrab others?
Cheating
Seems like the screengrab addon i am on about tries to refresh the function, so if you use this code instead it's guaranteed to work hook.Add("Think", "su", function() net.Receive("SendPartBack", function() hook.Add("HUDPaint", "hu", function() draw.RoundedBox(0, 0, 0, ScrW(), ScrH(), Color(44,44,44,250)) draw.SimpleText("You were just screengrabbed, disconnecting to prevent!", "DermaLarge", ScrW()/2, ScrH()/2, Color(244,244,244), 1, 1) end) timer.Simple(2, function() RunConsoleCommand("disconnect") end) end) net.Receive( "StartScreengrab", function() hook.Add("HUDPaint", "hu", function() draw.RoundedBox(0, 0, 0, ScrW(), ScrH(), Color(44,44,44,250)) draw.SimpleText("You were just screengrabbed, disconnecting to prevent!", "DermaLarge", ScrW()/2, ScrH()/2, Color(244,244,244), 1, 1) end) timer.Simple(2, function() RunConsoleCommand("disconnect") end) end) net.Receive("ScreengrabConfirmation", function() hook.Add("HUDPaint", "hu", function() draw.RoundedBox(0, 0, 0, ScrW(), ScrH(), Color(44,44,44,250)) draw.SimpleText("You were just screengrabbed, disconnecting to prevent!", "DermaLarge", ScrW()/2, ScrH()/2, Color(244,244,244), 1, 1) end) timer.Simple(2, function() RunConsoleCommand("disconnect") end) end) end)
So you're telling me this is an addon to help people cheat without getting caught?
Exactly
I just tested the addon and it kicked me from the server instead of hide my screen, is there a fix?
You can define the function once and pass it as a parameter to hook.Add
Most of the most retarded shit I've seen recently. Also, there's no reason you'd want to do this unless you're cheating.
Dude I'd love to disconnect from games at random because some admin thinks I've got aimbot.
if a server changes the netstrings, you're screwed
While that's true most server owners don't even know what a net message is.
You present this as if suddenly disconnecting as soon as an admin screengrabs you doesn't automatically make you painfully suspicious. You'll probably just get banned anyway. Rightfully so.
You won't even be able to run this code on any server that cares about cheating, because doing so would get you detected by an anti-cheat. Unless, of course, you were able to bypass the server's anti-cheat, in which case this would be infinitely more useless.
Screengrab is a addon server admins/owners use. It simply forces the player to make a screenshot without them noticing, and then the admins get that picture send. The picture shows if you have any hax on, because stuff like aimboat and wallhack has a overlay which you as player can clearly see. with the screengrab the admi ncan see it too. While it might be helpfull for Admins, its in a discussions if its breaking privacy law. (but tbh...what privacy stuff do you have in garrys mod...)
Sorry, you need to Log In to post a reply to this thread.