Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Topic started by: Zorchenhimer on February 05, 2008, 12:08:00 AM

Title: Tweak: Modified Content Fix
Post by: Zorchenhimer on February 05, 2008, 12:08:00 AM
I know that in another thread we want some stuff taken out of that infamous locked DLL.  How about we put the player models and skins inside the DLL file so they cannot be modified?  This would avoid all of the Modified Content bans.  Also, I do not mean to completely close source the media, just lock the specific media being used into the file.

I hope somebody understands my point.  :P
Title: Re: Tweak: Modified Content Fix
Post by: sk89q on February 05, 2008, 12:31:25 AM
Jit could just... stop people from playing online with modified content completely...
Title: Re: Tweak: Modified Content Fix
Post by: XtremeBain on February 05, 2008, 10:55:04 AM
I really don't like the existing modified content check.  I would really like to see a server-side sv_pure option to enforce things like skins and models when necessary, but it's not really feasible since we all hate .paks so much and there isn't custom skin support (anymore..).
Title: Re: Tweak: Modified Content Fix
Post by: ViciouZ on February 06, 2008, 11:45:37 AM
What if you just take the map checksumming routine and apply it to all files loaded? That way, if skin checksums mismatched, it would be re-downloaded and overwritten, preventing the would-be hacker from ever using it.
Title: Re: Tweak: Modified Content Fix
Post by: Garrett on February 06, 2008, 03:22:51 PM
What if you just take the map checksumming routine and apply it to all files loaded? That way, if skin checksums mismatched, it would be re-downloaded and overwritten, preventing the would-be hacker from ever using it.
I like this idea better.  I actually was going to request something of this nature.  The texture that automatically is used when you don't have a texture downloaded is ugly but the problem with this idea is, some servers don't have the texture that needs to be downloaded so if someone needs to re-download the texture and the server doesn't have it, what happens next?
Title: Re: Tweak: Modified Content Fix
Post by: sk89q on February 06, 2008, 03:34:38 PM
I think Jit should just stop people with modified content from playing online completely. If it doesn't match, you get kicked. No need to waste our bandwidth, and no need to deal with people who try to play regardless.
Title: Re: Tweak: Modified Content Fix
Post by: Garrett on February 06, 2008, 03:37:24 PM
I think Jit should just stop people with modified content from playing online completely. If it doesn't match, you get kicked. No need to waste our bandwidth, and no need to deal with people who try to play regardless.
True but if someone were to delete all of their textures, would that give a modded content warning because if someone plays in a server with all the textures being displayed as the default, wouldn't that give them a sight advantage?
Title: Re: Tweak: Modified Content Fix
Post by: Zorchenhimer on February 06, 2008, 06:13:05 PM
I like the Checksum idea better than mine.  Sounds like it would work good.  And Garret, if the file doesn't exist it will download it, but if the file exists but the checksums do not match then they will be kicked/banned.  And maybe store that checksum in the DLL so it cant get away with playing on a server that has modified content?
Title: Re: Tweak: Modified Content Fix
Post by: jitspoe on February 07, 2008, 01:18:02 AM
The problem with checking against the game servers is that the media is usually outdated or nonexistent.  Storing data files in an executable would be a big pain in the butt to deal with each release, I think, and it kind of defeats the purpose of having data files to begin with.  The executable would become bloated and probably take up a lot more memory.  I think using a pak file would probably be the most logical way to go.  It would prevent basic tinkerings.
Title: Re: Tweak: Modified Content Fix
Post by: toM|vendettA on February 08, 2008, 05:14:32 PM
What if the server downloads the checksum from a global server, then compares them to the client's?
Title: Re: Tweak: Modified Content Fix
Post by: Garrett on February 08, 2008, 05:20:01 PM
What if the server downloads the checksum from a global server, then compares them to the client's?
I think the checking server would need the .map file to make sure everything is legit then.
Title: Re: Tweak: Modified Content Fix
Post by: Zorchenhimer on February 08, 2008, 09:33:09 PM
I think the checking server would need the .map file to make sure everything is legit then.

No it wouldn't.  It would just need the checksum of the correct .bsp file.
Title: Re: Tweak: Modified Content Fix
Post by: Garrett on February 08, 2008, 09:50:15 PM
No it wouldn't.  It would just need the checksum of the correct .bsp file.
I gotta read more literature on this stuff I guess...