This is a bit of a hack but works for all mods. I use metamod and print
out the values passed to RegUserMsg_Post() This will give you the names
of all registered events (through REG_USER_MSG) and their assigned ids
including any you add for your mod.

I find it most helpful when debugging client errors dealing with
unexpected messages.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charlie
Cleveland
Sent: Thursday, October 02, 2003 5:21 PM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] Host_Error under Steam

Message 57 is initialized by the engine, as the first mod-level message
I
register is gmsgSelAmmo, which returns a message ID of 66.  Is there a
way
to find out what a messageID is named?

-Charlie
--
Charlie Cleveland
Game programmer and designer
http://www.natural-selection.org
http://overmind.org


----- Original Message -----
From: "Michael Shimmins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 02, 2003 11:23 AM
Subject: RE: [hlcoders] Host_Error under Steam


> Why would the occurrence of this error message be caused by anything
> different to every other time this message appears?
>
> The server sent a message to every client (I say every client since
everyone
> gets kicked off at the same time), which the client code doesn't have
the
> appropriate message receiver for.
>
> If this is occurring since the introduction of steam, I assume this
would
be
> a message steam is sending.
>
> Michael Shimmins
> Sesechial Software
>
> Phone: +613 9504 3665
> Fax:     +613 9504 3488
> Mobile: 0407 643 414
> _______________________________________________________
> Important - This email and any attachments may be confidential. If
received
> in error, please contact us and delete all copies. Before opening or
using
> attachments, check them for viruses and defects. Regardless of any
loss,
> damage or consequence, whether caused by the negligence of the sender
or
> not, resulting directly or indirectly from the use of any attached
files
our
> liability is limited to resupplying any affected attachments. Any
> representations or opinions expressed are those of the individual
sender,
> and not necessarily those of Sesechial Software.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
Rockefeller
> Sent: Friday, 3 October 2003 1:01 AM
> To: [EMAIL PROTECTED]
>
> Charlie Cleveland wrote:
> > Host_Error: UserMsg: Not Present on Client 57
>
> I might be wrong, but this 57 could be the message number.
> Try to find out what REG_USER_MSG() returns 57, maybe then you can
find
> the message that causes that problem...
>
> Rockefeller
>
>
> _______________________________________________
> 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
>
>


_______________________________________________
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