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

[firefox] "[fresh] [error] n2p_call_ptac, NPN_Invoke failed (or there were no npp)" #369

Open
BlackMage2 opened this issue Dec 23, 2017 · 6 comments

Comments

@BlackMage2
Copy link

BlackMage2 commented Dec 23, 2017

the FlashPlayer is used e.g. not recognized in DarkOrbit
it comes messages "[fresh] [error] n2p_call_ptac, NPN_Invoke failed (or there were no npp)" in console and in the browser comes the error message that you need the latest Flash Player to play

Fedora release 28 (Rawhide), Firefox 46.0.1, 64 bit

@i-rinat
Copy link
Owner

i-rinat commented Dec 23, 2017

I tried to open that game. It complains about Flash player being old, but work. Although, slow, very slow, and with enormous CPU usage, as it seems to use CPU rendering. It doesn't complain in Chrome, which use the same PepperFlash version. So it could be missing features.

As for graphics, I currently have two features unimplemented: PPB_OpenGLES2VertexArrayObject;1.0 and PPB_OpenGLES2DrawBuffers(Dev);1.0. I'm not really sure whenever they are the key.

@BlackMage2
Copy link
Author

BlackMage2 commented Dec 24, 2017

sure?
how can you start the game?

by me for example https://int1.darkorbit.com/indexInternal.es?action=internalMapRevolution shows me only that i need the latest Flash Player

and it normally appears with the plugin version "0.0 r0"(at firefox under add-ons)?
where i get the "manifest.json"(that contains the version)?

but other games like Farmerama(by Bigpoint) works perfect

@i-rinat
Copy link
Owner

i-rinat commented Dec 24, 2017

how can you start the game?

Yes, it works. At least I think it works, as I can move the ship in various directions. But it also looks like I'm locked to ru3.darkorbit.com server. If I try to open int1.darkorbit.com, it still redirects to ru3. It's also possible that various servers use slightly different versions. So the game working for me doesn't solve anything.

Anyway, it's still unplayable, as there is almost a one second lag after almost every mouse click. I'd be enraged after a dozen of minutes. It's definitely not hardware-related, as gameplay is very smooth in Chrome. So, if you want to play, I'd suggest using Chrome (or Chromium), as I doubt that the issue is easily fixable in freshplayerplugin.

@i-rinat
Copy link
Owner

i-rinat commented Dec 24, 2017

appears with the plugin version "0.0 r0"

Try to remove pluginreg.dat file. It's in the Firefox profile directory.
Firefox caches plugin information in that file, to speed-up startup. Sometimes for some reason some of the plugins are marked as faulty. From that point, Firefox won't try to load plugin again. Removing pluginreg.dat will force Firefox to scan plugins again. You'll need to restart the browser.

@BlackMage2
Copy link
Author

BlackMage2 commented Dec 24, 2017

i have firefox exited(so the process killed) and "pluginreg.dat" deleted and firefox started and no change
the plugin version is still displayed as "0.0 r0"

DarkOrbit is at firefox and chrome not working
and with chrome, "Farmerama" does not recognize the Flash Player so I can't play (unlike Firefox, it recognizes the Flash player and I can play)

@i-rinat
Copy link
Owner

i-rinat commented Dec 25, 2017

the plugin version is still displayed as "0.0 r0"

Is there manifest.json file near libpepflashplayer.so? Manifest file is used to determine version of Flash. If there is no such file for some reason, version would be all-zeros.

does not recognize the Flash Player so I can't play

In Chrome, before, there were possibility to make it ask whenever you want Flash on a particular page. Now there are only two options. First blocks Flash completely. Second allows Flash, but only on sites you explicitly specify in settings. (Open chrome://settings/, scroll down to Advanced, open it, scroll down to Content Settings, find there Flash, add site addresses to the Allowed list).

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

2 participants