I just had a quick browse of the source and I have found the problem.

the error message:
> Warning: Unable to open sound/ for transfer

means it trying to send the file "sound/" to the client. This won't work :)
You need to PRECACHE_* files only, not directories nor can you use wildcards
(i.e sound/*.wav). you need one precache per file. Also note there is a
limit to the number of precached files (512 sounds, 512 models/others).





----- Original Message -----
From: "Bud-froggy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 4:36 PM
Subject: [hlcoders] Basic Precaching


> This is simple, but it isnt working, and therefore very frustrating.
> I am trying to precache models, sounds and what not from a file.  I
> am using PRECACHE_SOUND for sounds, PRECACHE_MDOEL for models,
> PRECACHE_EVENT for events and PRECACHE_GENERIC for anything I dont
> recognize.  Now, the files are precached fine (no errors), but when a
> client connect, (s)he receives the following error:
>
> Warning: Unable to open sound/ for transfer
> SV_ReadClientMessage: unknown command char (255)
>
> and is then dropped.  I have looked at source from all over, and
> everyone else seems to be successfully doing this but me.
> -Bud-froggy
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>

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

Reply via email to