<div dir="ltr">Maybe if there was a way to set an optional packet type group flag on a packet and set up a rule depending on the packet type group, that would work. For instance, having a packet type group POSITION_UPDATE, set a rule for the packets like LAST_PACKET_ALWAYS_RELIABLE so if you stop sending the positions it'll keep resending the last while keeping all others as unreliable.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 30, 2013 at 4:51 PM, Thorbjørn Lindeijer <span dir="ltr"><<a href="mailto:bjorn@lindeijer.nl" target="_blank">bjorn@lindeijer.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Apr 30, 2013 at 3:10 PM, Doug Warren <<a href="mailto:dwarren@thebigwave.net">dwarren@thebigwave.net</a>> wrote:<br>
</div><div class="im">> New packet type of best effort last message of a channel: Any message for<br>
> the channel would be unreliable but if we're sending a packet and the last<br>
> acknowledged received sequence number is less than the last sent sequence<br>
> number for that channel, a copy is sent anyway. This could be used for<br>
> frequently changing things like position but if there's room you'll get the<br>
> most recent position anyway.<br>
<br>
</div>I second this. For example when sending position updates only when the<br>
position changed, it would be very useful if they could be sent<br>
"unreliable" while still guaranteeing that the last update will<br>
arrive.<br>
<br>
Though I guess if it is per-channel then one could only do this for up<br>
to about 256 entities. Maybe it would be better if there was a way to<br>
manually mark a sent packet as "stop trying to resend", or in any case<br>
some way to remove / replace it.<br>
<br>
Regards,<br>
Bjørn<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
</div></div></blockquote></div><br></div>