.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

The Falklands War: 1982- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old May 27th, 2004, 02:31 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: Othaglot and Cane - Story Thread

After looking at the source I'd say the first thing you have to do is provide proper references for the source files. ../general_functions.js is not gonna cut it with any decent security model. Give the full http: URL for the files. I still can't even load your fancy menu in Mozilla and I suspect that's why. Once I can actually load it we'll see if it works.
Reply With Quote
  #2  
Old May 27th, 2004, 03:58 PM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: Othaglot and Cane - Story Thread

Quote:
After looking at the source I'd say the first thing you have to do is provide proper references for the source files. ../general_functions.js is not gonna cut it with any decent security model. Give the full http: URL for the files. I still can't even load your fancy menu in Mozilla and I suspect that's why. Once I can actually load it we'll see if it works.
If that's all it turns out to be I'll be well pissed off. Thanks for the advice though, I'll try it.

That's a bit crappy if it won't accept relative addresses- it will make code a hell of a lot less flexible and portable.

It will also require me making changes to over 150 files...

EDIT: Changed a few files (menu, first 6 chapters of )&C) and uploaded them- see if that makes a difference

[ May 27, 2004, 15:08: Message edited by: dogscoff ]
Reply With Quote
  #3  
Old May 27th, 2004, 05:53 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: Othaglot and Cane - Story Thread

I think that relative addresses will work inside the JS code. Where I don't think they work is in the HTML that tells the browser where to get the source. That's what I meant -- the source for the frames themselves. Why does the sci_fi.js file still have no URL reference? It's just a bald file name.

Edit:
BTW, the errors I got on the early Version with IE were 'permission' related. So that makes me think that your remaining problems could be with the stricter security of browsers like Mozilla.

[ May 27, 2004, 16:54: Message edited by: Baron Munchausen ]
Reply With Quote
  #4  
Old May 28th, 2004, 09:08 AM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: Othaglot and Cane - Story Thread

Quote:
Originally posted by Baron Munchausen:
I think that relative addresses will work inside the JS code.
Heh... that's one of the few places I *have* used full paths.

Quote:

Where I don't think they work is in the HTML that tells the browser where to get the source. That's what I meant -- the source for the frames themselves. Why does the sci_fi.js file still have no URL reference? It's just a bald file name.
Well... because it's in the same directory. I don't have to include full paths for every single .gif file I reference do I?

Quote:

Edit:
BTW, the errors I got on the early Version with IE were 'permission' related. So that makes me think that your remaining problems could be with the stricter security of browsers like Mozilla.
OK, well at least that gives me another angle of attack to this problem. Take the timestamp of this post and add ten minutes, and from then there will be a new Version to test. Thanks for all your help so far.
Reply With Quote
  #5  
Old May 28th, 2004, 09:22 AM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: Othaglot and Cane - Story Thread

Just had a thought... Does the Quote-o-matic work for you? I thought it did. It does in Opera anyway, which refuses the menus.

That uses the same javascript files as everything else, so if that works, the problem can't be that the files aren't getting read...
Reply With Quote
  #6  
Old May 28th, 2004, 10:57 AM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: Othaglot and Cane - Story Thread

OK, big leap forward, with the help of Opera's javascript console. The problem (as far as opera is concerned anyway) was that I was using
code:
createElement("<A>")

instead of
code:
createElement("A")

IE managed to work around this, but Opera lacked the imagination. Opera is now working fine. Does this improve matters with Mozilla etc?

[ May 28, 2004, 10:02: Message edited by: dogscoff ]
Reply With Quote
  #7  
Old May 28th, 2004, 04:23 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: Othaglot and Cane - Story Thread

Well, since the result hasn't changed here I would assume the reference thing wasn't the problem for Mozilla. But in the Mozilla Javascript Console (which I just discovered in the Last week or so) I'm getting a 'syntax error' for each js file. It seems to be some sort of 'comment' at the beginning of the file rather than the code.

< !DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

Is that the JS file or some other file on your server? When I click on it and get the details it looks like a 404 error page, because it says "The requested URL /fiction/general_functions.js was not found on this server." Weird.

Edit: What is especially weird is that I can load those files in seperate windows. No '404' error when you go for them directly. It looks like the problem might be something to do with the frames.

[ May 28, 2004, 15:26: Message edited by: Baron Munchausen ]
Reply With Quote
  #8  
Old September 21st, 2004, 08:02 PM
TerranC's Avatar

TerranC TerranC is offline
Brigadier General
 
Join Date: Dec 2001
Posts: 1,859
Thanks: 0
Thanked 0 Times in 0 Posts
TerranC is on a distinguished road
Default Re: Othaglot and Cane - Story Thread

A new chapter! A new chapter! Look, everyone, a new chapter!

*TerranC goes crazy from the excitement of seeing a new OnC chapter*
__________________
A* E* Se++ GdQ $ Fr! C Csc Sf+ Ai- M Mp* S++ Ss- R! Pw Fq Nd Rp+ G++ Mm+ Bb++ Tcp+ L Au

Download Sev Today! --- Download BOB and SOCk today too! --- Thanks to Fyron and Trooper for hosting.

Reply With Quote
  #9  
Old September 21st, 2004, 09:31 PM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: Othaglot and Cane - Story Thread

Quote:
TerranC said:
A new chapter! A new chapter! Look, everyone, a new chapter!

*TerranC goes crazy from the excitement of seeing a new OnC chapter*
/me watches TC move over one inch.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #10  
Old September 22nd, 2004, 05:47 AM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: Othaglot and Cane - Story Thread

Quote:

Even with a format and fresh install of everything, IE 6 only gets as far as the Title, but there, all the purple chapter links are broken.

I developped the site in IE6. It works fine. Remember you have to have javascript switched on to view the site. go to tools/options/advanced and make sure the JIT compiler is switched on. If it's switched on already, go to the site and look in the bottom right corner. There will be an icon to tell you what "internet zone" IE has put my site into. Then go to tools/options/security and move my site out of that zone and into a friendlier one. If that still doesn't fix it, install firefox and stop using IE. IE do suck.

Quote:

Now, when do Cane's new plans collide with Othaglot's under-cover operation?

Ohhh, give it about 3 chapters...

Quote:

The site works fine with Mozilla 1.7.x btw...

Yes it does. Firefox too, and Opera, and IE6.

Quote:

A new chapter! A new chapter! Look, everyone, a new chapter!

*TerranC goes crazy from the excitement of seeing a new OnC chapter*

:-D Thought I'd try to sneak it out there, thanks for noticing...

Quote:

/me watches TC move over one inch.

LOL! I'm sure I don't know what you're talking about Narf. </sarcasm>
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:19 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.