host_error: WriteDest_parm: not a client
Hi all,
Ive seen a couple posts about this, from what I understand this occurs when a message is sent to "a person" who is not a client (like a bot?) or when a message is sent with out an ID. Are these teh only times this message will occur? Will doing a is_user_connecte(id) check before sending all messages be a good way to work arround this? Does this only apply to hud messages (set_hudmessage/show_hudmessage) or does it also apply to client messages (client_print) ? |
Re: host_error: WriteDest_parm: not a client
check is_user_connected(id) first, i think it applies to all messages
|
Re: host_error: WriteDest_parm: not a client
'client_print()' is a message, and the server won't crash if sent to a un-connected client. Same with a hud message. Tho.. I thought that if a message is sent reliably it will crash. Using "MSG_BROADCAST" and "MSG_ONE_UNRELIABLE" shouldn't crash a server.
|
Re: host_error: WriteDest_parm: not a client
but isnt client_print(id......... a client and is sent reliably?
|
Re: host_error: WriteDest_parm: not a client
Quote:
I'm not so sure "is_user_connected()" would work, but using fakemeta, and: Code:
|
Re: host_error: WriteDest_parm: not a client
i think is_user_connected(id) will work
|
Re: host_error: WriteDest_parm: not a client
what about something simple like this:
Code:
public Is_Valid_User( id ) |
Re: host_error: WriteDest_parm: not a client
ok, so I did this:
PHP Code:
so PHP Code:
|
Re: host_error: WriteDest_parm: not a client
Quote:
|
Re: host_error: WriteDest_parm: not a client
What types of messages do I need to do that with?
PHP Code:
|
| All times are GMT -4. The time now is 11:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.