• Exploit placing overlay over all players screens.
    17 replies, posted
People are able to place a material over an a prop, this seems to give all players within the draw distance an overlay on there screens. Which is odd, didn't Garry fix this in a recent patch?
Ye i heard this before, maybe it wasn't fixed...
-edit Most probably bypassing the protection Garry placed in by using ColorMater and it's "Apply to spawned props" ability. This tool now seems to be part of wire adv dupe now. Probably due to this: [LUA] //Special crap if ( SERVER ) then function ApplyColMatSpawned( pl, model, ent ) if pl:GetInfoNum( "colmat_spawned", 0 ) == 1 then local mat = pl:GetInfo( "colmat_material" ) local r= pl:GetInfoNum( "colmat_r", 0 ) local g= pl:GetInfoNum( "colmat_g", 0 ) local b= pl:GetInfoNum( "colmat_b", 0 ) local a= pl:GetInfoNum( "colmat_a", 0 ) local mode= pl:GetInfoNum( "colmat_mode", 0 ) local fx= pl:GetInfoNum( "colmat_fx", 0 ) SetMaterial( pl, ent, { MaterialOverride = mat } ) SetColour( pl, ent, { Color = Color( r, g, b, math.Clamp( a, 100, 255 ) ), RenderMode = mode, RenderFX = fx } ) end end hook.Add( "PlayerSpawnedProp", "ApplyColMatSpawned", ApplyColMatSpawned ) hook.Add( "PlayerSpawnedRagdoll", "ApplyColMatSpawned", ApplyColMatSpawned ) end [/LUA]
Yeah the wire colmat tool is one way. E2 (if you allow it) can also change material. You can also set a props material in singleplayer with Lua, dupe it then spawn it on a server I think, either with adv dupe or the normal duplicator. I think garry only blocked it with the material too, bear in mind there are other entities that allow you to give a material, has anyone tried causing it with a trail? Just do a regular sweep through all props, check if the material is pp/copy, autoban whoever the owner is.
When you give clients unrestricted access to server functions like 'SetMatrial' 'SetColor' things like this are bound to happen. Report it the 'wire' developers. EDIT: Afaik the default Duplicator tool doesn't even carry over color/material.
-snip wrong-
[QUOTE=OldFusion;40164513]When you give clients unrestricted access to server functions like 'SetMatrial' 'SetColor' things like this are bound to happen. Report it the 'wire' developers. EDIT: Afaik the default Duplicator tool doesn't even carry over color/material.[/QUOTE] Aye I'll give them a poke to fix it. [URL]https://github.com/wiremod/AdvDuplicator/blob/master/lua/weapons/gmod_tool/stools/colmat.lua[/URL]
Didn't realize this was even in adv duplicator anymore, I've had a version on the workshop for a while... I sent in a pull request to block that exploit.
[QUOTE=TweaK2007;40204411]Didn't realize this was even in adv duplicator anymore, I've had a version on the workshop for a while... I sent in a pull request to block that exploit.[/QUOTE] Just got merged a minute ago.
Yep, just saw the email haha. I threw one in for the e2 setMaterial function too. Do you know if this exploit is possible with holograms?
[QUOTE=TweaK2007;40204629]Yep, just saw the email haha. I threw one in for the e2 setMaterial function too. Do you know if this exploit is possible with holograms?[/QUOTE] Probably is, and with changing the chip's model/texture.
Changing the chip's material would be done just like any other entity, which should be blocked now since my patch just got merged into wire too. I think the screen blackout is caused by halos since turning off the physgun grab halo stops it from happening. As far as I can tell halos don't draw on holograms, at least nothing I tried would blind me using a hologram. Of course if people are using holograms, pp/copy blinding isn't any worse than regular old holoblinding...
This happened to me once, I just killed the hook that was causing it
If you change the color / alpha of the prop that is when the real issue occurs, halos just happen to be changing the alpha as they render the blur effect.
[QUOTE=TweaK2007;40204629]Yep, just saw the email haha. I threw one in for the e2 setMaterial function too. Do you know if this exploit is possible with holograms?[/QUOTE] It's possible, I did that a few days ago as a test and accidentally blinded everyone until I undid the chip. :v:
I'll see about throwing together a patch for holograms then.
Has happened twice on my server, where people put a Red Overlay whenever someone uses a physgun at all.
Sorry, you need to Log In to post a reply to this thread.