Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Can a player endlessly fire RemoteEvents?

Asked by 5 years ago

So I know players can inject their own code. This makes me wonder though, what if a player injected code that fired RemoteEvents constantly and endlessly, wouldn't that slow down the server?

Thanks

0
Remote events can be fired 6 times in the same frame before they timeout (aka without any wait() in between) RubenKan 3615 — 5y
0
Possible yes, likely no, trackable yes, worth worrying about probably not Vulkarin 581 — 5y

2 answers

Log in to vote
1
Answered by
chomboghai 2044 Moderation Voter Community Moderator
5 years ago

Taken directly from the wiki:

For most devices and connections, a Roblox server can only send and receive about 50 KB/sec of data to each client, not including physics updates. That said, it is highly recommended to maintain a lower value during normal gameplay as sudden spikes in data transfer can cause lag and an overall subpar user experience.

Every time a remote event is fired or a remote function invoked, a packet of data is sent over the network between the server and client. This packet is counted towards the 50 KB/sec limit. If too many packets are sent (remote event or function used often), or too much data is sent per packet (lots of large arguments to the event or function), the latency of the connected clients can be adversely affected.

0
So does this mean that even if a hacker is spamming remote events it won't affect the server because there is a limit per player? DisguisedBlack 0 — 5y
0
It will affect the server. Like it says, if too much data is being sent, the latency of all your clients can be affected. This means the game can get very laggy for everyone and make it not enjoyable. chomboghai 2044 — 5y
Ad
Log in to vote
0
Answered by 5 years ago

Yes, a client can spam remote events and functions, but I don't think it work slow down the server that much.

Answer this question