How to: configure web pluggin and where to find...?
by Mike Rowley · in Torque 3D Professional · 10/04/2009 (3:29 pm) · 12 replies
I have been trying to publish to the web using the toolbox in t3d 1.0, but am not finding how to configure it properly, nor where to find the exe I need.
Here is my test
It's looking for MyGameInstaller.exe yet there is none to find. Where would I find it, and how do I change the name? (I've reset all the settings in the tool box with my games name)
Anyone able to get this to work willing to give me a basic tutorial?
Here is my test
It's looking for MyGameInstaller.exe yet there is none to find. Where would I find it, and how do I change the name? (I've reset all the settings in the tool box with my games name)
Anyone able to get this to work willing to give me a basic tutorial?
#2
I think I remember it tho, so we shall see. :-O
Thanks for putting it up tho. :-) (sorry I didn't say anything before. I was running thru on my way to work)
10/10/2009 (10:10 pm)
OmegaDog, did you edit your post? I was going to watch the video again to see if I could get this to work.I think I remember it tho, so we shall see. :-O
Thanks for putting it up tho. :-) (sorry I didn't say anything before. I was running thru on my way to work)
#3
Hope this helps.
Screenr Tut(Sorry No Audio)
Protect you Game:
Josh Engebretson 5/5/09
Also, as with any web technology being deployed, you should probably enforce some of the included security:
Have a look in your project's My ProjectsWebTestwebsourcecommonwebConfig.h
You should enable the #define WEBDEPLOY_DOMAIN_CHECK and then add your domain to the Allowed Domains array... this will make it so your plugin will only run from your domain.
Mine:
10/10/2009 (10:40 pm)
Figured it was not what you were looking for. So I removed it so other people might chime in. :)Hope this helps.
Screenr Tut(Sorry No Audio)
Protect you Game:
Josh Engebretson 5/5/09
Also, as with any web technology being deployed, you should probably enforce some of the included security:
Have a look in your project's My ProjectsWebTestwebsourcecommonwebConfig.h
You should enable the #define WEBDEPLOY_DOMAIN_CHECK and then add your domain to the Allowed Domains array... this will make it so your plugin will only run from your domain.
Mine:
#define WEBDEPLOY_DOMAIN_CHECK
//#define WEBDEPLOY_DOMAIN_ALLOW_DEBUG
const char* gAllowedDomains[] = {
"www.bitslap.me",
//"games.myotherdomain.com",
0 //SENTINEL
};
#4
Thankyou for the tutorial. It was great.
10/11/2009 (12:09 am)
Thanks for that. I have still messed up somewhere. I have 2 fatal errors. I'll check them out tomorrow.Thankyou for the tutorial. It was great.
#5
If the users add '127.0.0.1 mydomain.com' or set other IP to my domain in the host file, the security by checking the domain will not work as expected.
Thanks!
10/11/2009 (5:53 am)
@OmegaDog, is there any other security feature integrated in the game?If the users add '127.0.0.1 mydomain.com' or set other IP to my domain in the host file, the security by checking the domain will not work as expected.
Thanks!
#6
I'm not sure if it matters since the game can be distributed and played locally once someone downloads it, looks like the domain check only kick in when its launch from a web browser.
10/11/2009 (6:12 am)
Built-in S.O.S. [GGA]Josh!I'm not sure if it matters since the game can be distributed and played locally once someone downloads it, looks like the domain check only kick in when its launch from a web browser.
#7
I put it up online, I get the downoad, it installs, but that's all it does. I cannot play the game in the browser. It just keeps asking me to download the pluggin. Do I need to manually move a dll to my browsers folder for it to work?
10/11/2009 (1:12 pm)
OmegaDog, Thankyou for the tutorial. That got me compiled (for the most part) and everything packaged up. I put it up online, I get the downoad, it installs, but that's all it does. I cannot play the game in the browser. It just keeps asking me to download the pluggin. Do I need to manually move a dll to my browsers folder for it to work?
#8
10/11/2009 (1:40 pm)
it should install there automatically if you installed the right one for your browser and your browser is allowed to execute unsigned activex at all
#9
10/11/2009 (2:15 pm)
I just checked. The pluggin is in the game folder, but not in the browsers pluggins folder. Copying it to the pluggins folder didn't work eather.
#10
10/11/2009 (7:28 pm)
I finally, Finally, got Torque 3D to compile without error. Yayy. My web pluggin still wont work. It downloads and installs, but when the window reopens, it's still the download image and link. Is there something else I'm missing?
#11
---------------------------
Error
---------------------------
This plugin cannot be executed from the domain specified
---------------------------
OK
---------------------------
So it launching in FF CR SF the IE woes its been reported but I cant seem to reproduce on my end.
Lets list the Steps:
With the ToolBox open and your project selected click PACKAGE PROJECT button.
1) Check the box I have changed the source code
2) De-check Installer and Zip boxes if checked
3) Check the Web Box
4) Click Configure button for Web
5) Fill out the Genereal Infomation for your product
6) Fill out FireFox/Chrome/Safari, Needs to be unique from any other project
7) Click the Generate UUID button
8) Click Save to File button
9) Click Generate Source Project
10) Click Open Source Project
11) Compile without errors
12) Click Close
13) Click Build
14) Click Open Folder
15) Browse you project
16) Copy all these file to your web dirctory these files are linked so they must all be from the same build.
Should work :(
You can send me a link to download your build and I will do the steps it maybe somthing I have installed Im curious if it still fails when I build the project.
10/11/2009 (8:15 pm)
UID for IE does not match, FF CHROME SF work easier your url does not match though, what did you put in gAllowedDomains[] it says its not mathcing http://3dcentral.net/downloads/torque/web/---------------------------
Error
---------------------------
This plugin cannot be executed from the domain specified
---------------------------
OK
---------------------------
So it launching in FF CR SF the IE woes its been reported but I cant seem to reproduce on my end.
Lets list the Steps:
With the ToolBox open and your project selected click PACKAGE PROJECT button.
1) Check the box I have changed the source code
2) De-check Installer and Zip boxes if checked
3) Check the Web Box
4) Click Configure button for Web
5) Fill out the Genereal Infomation for your product
6) Fill out FireFox/Chrome/Safari, Needs to be unique from any other project
7) Click the Generate UUID button
8) Click Save to File button
9) Click Generate Source Project
10) Click Open Source Project
11) Compile without errors
12) Click Close
13) Click Build
14) Click Open Folder
15) Browse you project
16) Copy all these file to your web dirctory these files are linked so they must all be from the same build.
Should work :(
You can send me a link to download your build and I will do the steps it maybe somthing I have installed Im curious if it still fails when I build the project.
#12
I have:
Everything else I had done as you explained above.
Thankyou for checking.
10/11/2009 (9:46 pm)
Quote:UID for IE does not match, FF CHROME SF work easier your url does not match though, what did you put in gAllowedDomains[] it says its not mathcing http://3dcentral.net/downloads/torque/web/So it has to point to the direct folder?
I have:
const char* gAllowedDomains[] = {
"www.3dcentral.net",
//"games.myotherdomain.com",
0 //SENTINELI thought that would work. I'll change it to a direct link then.Everything else I had done as you explained above.
Thankyou for checking.
Associate OmegaDog