serveraction vs addbind/key
2 replies



30.04.22 03:52:50 pm
Which one cause less network traffic?
CS2DBR @ Comunidade Brasileira de CS2D | https://cs2d.com.br
I think
serveraction does since its only focusing on the key pressing. Not like
addbind do.


edited 2×, last 01.05.22 08:26:43 am
[ String+ ] make string library more extended and advanced! | Kooshie is the best youkai

Yes,
serveraction is causing less traffic.
addbind needs to send the created key binding to all players and, like
UrNightmare said, it sends a message when pressing AND when releasing a key.
serveraction only sends a single message for a key press & release.
The additional traffic is relatively small when the keys aren't pressed often though. If you however bind keys like W, A, S, D it will probably cause a significant amount of extra traffic.




The additional traffic is relatively small when the keys aren't pressed often though. If you however bind keys like W, A, S, D it will probably cause a significant amount of extra traffic.



