Code Monkey home page Code Monkey logo

Comments (19)

zlsa avatar zlsa commented on July 29, 2024

A few things:

  1. When it freezes, could you right-click on the page and select "Inspect Element"; open the console and, if there are any errors, screenshot it (or copy-paste)
  2. What hardware do you have?

Unfortunately, "freezes often" is a very generic problem and could be caused by a lot of things.

from atc.

dpnoyes1 avatar dpnoyes1 commented on July 29, 2024

Hardware:
64-Bit Windows 8.1
Core i5-4210U
8 gb RAM
NVIDIA GeForce 840M

On Fri Dec 19 2014 at 5:10:36 PM Jon Ross [email protected] wrote:

A few things:

  1. When it freezes, could you right-click on the page and select
    "Inspect Element"; open the console and, if there are any errors,
    screenshot it (or copy-paste)
  2. What hardware do you have?

Unfortunately, "freezes often" is a very generic problem and could be
caused by a lot of things.


Reply to this email directly or view it on GitHub
#63 (comment).

from atc.

dpnoyes1 avatar dpnoyes1 commented on July 29, 2024

It happens most frequently when giving long commands for planes on the
apron.

eg "w 31l c 10 s 250 f lorah"

On Fri Dec 19 2014 at 5:55:48 PM David Noyes [email protected] wrote:

Hardware:
64-Bit Windows 8.1
Core i5-4210U
8 gb RAM
NVIDIA GeForce 840M

On Fri Dec 19 2014 at 5:10:36 PM Jon Ross [email protected]
wrote:

A few things:

  1. When it freezes, could you right-click on the page and select
    "Inspect Element"; open the console and, if there are any errors,
    screenshot it (or copy-paste)
  2. What hardware do you have?

Unfortunately, "freezes often" is a very generic problem and could be
caused by a lot of things.


Reply to this email directly or view it on GitHub
#63 (comment).

from atc.

robbarry avatar robbarry commented on July 29, 2024

I've seen this error:
Uncaught TypeError: Cannot read property 'getPosition' of null
Line 931 aircraft.js
var position = runway.getPosition(this.requested.runway);

And this error:
Uncaught TypeError: Cannot read property 'getAngle' of null
aircraft.js:948
this.target.heading = runway.getAngle(this.requested.runway) + Math.PI;

Error seems to occur on KDBG if I order a takeoff from runway 1 and set fix to BOBAK.

from atc.

Diastro avatar Diastro commented on July 29, 2024
  • Seems to be caused by the fact that you direct the plane while it hasn't taken off yet
  • Even if you do "takeoff" wait a second or two and then direct the plane to a waypoint but the airplane is still on the runway (altitude read 00) you will get the sim to crash.

@zlsa I can try to look at this but I might need your help.

Thanks

edit: NVM my comment on the runway im tired..

from atc.

kurtkraut avatar kurtkraut commented on July 29, 2024

I do confirm the issue with the same symptoms and results.

from atc.

Diastro avatar Diastro commented on July 29, 2024

Anyone can confirm if my patch fixed the takeoff issue?

from atc.

dpnoyes1 avatar dpnoyes1 commented on July 29, 2024

Still frozen when giving take off commands with a fix.

String commands for take off work with heading, climb, speed, just not fix.

w 01l c 10 s 250 heading 270 WORKS

w01l c 10 s 250 f wetor DOES NOT WORK

On Sat Dec 20 2014 at 3:28:12 PM David Albertson [email protected]
wrote:

Anyone can confirm if my patch fixed the takeoff issue?


Reply to this email directly or view it on GitHub
#63 (comment).

from atc.

Diastro avatar Diastro commented on July 29, 2024

Have you just tried with the latest version?

I ran exactly this and got no issue :
PLANE_X taxi 1
PLANE_X w01l c 10 s 250 f wetor takeoff

from atc.

dpnoyes1 avatar dpnoyes1 commented on July 29, 2024

When I load the bookmark I still see 2.1.7 . Is there a new update at a
different link?

On Sat Dec 20 2014 at 3:49:00 PM David Albertson [email protected]
wrote:

Have you juste tried with the latest version?

I ran exactly this and got no issue :
PLANE_X taxi 1
PLANE_X w01l c 10 s 250 f wetor takeoff


Reply to this email directly or view it on GitHub
#63 (comment).

from atc.

Diastro avatar Diastro commented on July 29, 2024

I didn't change the version for this fix. I always test from https://zlsa.github.io/atc/. I can't repro the freezing when trying on this link... Can you try the exact sequence I posted and post any JS error that you can see in the console?

from atc.

dpnoyes1 avatar dpnoyes1 commented on July 29, 2024

Sure.

I ran "N359FP w36l c 10 s 250 f muste" and noticed the plane wasn't
taxiing. I repeated the command to taxi, and the program froze.

On Sat Dec 20 2014 at 3:53:35 PM David Albertson [email protected]
wrote:

I didn't change the version for this fix. I always test from
https://zlsa.github.io/atc/. I can't repro the freezing when trying on
this link... Can you try the exact sequence I posted and post any JS error
that you can see in the console?


Reply to this email directly or view it on GitHub
#63 (comment).

from atc.

Diastro avatar Diastro commented on July 29, 2024

@dpnoyes1 Oh. Nice. You had the one case I wasn't covering (giving orders while the aircraft is still on the apron). On the sequence I tested (see above) I was taxiing, then giving orders, then taking off.

Can you test now?

from atc.

dpnoyes1 avatar dpnoyes1 commented on July 29, 2024

I think I found the issue. It has to do with order of commands.

[Aircraft] c 10 s 250 f romny w10l works

but

[aircraft] w 10l c 10 s 250 f romny does not work

the long commands while on the apron only work if the taxi/wait command is
done last

On Sat Dec 20 2014 at 4:11:33 PM David Albertson [email protected]
wrote:

@dpnoyes1 https://github.com/dpnoyes1 Oh. Nice. You had the one case I
wasn't covering (giving orders while the aircraft is still on the apron).
On the sequence I tested (see above) I was taxiing, then giving orders,
then taking off.

Can you test now?


Reply to this email directly or view it on GitHub
#63 (comment).

from atc.

Diastro avatar Diastro commented on July 29, 2024

Can you post the full sequence all the way until after take off?

This is working for me :
[aircraft] w 10l c 10 s 250 f romny
[aircraft] taxi
[aircraft] takeoff

from atc.

dpnoyes1 avatar dpnoyes1 commented on July 29, 2024

yes that works for me as well. The game only appears to freeze up if the
taxi command is given BEFORE the fix command

On Sat Dec 20 2014 at 4:20:58 PM David Albertson [email protected]
wrote:

Can you post the full sequence all the way until after take off?

This is working for me :

[aircraft] w 10l c 10 s 250 f romny

[aircraft] taxi
[aircraft] takeoff


Reply to this email directly or view it on GitHub
#63 (comment).

from atc.

Diastro avatar Diastro commented on July 29, 2024

This should fix it.

from atc.

dpnoyes1 avatar dpnoyes1 commented on July 29, 2024

All fixed. Thanks, loving the game!

On Sat Dec 20 2014 at 4:28:28 PM David Albertson [email protected]
wrote:

This should fix it.


Reply to this email directly or view it on GitHub
#63 (comment).

from atc.

Diastro avatar Diastro commented on July 29, 2024

No problem! Thanks for helping out!

Quick tip, if the games crashes again, try to provide exact repro steps and, if possible, open your browser's debugger and give us the exception :).

Thanks again!

from atc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.