Raised This Month: $ Target: $400
 0% 

Spec Message for dead players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 05-04-2011 , 12:22   Spec Message for dead players
Reply With Quote #1

When a player is dead but spectating to someone, itīs able to recieve a MSG_SPEC message or I have to use MSG_ALL/MSG_BROADCAST?
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.
S34Qu4K3 is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-04-2011 , 13:37   Re: Spec Message for dead players
Reply With Quote #2

You could just test that out.

Still, the info on that define says something else:
Quote:
#define MSG_SPEC 9 // Sends to all spectator proxies
I think "spectator proxy" = HLTV... but still, test it out
__________________
Hunter-Digital is offline
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 05-04-2011 , 14:00   Re: Spec Message for dead players
Reply With Quote #3

Tested and donīt work
I must use MSG_ALL/BROADCAST
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.
S34Qu4K3 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-04-2011 , 15:02   Re: Spec Message for dead players
Reply With Quote #4

For clients, use MSG_ONE_UNRELIABLE for specific player, and MSG_BROADCAST if you want the message to be sent to all players in 1 time. Alive player status is not taken in account.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 05-04-2011 , 16:30   Re: Spec Message for dead players
Reply With Quote #5

Thanks, but what is the difference between reliable and unreliable?
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.
S34Qu4K3 is offline
SonicSonedit
Veteran Member
Join Date: Nov 2008
Location: Silent Hill
Old 05-04-2011 , 16:50   Re: Spec Message for dead players
Reply With Quote #6

S34Qu4K3
MSG_ONE_UNRELIABLE and MSG_BROADCAST may be ignored by server/client if server/client channel is overloaded. MSG_ONE and MSG_ALL will always be delivered.
Sending too much reliable messages will cause "reliable channel overflow" error - never use MSG_ONE or MSG_ALL in such functions like Ham_TakeDamage/FM_PlayerPreThink.
__________________

SonicSonedit is offline
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 05-04-2011 , 16:52   Re: Spec Message for dead players
Reply With Quote #7

Lots of thanks SonicSoniedit =)
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.
S34Qu4K3 is offline
SonicSonedit
Veteran Member
Join Date: Nov 2008
Location: Silent Hill
Old 05-04-2011 , 17:02   Re: Spec Message for dead players
Reply With Quote #8

You're welcome.
__________________

SonicSonedit is offline
Reply


Thread Tools
Display Modes

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 04:29.


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