Raised This Month: $ Target: $400
 0% 

Killstreak plugin - problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 08-13-2013 , 07:42   Re: Killstreak plugin - problem
Reply With Quote #10

Quote:
Originally Posted by devilicioux View Post
Wow !! Just read Up the Black Rose's Explanation Learnt alot
Tysm Black Rose for awesome explanation.And Plugin is Nice as well.

Edit : Have 1 question in mind .. what is the actual difference between
MSG_BROADCAST and MSG_ALL

Searched a little it says the difference is the streams of sending message . Didnt understand.
Can any1 give a quick info regarding streams and when to use _BROADCAST and When _ALL ?
This is defined in message_const.in
Code:
#define	MSG_BROADCAST               0        // Unreliable to all
#define	MSG_ONE                     1        // Reliable to one (msg_entity)
#define	MSG_ALL                     2        // Reliable to all
#define	MSG_INIT                    3        // Write to the init string
#define MSG_PVS                     4        // Ents in PVS of org
#define MSG_PAS                     5        // Ents in PAS of org
#define MSG_PVS_R                   6        // Reliable to PVS
#define MSG_PAS_R                   7        // Reliable to PAS
#define MSG_ONE_UNRELIABLE          8        // Send to one client, but don't put in reliable stream, put in unreliable datagram (could be dropped)
#define	MSG_SPEC                    9        // Sends to all spectator proxies
The most used are of course BROADCAST, ALL, ONE and ONE_UNRELIABLE.
I'm sure you could find a more detailed explanation by one of the top coders if you search the forum.
A rule of thumb is to use BROADCAST and ONE_UNRELIABLE unless it's absolutely critical that the message reaches the client.
__________________
Black Rose 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 16:00.


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