Raised This Month: $ Target: $400
 0% 

User Msg ScreenFade


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
taheri6
Member
Join Date: Mar 2006
Old 12-22-2007 , 20:02   User Msg ScreenFade
Reply With Quote #1

Hey guys,

Im getting a wierd error and then my server shuts down, Ive never seen the error before and was wondering if some one could assist me.

Code:
FATAL ERROR (shutting down): User Msg 'ScreenFade': 12 bytes written, expected 10
There is only one place in my code that I am using that.

Code:
new gMsgScreenFade;
gMsgScreenFade		= get_user_msgid ( "ScreenFade" );


	message_begin( MSG_ONE, gMsgScreenFade, { 0, 0, 0 }, id );
	write_short( 1<<15 );
	write_short( 1<<10 );
	write_short( 1<<12 );
	write_byte( 255 );
	write_byte( 255 );
	write_byte( 255 );
	write_byte( 255 );
	message_end();

	message_begin(MSG_ONE,gmsgShake,{0,0,0},id);
	write_short( 255<< 14 ); //ammount
	write_short( 10 << 14 ); //lasts this long
	write_short( 255<< 14 ); //frequency
	message_end();
Any ideas?
taheri6 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode