|
| 26 Sep 2012 12:59 PM |
mx = game.Debris mx2 = game.Debris.MaxItems
if (mx.MaxItems > 80,000) then mx.MaxItems = mx2*.75 end
Why does this reduce lag? It doesn't even loop to continue updating... Also, are there any other techniques for reducing server-side lag? I get the type of lag where the following would happen:
while true do local time = tick() wait(1) local difference = tick() - time if difference > 1.1 then print(difference) end end
So the server scripts have elongated wait() periods, but player-side there isn't any noticeable movement or graphics lag. Does "local runService = game:service("RunService");" help make server wait time more constant? |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2012 01:06 PM |
Some people just remove all manual joints. So, if everything is anchored, you won't have any problems, but if something is welded to an anchored part, but that is unanchored, than problems will begin. |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2012 01:09 PM |
| That's exactly my situation, veerstrong |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2012 03:14 PM |
| I mean, I have unanchored parts welded to anchored parts, so I can't do that |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Sep 2012 09:05 PM |
| Welcome to XxChopSlaperxX's copy and paste log. In order for him to help you, please put your current version of the script you're using. He'll get back to you in less 5 minutes |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Sep 2012 10:32 PM |
| To reduce lag use meshes for guns instead of a bricks. |
|
|
| Report Abuse |
|
|
|
| 28 Sep 2012 11:17 PM |
| Thanks, but I don't have any guns in my place |
|
|
| Report Abuse |
|
|