[hlcoders] message of bogus type

2005-01-19 Thread Draco
For 2 days I've been playing around with a message system to replace the death message and gun/ammo pickup messages in my mod. I think I got it set up, with messages queuing to be displayed and such, but one problem has arisen... The game crashes when I make a message for it. I mean the

Re: [hlcoders] message of bogus type

2005-01-19 Thread Philip Searle
Your message name is longer than 11 characters. Because of the way user mesages are stored in the engine, message names are limited to 11 chars plus the nul terminator. If you try to create a message longer than that, then you'll trash the next usermessage or message handler pointers. -- Philip

Re: [hlcoders] message of bogus type

2005-01-19 Thread Rockefeller
Draco wrote: I have the message registered gmsgPerfectDarkMessage = REG_USER_MSG(PerfectDarkMessage, -1); The name of the message (PerfectDarkMessage) is probably too long. There was something like a 12 character limitation in HL1. Try a shorter one, and see if that fixes it. Rockefeller

Re: [hlcoders] message of bogus type

2005-01-19 Thread Jeffrey \botman\ Broome
Draco wrote: For 2 days I've been playing around with a message system to replace the death message and gun/ammo pickup messages in my mod. I think I got it set up, with messages queuing to be displayed and such, but one problem has arisen... The game crashes when I make a message for it. I mean

Re: [hlcoders] message of bogus type

2005-01-19 Thread Draco
Thanks, now it crashes for entirely different reasons, I should be able to fix it :D whats the message name limit for HL2? ** Draco Coder for Perfect Dark http://perfectdark.game-mod.net ___ To unsubscribe, edit your list

Re: [hlcoders] message of bogus type

2005-01-19 Thread jeff broome
On Thu, 20 Jan 2005 13:25:26 +1000, Draco [EMAIL PROTECTED] wrote: Thanks, now it crashes for entirely different reasons, I should be able to fix it :D whats the message name limit for HL2? Ummm, probably 13 characters, or maybe they've gone all out and made it 14 characters! ;) Jeffrey