#GitHub - PrikolMen/improved-network-libr...
1 messages · Page 1 of 1 (latest)
This could be cool.
My biggest suggestion: support rate limiting as a first-class feature if you're already remaking net.Incoming
can be added in general, but probably will have to create a ConVar for the convenience of server owners
For me, I would only want a global rate limit and then fine-tuned limits for each message that I make a receiver for
oh, you mean configuration for each network string, I think it's possible, I'll try to add that in next version
I guess to make a hook "IncomingNetworkMessage" which would be called when we receive a network message in the arguments will be the name of the network message, its length and the player who sent it, if return here false then message will be blocked
How is it improved? Speed? Efficiency? If so, do you have data to show on this? I am interested.
faster calls, flexible api, more ability to expand and modify
more info in code and README.md
in which folder should we put it ?
I recommend just unzip into "addons", example structure: addons/improved-network-library/lua/...