-
Notifications
You must be signed in to change notification settings - Fork 96
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
Safari 6+ OS X Startup Error Number.isNaN(val) #8
Comments
Are you using the latest version of Safari? |
Yep Version 6.0.4 (8536.29.13) This error accures on several machines with Safari 6.0.4, unfortunately i don't have any osx running lower version of Safari to test it On Apr 22, 2013, at 3:41 PM, SiPlus notifications@github.com wrote:
|
Can you try build 35? It's old and buggy, but it uses window.isNaN instead of newer Number.isNaN? If it works, I'll change Number.isNaN back to window.isNaN. |
I don't know if its a problem with my environment but I'm getting whole bunch of errors Sys.js:25Host.Init On Apr 22, 2013, at 3:48 PM, SiPlus notifications@github.com wrote:
|
Looks fixable. I'll add fallback to window.isNaN and old Web Audio function
|
Sorry that i posted two times unformatted error texts, I was at work and had not time to check how it looks here. Im looking forward to enjoy this project on os x safari. |
I fixed those isNaN and createGain things, try now. |
It does start up fine, only it doest get enough time to load all the resources such is demo1.dem or demo2.dem You need to load all this system files sequential e.g. wait for the first file is loaded then load the next one and so on, use something like onload attribute... As far as i can tell sound is fine, mouse is there too only when i try to start new game i get "PR.LoadProgs: couldn't load progs.dat" on Sys.js line 47, is shareware version is enough to test it cuz I cant find the cd yet... And some resources such is .ogg files throw 404 error u can make ur own error/load handler with "onload" and "onerror" attributes to avoid it. |
Could you redownload the pak0.pak? And did you see the "loading" image when loading a map? Any graphics glitches? Anyway, thanks for testing.
|
Well I tried three different pak0.pak's and no luck, progs.dat not found. I tried pakexplorer and i see that there is a progs.dat file is in there but still not found error. PR.LoadProgs: couldn't load progs.dat when I start WebQuake with empty browser cache i get W.LoadWadFile: couldn't load gfx.wad |
Probably your web server doesn't respond to Range header well. Try Abyss, Apache or nginx. Or extract the pak file. |
I use apache and I tried with extracted pak file, same story... |
Can not start the Client application...
Error
Sys.js:25 Host.Init
Q.js:115 TypeError: 'undefined' is not a function (evaluating 'Number.isNaN(val)'
The text was updated successfully, but these errors were encountered: