sv_allowdownload works for CS i believe... or did the CS guys code that in?  
Cause with that set to zero it wont let you download maps and stuff if you 
dont have it.  I think it works on regular HL servers too.  That way you 
could do your check and

if(!consistent) bantheirass(wonID);

but thats just an idea... dont know if it would work or not =]

Roachfood
www.the-coming.com

>From: Reedbeta <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [hlcoders] Checking file consistency
>Date: Fri, 16 Nov 2001 21:05:52 -0800 (PST)
>
>Hmmm....right now I can't think of a way to hack Valve's consistency to 
>allow
>this, but you could implement your own consistency system....check the file
>sizes to see if they match, and if so open it directly and do a CRC...
>
>--- Florian Zschocke <[EMAIL PROTECTED]> wrote:
> > This is a tricky one. I don't think it does work, but I'll ask
> > nevertheless.
> >
> > What I want to do is check a file on the client to be consistent
> > with the copy on the server. I do know how to do that in HL code.
> > What I know is to use PrecacheGeneric() and ForceModified() in
> > DispatchSpawn().
> >
> > But there is a problem with that. What I want is to keep a copy of
> > the file on the server and check if it exists on the client. If it
> > exists on the client I check for consistency. If this check fails,
> > InconsistentFile() should be called from
> > the engine. If that check passes, ok.
> >
> > BUT, if the file does not exist on the client, I don't want the
> > server to download that file to the client. I simply want to
> > ignore it (or get InconsistentFile() called).
> >
> > The problem is that precaching a file will cause it to be
> > downloaded to the client. But I can check consistency only on
> > precached files.
> >
> > Any ideas if what I want could still be done?
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Find the one for you at Yahoo! Personals
>http://personals.yahoo.com
>_______________________________________________
>To unsubscribe, edit your list preferences, or view the list archives, 
>please visit:
>http://list.valvesoftware.com/mailman/listinfo/hlcoders
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to