> 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?
I don't believe there is a way to determine the original message name from the message ID given by the REG_USER_MSG() engine function. Like you have noticed, all message IDs below 64 are reserved for the engine and these are created internally in the engine (they don't use REG_USER_MSG to get created and you can't intercept them since the MOD code is not the one registering it). Internal engine messages are also not interceptable on the client side since the client-side engine will filter out any messages that it is supposed to process (for example all of the TE_xxx messages). I would think the only way for someone who doesn't have access to the engine source to track down what's causing the problem is to log EACH AND EVERY network message that gets sent to ALL clients (i.e. put a hook in MESSAGE_BEGIN and write out to a text file all the parameters). Make SURE you flush() the output file after every message so that when the engine crashes, you won't have stuff stuck in a memory buffer waiting to be written to disk. Then when the engine crashes, take a look at the last thing to be written to disk and that should be the one that caused the engine to crash. Good Luck. Jeffrey "botman" Broome _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

