Yeah the problem is your accessing a user msg with the index of 255, when
the max number of user messages
is 128. It seems unlikely that you have too many messages because then youd
be falling out on the 128'th youve added and not the 255th, my guess is your
using a weird value in the WRITE_MESSAGE macro.

----- Original Message -----
From: "Persuter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 09, 2002 9:39 AM
Subject: [hlcoders] Problem with DispatchUserMsg


> OK, it's time for Persuter's bimonthly Puzzle Of The Month! That's
> right, folks, whoever gives the most correct answer to the following
> question will receive a valuable nonmonetary prize.
>
> Actually, it's not really a question about code so much as a question
> about an error. Basically, with seemingly no explanation, our game has
> started throwing the following error:
>
> Host_Error: DispatchUserMsg:  Illegal User Msg 255
>
> The interesting part is that it only throws it when we start up a single
> player game. When one starts up a multiplayer game it goes through just
> fine.
>
> What exactly does this error message mean? Does it mean we have too many
> user messages (seems quite unlikely)? And why should it start only when
> we're starting up a single player game? We have indeed added a message
> since the
>
> Anyway, I'm basically just looking for a place to start here, since I'm
> sort of at a loss for what exactly this error message means. Thanks in
> advance, and no doubt I'll figure it out in five minutes and feel really
> stupid anyway. :)
>
> (During the typing of this message I actually realized I wasn't even
> copying the client dll to the cl_dlls folder. /me rolls his eyes. :)
> Still doesn't work in the same way, though.)
>
> Persuter
>
> _______________________________________________
> 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