Play in Web not working?
by James Novosel · in Torque 3D Professional · 05/02/2009 (7:56 am) · 34 replies
The "Play in Web" button from the Toolbox opens a web page (Torque 3D 2009 Beta 1\Genre Kits\FPS Genre Kit\game\web\sample.html) that in IE displays the "get the plugin" jpg. Clicking on this does nothing.
So, I used the "Package Project" button to create a package and ran the install and tried clicking on the installed directory sample.html with the same results. (just guessing here, w/o docs).
I see the IEWebGamePlugin.dll which does not appear to be recognized in the sample.html when running. I tried to register the DLL manually but cannot with error "application configuration is incorrect". I also see a NPWebGamePlugin.dll (not sure if this is needed or not).
Using IE 8
Does the "Play in Web" option work ?
So, I used the "Package Project" button to create a package and ran the install and tried clicking on the installed directory sample.html with the same results. (just guessing here, w/o docs).
I see the IEWebGamePlugin.dll which does not appear to be recognized in the sample.html when running. I tried to register the DLL manually but cannot with error "application configuration is incorrect". I also see a NPWebGamePlugin.dll (not sure if this is needed or not).
Using IE 8
Does the "Play in Web" option work ?
#2
05/02/2009 (8:09 am)
NP*.dll is the netscape plugin (Firefox and such)
#3
05/02/2009 (8:29 am)
Just downloaded FireFox, and yes - works fine. Not sure whats up with IE 8....
#5
This is the primary reason that the IE 32 bit browser is still the default on Windows... and why the 64 bit browser actually has an "ignore all add-ons" option :/
We will support 64 bit IE, no timeline quite yet on that...

Thanks for the report!
05/02/2009 (10:40 am)
I've added a check for the 64 bit versions of IE to the sample web page. Unfortunately, like most plugins (including Flash) it isn't currently compatible with the 64 bit IE browser.This is the primary reason that the IE 32 bit browser is still the default on Windows... and why the 64 bit browser actually has an "ignore all add-ons" option :/
We will support 64 bit IE, no timeline quite yet on that...

Thanks for the report!
#6
05/02/2009 (11:34 am)
I have Firefox but Its not working on mine. It searches for a Firefox can't find the file at /C:/Torque/Torque 3D 2009 Beta 1/Genre Kits/FPS Genre Kit/game/web/MyGameInstaller.exe. which I don't have. It opens up the Firefox browser showing the plug in Is not Installed.
#7
05/02/2009 (11:36 am)
You are using the "Play in Web" button from the toolbox correct?
#8
05/02/2009 (11:40 am)
Yes.
#9
05/02/2009 (12:10 pm)
I don't use IE, but works well in Firefox and Chrome here.
#10
05/02/2009 (12:32 pm)
The OS is XP (not the 64bit version) so its whatever M$ just pushed as an update (can 32bit OS even run 64 bit version?) - I didn't realize there was a 64 bit version, the about option does not indicate 64 bit....
#11
Could you try and install the VS2008 redistributable and see if that helps?
http://www.microsoft.com/downloads/details.aspx?FamilyID=a5c84275-3b97-4ab7-a40d...
05/02/2009 (12:36 pm)
It runs here under XP on IE8 32 bit. It is possible that this has to do with the VS/ATL runtimes being dynamically linked to the plugin in Beta 1. I have changed them to static linking for Beta 2...Could you try and install the VS2008 redistributable and see if that helps?
http://www.microsoft.com/downloads/details.aspx?FamilyID=a5c84275-3b97-4ab7-a40d...
#12
( I am now right-clicking on the sample.html and opening with IE, not using the "Play in Web" button since this is now opening in FireFox).
I'm getting the following javascript error when the page opens in IE:
Message: 'null' is null or not an object
Line: 80
Char: 6
Code: 0
URI: file:///G:/T3D/FPS%20Genre%20Kit%20Web/web/sample.html
The T3D directory is where I installed the "package".
Do I need to re-create the package ?
05/02/2009 (12:58 pm)
Installed the VS2008 redist, same results...( I am now right-clicking on the sample.html and opening with IE, not using the "Play in Web" button since this is now opening in FireFox).
I'm getting the following javascript error when the page opens in IE:
Message: 'null' is null or not an object
Line: 80
Char: 6
Code: 0
URI: file:///G:/T3D/FPS%20Genre%20Kit%20Web/web/sample.html
The T3D directory is where I installed the "package".
Do I need to re-create the package ?
#13
Try opening in IE after clicking "Play in Web"... Though, make sure to exit Firefox first :)
That "null" javascript error is due to the plugin not loading...
Thanks!
- Josh
05/02/2009 (1:05 pm)
If you haven't, please try clicking on "Play in Web" now that the VS2008 redist package is installed. The toolbox registers the plugin with the system when you do this for development purposes. It registers for both Firefox/Chrome and IE regardless of default browser.Try opening in IE after clicking "Play in Web"... Though, make sure to exit Firefox first :)
That "null" javascript error is due to the plugin not loading...
Thanks!
- Josh
#14
(I exited from all browsers)
I did re-package and re-installed that package and when I right clicked and opened with IE it prompted me to install the Active-X control and then it opened the FPS demo.
- reset file assoc so html opens in IE and the "Play in Web" button is working with IE.
Interesting - I do have VS2008 dev environment installed, wouldn't that have included what I just installed ?
Thanks for the help!
05/02/2009 (1:19 pm)
"play in web" now only opens in FireFox (file associations?).(I exited from all browsers)
I did re-package and re-installed that package and when I right clicked and opened with IE it prompted me to install the Active-X control and then it opened the FPS demo.
- reset file assoc so html opens in IE and the "Play in Web" button is working with IE.
Interesting - I do have VS2008 dev environment installed, wouldn't that have included what I just installed ?
Thanks for the help!
#15
This shouldn't be an issue with Beta 2 as it is now statically linking the included binaries, thanks for reporting it.
Do you have VS2008 SP1 installed? If not, that might be the cause... and I would highly recommend installing the update as it fixes some nasty bugs with VS2008's initial release.
05/02/2009 (1:22 pm)
Great :) This shouldn't be an issue with Beta 2 as it is now statically linking the included binaries, thanks for reporting it.
Do you have VS2008 SP1 installed? If not, that might be the cause... and I would highly recommend installing the update as it fixes some nasty bugs with VS2008's initial release.
#16
05/05/2009 (2:49 pm)
Bummer how none of thee above fixed my problem with web deployment. I will just wait for beta 2.
#17
05/05/2009 (2:59 pm)
Jay, turn off UAC and try it again... assuming you have UAC enabled and are running Vista.
#18
05/05/2009 (3:19 pm)
I found it works with Firefox 3 but not Firefox 2.
#19
05/05/2009 (5:50 pm)
Yeah I do have Vista. I will try that, thanks.
#20
05/05/2009 (6:01 pm)
It works! Is It really necessary to have UAC on? I always had It on to avoid that annoying security center notification.
Torque 3D Owner Andreas Johansen