|
| 07 Apr 2014 07:04 PM |
Why do In-game Values cause so much lag? Anyway to reduce this lag?
Btw, my values are stored in workspace. |
|
|
| Report Abuse |
|
|
FELlNE
|
  |
| Joined: 07 Apr 2012 |
| Total Posts: 30839 |
|
| |
|
Xermist
|
  |
| Joined: 05 Aug 2011 |
| Total Posts: 1240 |
|
|
| 07 Apr 2014 07:05 PM |
| How many do you have running/active? |
|
|
| Report Abuse |
|
|
dave2011
|
  |
| Joined: 02 Oct 2010 |
| Total Posts: 10581 |
|
|
| 07 Apr 2014 07:06 PM |
| how are they causing lag? changed event? if so add a debounce so it only runs like once every second, sometimes they change a lot without you knowing and it runs the changed event a lot |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2014 07:06 PM |
| about 600. It's consistes of intvalues, stringvalue, and numbervalues. |
|
|
| Report Abuse |
|
|
dave2011
|
  |
| Joined: 02 Oct 2010 |
| Total Posts: 10581 |
|
|
| 07 Apr 2014 07:09 PM |
| are you using the changed event? and I have an idea, have a single value as a giant table full of the values of every single one of those 600 values |
|
|
| Report Abuse |
|
|
SirAkrius
|
  |
| Joined: 14 Jan 2014 |
| Total Posts: 1017 |
|
| |
|
|
| 07 Apr 2014 07:16 PM |
It's not in a script, it's in Workpsace.
You know, the int,string,number,vector3 values you can place in workspace? |
|
|
| Report Abuse |
|
|
firetim
|
  |
| Joined: 02 Dec 2011 |
| Total Posts: 7860 |
|
|
| 07 Apr 2014 07:17 PM |
| how dare you take jesus's name in "vain". |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2014 07:18 PM |
I did an experiment. I made a GUI to count the amount of values in game - over 4000. wow.
FPS went down a lot, but the memory went up only a small bit. |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2014 07:24 PM |
| http://www.roblox.com/You-Screwed-place?id=131824008 |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2014 07:35 PM |
Bacon, it's You're Screwed.
I'm not giving up hope just yet may boi |
|
|
| Report Abuse |
|
|
| |
|