You should not change that number. I intentionally scripted a bit complex so you need to change several numbers to keep things in sync.curtsibling wrote:I tried a little experiment to see what I could change -
When you want more mission sets you should look 3 lines higher:
if (Date.now() - startTime > 500)
change 500 to a higher value. 500 is the maximum allowed time in milli seconds. Change it to 1000 or 2000 and there might be up to 9 pages.
But as said, I didn't like the long pause so I added the time limit in it. Interesting was that I got 2 sets on my machine when I added the limiter. Today with the same machine I only got 1 set. That means that with my current oxp set it took more than 500 msec to generate the first 3 pages. When I tried with last weeks trunk (still with JS 1.70) it also stopped after 3 pages. But with yesterdays trunk (With JS 1.75) I got the full set of 9 pages, meaning that at least the first 6 were generated within 500 msec. So a clear speed increase for the future JS system used by Oolite.
The calculations result in a black screen after showing the docking tunnel. With a short delay it just feels as a natural delay to build up the next screen. Only from a certain delay on, you start recognising it as a delay.(I should note that there was no slow down on my 2004 vintage PC.)
NB those hit pages are not stored anywhere, so any info is always lost on loading a new game. It sounds odd that the same pages are generated after a restart.