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
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
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
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
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
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
6 matches
Mail list logo