Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

sv_pure doesn't correctly enforce files

Open AnAkkk opened this issue 13 years ago • 6 comments

sv_pure doesn't seem to work correctly. It looks like the client game vpk files are not correctly checked against the server ones. I've opened tf2_misc_000.vpk in an hex editor to edit VMTs of a few wall textures.

I've just added a "$ignorez" "1" property, and was able to connect to my sv_pure 2 server without any issue. The walls were transparent.

See: http://steamcommunity.com/sharedfiles/filedetails/?id=149663557 http://steamcommunity.com/sharedfiles/filedetails/?id=149662931

The only part of sv_pure that seem to work is loading files from the game VPKs instead of the custom folder.

AnAkkk avatar Jun 08 '13 11:06 AnAkkk

Anything new? This is a major issue, people can cheat in competitive environment very easily and don't risk any VAC ban.

AnAkkk avatar Jun 30 '13 20:06 AnAkkk

sv_pure has been a mess since the SteamPipe update. I really hope they fix this and #583 soon.

AngryGamer avatar Jul 03 '13 15:07 AngryGamer

The latest TF2 update (from today) includes this tidbit:

Updated sv_pure so client will detect corrupt or modified VPK files

Can someone confirm that this change resolves this issue?

voided avatar Feb 19 '14 23:02 voided

It should. What I don't get is why playing with a modified VPK on a secure server wasn't grounds for an automatic VAC ban the way playing with a modified GCF used to be. Or why TF2 is the only game to get this fix when it should be present in all of their previously-GCF-based games.

stevethepocket avatar Feb 20 '14 02:02 stevethepocket

Indeed, this solves the issue. There's still a problem though, the server code which was supposed to check hashes for the game VPKs is still in place (but it doesn't actually work), it still computes the hashes on server start and require that sv_pure is set through the command line, which is pointless now. That code should now only be used for custom content VPKs (if it even works for these, I haven't tried), I guess?

https://github.com/ValveSoftware/Source-1-Games/issues/216

AnAkkk avatar Feb 20 '14 13:02 AnAkkk

so they break dm with every general unnecessary update til steampipe, then they cool down, separate the updates per game as requested hundreds of times, and when they should apply a general and HIGHLY important and necessary fix for this bug, they leave out dm... makes sense

adelina1985a avatar Feb 27 '14 14:02 adelina1985a