dplay_unreliable

If this variable is set to 1, all multiplayer messages are sent in unreliable mode. This reduces bandwidth in multiplayer systems, but does not guarantee that messages are received.

Range:

-1 - Always reliable mode (slow)
0  - Unreliable mode for entity position, angle, and animation updates, reliable mode for the rest (default).
1  - Always unreliable mode (fast)

Type:

var

Remarks:

Messages are grouped together in packets with the same reliability. Often changing the reliability of messages causes small packets and reduces the effectivity of sending and packet compression. See also dplay_packetsize.

Example:

dplay_unreliable = 1; // use unreliable mode for the following message, reduce bandwidth
send_skill(my.health,0); 
dplay_unreliable = 0; // back to default mode

See also:

dplay_encrypt, dplay_smooth, dplay_packetsize

► latest version online