Remote upload limit #2638
Replies: 4 comments
-
Limit seems to be about 1 / second and player, https://github.com/wiremod/wire/blob/master/lua/entities/gmod_wire_expression2/core/custom/remoteupload.lua#L5 IMO the limit makes sense for remoteUpload as it triggers the client to send files, but i don't think such a low limit is required for remoteSetCode, as that is serverside only. |
Beta Was this translation helpful? Give feedback.
-
setCode still needs a limit, since compiling etc is a lot of work. Maybe you're right and 1 second is a bit too much, but I'm not convinced. Sending the code from the client to the server is probably less work than compiling it. |
Beta Was this translation helpful? Give feedback.
-
This should be using e2's built in antispam shouldn't it? I'm not interested in working on it though. |
Beta Was this translation helpful? Give feedback.
-
Built in antispam? I'd do this but would likely end up having to make a generic quota system like gohidas had an issue here for (which was closed). |
Beta Was this translation helpful? Give feedback.
-
It seems you can only remoteSetCode once per iteration, is it possible to have this limit as a server var?
Beta Was this translation helpful? Give feedback.
All reactions