|
| 15 Nov 2015 11:08 PM |
I'm currently converting my game into FilteringEnabled and I read on the Wiki that there would be lag. How much lag exactly would I expect to see? Converting my game into FilteringEnabled is a lot of work and I don't want to change it back if it ends up lagging a lot. |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2015 11:09 PM |
| FilteringEnabled is to prevent lag-.- |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2015 11:13 PM |
Well it depends. The reason it causes lag is because there is a legitimate delay between the client sending a request to the server with a RemoteEvent/RemoteFunction, and the server reflecting a change back to the client.
The measurement of time between client -> server -> client and vice-versa is what's known as a Ping.
Its typically 1/10th of a second, give or take. As long as you aren't doing anything too expensive on the server-side, you shouldn't experience that much lag. |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2015 11:18 PM |
I agree with CloneTrooper.
You're confusing causation with correlation. FilteringEnabled is not the causation of the lag. However, if there is a positive correlation (lag gets worse with filtering enabled on), then you're doing something wrong on your end with your code that is causing the lag.
Make sure you are minimizing the number of calls you are making on remote objects and such. And investigate other things that could cause lag, such as lots of physical parts moving around. |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2015 11:19 PM |
two famous people in one thread
;o |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2015 11:35 PM |
^ That's what I was thinking.
Anyways, thanks for your help. If there is not correlation, then why does the Wiki mention it? So far, my game doesn't lag except for the few seconds when it's loading the map so I think I should be fine.
Also, @Crazyman and @Clone, you guys create a lot of good games, do you have FilteringEnabled? If not, do you get a lot of hackers or is Roblox's security good enough to handle them? |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2015 11:36 PM |
Murder, Spleef 2, and The Stalker: Reborn use FilteringEnabled. The rest of my games don't.
|
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 12:07 AM |
| Are there hackers in your games that don't use FilteringEnabled? |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 12:18 AM |
Not that I've been paying attention to, but the opportunity exists, given that an exploit becomes available.
|
|
|
| Report Abuse |
|
|