ext3
|
  |
| Joined: 28 Dec 2012 |
| Total Posts: 310 |
|
|
| 07 Apr 2013 09:33 AM |
i noticed that after a while the wait() times in scripts become longer and longer than the actual specified wait time over a period of time
does anyone know why this happens ?? |
|
|
| Report Abuse |
|
|
| |
|
ext3
|
  |
| Joined: 28 Dec 2012 |
| Total Posts: 310 |
|
|
| 07 Apr 2013 09:35 AM |
but what causes it? the game itself isn't lagging; none of the players say they have any lag yet the scripts are still slowing down |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2013 09:36 AM |
Lag.
It has to send information to the clients & back. There's going to be lag.
So I'd say it's lag. |
|
|
| Report Abuse |
|
|
ext3
|
  |
| Joined: 28 Dec 2012 |
| Total Posts: 310 |
|
|
| 07 Apr 2013 09:36 AM |
| but the physics aren't lagging and all the lagging scripts are localscripts |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2013 09:37 AM |
@Ext,
I think they still send information to the server. |
|
|
| Report Abuse |
|
|
ext3
|
  |
| Joined: 28 Dec 2012 |
| Total Posts: 310 |
|
|
| 07 Apr 2013 09:38 AM |
they aren't wiki says that localscripts run on the clients and all of the objects that im performing actions are are also running on the clients since they're inside the local camera |
|
|
| Report Abuse |
|
|
ext3
|
  |
| Joined: 28 Dec 2012 |
| Total Posts: 310 |
|
| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 07 Apr 2013 09:39 AM |
| They have to replicate to the server. It's a networking problem. |
|
|
| Report Abuse |
|
|
ext3
|
  |
| Joined: 28 Dec 2012 |
| Total Posts: 310 |
|
|
| 07 Apr 2013 09:41 AM |
oh okay
do you have any tips on decreasing lag? my game is heavily reliant on wait()s so this problem cripples it |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 07 Apr 2013 09:45 AM |
| Try using different things, like events. |
|
|
| Report Abuse |
|
|