-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No more aeroplanes. #9
Comments
Is there anything printed out in the console after it loads (and about 10 aircraft are created)? The updated version is 2.1.1, upper-right corner while loading. |
I get this message: Which seems that creating aeroplanes is definitely working. I will land/fly all planes and see if more are generated. |
Just like to add in my log output here, maybe it'll help: http://pastebin.com/0Yy45gcJ It seems like the plane generation is working until it reaches a certain number at which point it will stop generating any more. |
It seems as if it isn't a problem generating the aeroplanes, it's actually a problem calling the function which generates the aeroplanes. |
Popey: the aircraft_new function is being called in airport.js. Both of these are being called in addAircraft, at line 227 in airport.js. |
+1 on Firefox Aurora 36 |
I'm debugging around a little. As I understand it: game initally adds some departure, and that function will set up timeouts to add some more departure, based on the |
Can reproduce, fix in progress. I've never played it for more than about ten minutes so I never encountered this bug... |
I just noticed it wasn't a big setting array, but rather just the timeouts added by the game to the queue, as async tasks. The |
For testing, you can run the command |
Fix confirmed. However, the spawn rate is now too high. My list keeps growing and growing. |
Maybe you could put a debug option to turn off spawn, and get a log of how fast we clear the planes, so we can estimate a natural frequency at which to make them respawn? |
...or you could always monkeycode and play to find out that "ideal" rate instead of having to release yet another feature ;) |
The rate is set in each airport individually (so you can have a small airport with one arrival per hour, not that anyone would ever want that). I've raised the time for all the airports a bit but I'm pretty sure there's now an exponential amount of arrivals. |
Great to see this issue was resolved. |
Am I missing something, or after a certain period (less than 15 minutes), do no more planes come?
http://i.imgur.com/MUW6K3c.png (just, ignore the score.)
Running chrome, windows 7.
The text was updated successfully, but these errors were encountered: