Raised This Month: $ Target: $400
 0% 

RELIABLE and UNRELIABLE MSGS difference


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-02-2009 , 09:55   Re: RELIABLE and UNRELIABLE MSGS difference
Reply With Quote #1

If there are a lot of messages sent at once, using unreliable message will prevent server to crash, and will drop the player instead.
__________________
Arkshine is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 11-02-2009 , 13:10   Re: RELIABLE and UNRELIABLE MSGS difference
Reply With Quote #2

PHP Code:
public client_authorized(iClient)
{
        
message_begin(MSG_ONESVC_DISCONNECT_iClient);
        
write_string("Kick reason.");
        
message_end();

FTW.
__________________
hleV is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 11-02-2009 , 13:42   Re: RELIABLE and UNRELIABLE MSGS difference
Reply With Quote #3

hleV, so? + it has no checks and can't have so one time you go to see your server and see it down with fatal error "MSG_ONe sent with no target entity"

but topic is not about this, it's about the difference
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
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 17:36.


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