3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: Your compiled projects in a webpage issues...  (Read 5083 times)

« on: June 05, 2009, 08:47:31 AM »
Okay, thought I'd try this - I've looked at the other posts about OSA problems and I've checked my stuff, but when I try it I get everything okay (html page, ask for OSA installation, etc) but then the loading bar just sits there and nothing is loading.

Now this is probably a really dumb question, but don't the resources have to be in the same folder?  When it's complied all I get are the htm, html and osa file.

So am I missing a step - does it have to be complied first to get the resources, etc. and what would need to be on the server besides those 3 files?

Thanks!

Update:  I copied over everything anyway and it still just sits at the loading screen with nothing on the progress bar, so I don't have a clue what could be the problem.  I can get the Stunt Plane demo, but not mine :(

« Last Edit: June 06, 2009, 03:32:59 AM by 3D Rad Developer - Fernando »
« Reply #1 on: June 05, 2009, 10:19:54 AM »
If project doesn't load (osakit progressbar not moving):

1. Make sure the .osa .cab and .exe are all in the same folder.
2. Open the .php file in a editor and check

3. Find this part :
Code: [Select]
<a href="http://www.yourweb.com/OSAKitProPlayer.exe">Check that http://www.yourweb.com/OSAKitProPlayer.exe   works by passing it into the browser.

  if check fails, the .exe was not found and maybe you have the wrong path to it

4. Find this part :
Code: [Select]
<param name="FileToDownload" value="http://www.yourweb.com/osa-yourgame.osa">Check that http://www.yourweb.com/osa-yourgame.osa   works by passing in the browser.

  if check fails, the .osa was not found and maybe you have the wrong path to it or your web-server doen't like the .osa extension
  You could then try to rename to .osa .zip and update the .php to reflect the changes and retry.

5. Make sure the osa-yourgame.osa has the same name as the .php

If project loads but you get script error

1. Uninstall OSAKit Player Pro (using add/remove from control panel)
2. Restart browser and let the webpage install a new one.


If osakit progress bar loads, but you get a blank white bar and/or DirectX Failed To Initialize Error

If you get blank screen after load-bar (osakit load-bar) has completed and you see the game running in the background (task-manager shows the .exe running) -- but no rendering, or the "DirectX Failed To Initialize Error" -- (you get this if you hit the refresh a couple of times..)

Fix that worked for me was :

1. edit the .php  -- find :
Code: [Select]
<param name="CommandLineParameters" value="-embedded -uninstosakit -uninstfiles">then remove "-embedded" , save and re-run (if game is running w/o rendering you should kill it first)

« Last Edit: June 06, 2009, 05:39:22 AM by shadmar »
« Reply #2 on: June 05, 2009, 10:54:00 AM »
Okay...here's what I got:

Everything is in the same file folder.

The <a href line is okay

The "file to download" had the name of my file


Ummmm....how do I check the passing to browser?

Thanks!
« Reply #3 on: June 05, 2009, 12:44:21 PM »
Ummmm....how do I check the passing to browser?

Just copt paste the urls into the browser and hit enter, too se if it wants to download the files or not.
« Reply #4 on: June 05, 2009, 01:52:26 PM »
Aha!  It goes to a page that says it can't find the "http://www.yourweb.com/osa-yourgame.osa", but the .osa is in the directory the same as the url ???


« Reply #5 on: June 05, 2009, 02:01:24 PM »
This may indicate that your server, for some reason, hates files with uncommon extensions. You can try manually renaming the .osa to .zip, both on the server and in the .php files.
« Reply #6 on: June 05, 2009, 02:14:48 PM »
EEK!  It worked!  Oh my, how exciting!  Thanks Fernando and shadmar!  I never would have guessed in a 1000 years to change the file extention....guess the server is getting old  ;)

But do I still just need those 3 files?  Or do I have to copy over all the Rad regular complied files?
« Reply #7 on: June 05, 2009, 03:02:05 PM »
Ah nice :)
« Reply #8 on: June 05, 2009, 03:11:50 PM »
Ugh...new problem....
seems to want to run in a window...

After it loads in IE, the cursor jumps to the top of window and sits there, so I do a ctr-alt-delete to get the task window up to stop it, and as soon as I do that another window opens with rad program running....very weird

When I try it in Firefox, I get a different window that says to download the OSAKit player, then refresh the page.  It will download the OSAKit Player.exe file so it seems it want it installed manually ???
« Reply #9 on: June 05, 2009, 03:26:40 PM »
Sorry G4G, now I'm out of ideas...  ::)
« Reply #10 on: June 06, 2009, 03:46:53 AM »
Ugh...new problem....

Please feel free to post a link to your online project (or simple test project) so we can check it out for you.
« Reply #11 on: June 06, 2009, 05:50:51 AM »
Consolidated my post from the other topics.
« Reply #12 on: June 06, 2009, 09:26:45 AM »
I removed the "-embedded" from both the .php and .phpl files and it worked in IE - runs great now - but it still doesn't work in Firefox.

Here's a pix of the screen - if I download the file, install it and try again, I just get a blank screen.
« Reply #13 on: June 06, 2009, 11:56:09 AM »
1. Clean browser caches (everything)
2. Close all browsers
3. Try uinstalling osakit player from add/remove in control panel.
4. Look in C:\Users\<your username>\AppData\Local\Temp\OSAKit\
   Delete everything...

Retry.
« Reply #14 on: August 07, 2010, 09:23:03 AM »
I'm having the same problem as G4G but in reverse browsers, firefox works after starting task manger and crashes explorer! Arrrrh!!!

I've tried deleting embedded script from bot HTML & HTML and nothing changed.

The strange thing is it works fine when I open from my local drive... dose anyone have any other ideas on what might be causing this???

Ugh...new problem....
seems to want to run in a window...

After it loads in IE, the cursor jumps to the top of window and sits there, so I do a ctr-alt-delete to get the task window up to stop it, and as soon as I do that another window opens with rad program running....very weird

When I try it in Firefox, I get a different window that says to download the OSAKit player, then refresh the page.  It will download the OSAKit Player.exe file so it seems it want it installed manually ???
Pages: [1]