I can't tell if it's Quest or maybe something in my code that's lagging this really bad for me. EDIT: Please try again, I uploaded the wrong file the first time. I'm also using Pixie's Scope Library Second Inventory: viewtopic.php?f=18&t=3789
Sure, there is a strange timer named stack_inventory. Remove it and it will work. Is it really necessary to import all this base functions into your game?
lightwriter
04 Oct 2015 14:37
Yes because I created something similar to the Stackable library so I had to edit certain things like the Give and Take commands
lightwriter
04 Oct 2015 14:45
OOps, I just realized I uploaded the wrong file! Here is the actual file I want tested
Did not lag for me, but I do not have main.js, so it might be different.
I did notice you have a timer called volume_quantity, that is iterating through every room and object in the game, every second. That is likely to have an impact, especially if you put your game on-line. When will item.unitvolume or item.quantity actually change? Could you not just set the value for one item when that happens (use a change script perhaps).
Try setting volume_quantity so it does not start, and see if the game still lags. Might be worth stoppng the other timers too to see what happens.
lightwriter
04 Oct 2015 15:28
I got rid of a timer that was running faster than 1 second per a tick (using Javascript) and it seems to have gotten rid of the lag. This game won't be directed for online play anyhow since it's going to be a big project.