Raised This Month: $51 Target: $400
 12% 

cs crash - overflow


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 09-26-2015 , 08:33   cs crash - overflow
Reply With Quote #1

what the problem with the lines?

when i run a Zombie day i get a DC (overflow) and no log error.
Code:
        // Zombie fog Map
        engfunc( EngFunc_LightStyle, 0, "b" );
        //set_lights("b")
        
        /* Fog */
        static iFogMsgId;
        if ( !iFogMsgId ) iFogMsgId = get_user_msgid( "Fog" );
        
        message_begin( MSG_ALL, iFogMsgId, { 0, 0, 0 }, 0 );
        {
            write_byte( random_num( 140, 160 ) );    // Red
            write_byte( 15 );            // Green
            write_byte( 255 );            // Blue
            write_byte( 13 );
            write_byte( 10 );
            write_byte( 45 );
            write_byte( 19 );
        }
        message_end();
        /* Fog End */
so i think the problem come from message_begin, cuz before never get this error

Last edited by Fuck For Fun; 09-26-2015 at 09:09.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 09-26-2015 , 11:31   Re: cs crash - overflow
Reply With Quote #2

Try to use MSG_BROADCAST inseid of MSG_ALL
or look here https://forums.alliedmods.net/showthread.php?t=158512
dFF is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 09-26-2015 , 12:18   Re: cs crash - overflow
Reply With Quote #3

Quote:
Originally Posted by dFF View Post
Try to use MSG_BROADCAST inseid of MSG_ALL
or look here https://forums.alliedmods.net/showthread.php?t=158512
EDIT: Still Day Crashe my cs.

should help me with change fog?

Fog mine: Black map at zombie day
to fog like the picture?

Last edited by Fuck For Fun; 09-26-2015 at 12:28.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Reply



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 03:22.


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