Skip to content
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

load stuck on Nan% (USE FIREFOX TO FIX) #11

Open
craftersshaft opened this issue Jun 17, 2016 · 3 comments
Open

load stuck on Nan% (USE FIREFOX TO FIX) #11

craftersshaft opened this issue Jun 17, 2016 · 3 comments

Comments

@craftersshaft
Copy link

I'm using windows 10 with Microsoft edge, and when I open the index file, it gets stuck on Nan%. Do I use a different browser, or is there something else I need to do? I read the wiki.

@craftersshaft
Copy link
Author

EDIT: I got it working with firefox. Oh, that sweet sweet sound of U̶n̶d̶e̶r̶t̶a̶l̶e̶ ̶-̶ ̶S̶a̶n̶s̶ Muscles.mp3 ....

@craftersshaft craftersshaft changed the title load stuck on Nan% load stuck on Nan% (USE FIREFOX TO FIX) Jun 17, 2016
@nuffens
Copy link

nuffens commented Jul 21, 2021

I have the same bug appearing even if I run the program on Firefox, any solution to the nan% bug?

@aam051102
Copy link

The reason for the NaN% bug when trying to open index.html locally is due to modern browser security, which prevents access to the local file system. This bug was probably not present during the development of the Openbound engine ~10 years ago.

There are essentially three ways around it:

  1. Run a localhost server. This can, for example, be done by using the "Live Server" extension in Visual Studio Code.
  2. Host the files somewhere online. Host examples could be Miroware Pipe (created by the owner of MSPFA) or, theoretically, GitHub/GitHub pages. This will be much slower in development, though.
  3. Bypass browser security. (not recommended)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants