Jump to content
The Dark Mod Forums

New Missions list not updating


Diego

Recommended Posts

Hi there,

 

I have just downloaded the Lord Dufford mission into the fms folder, as I always do, but the New Mission menu doesn't show it. What could be wrong?

 

I have the impression the menu is "full", but there probably is a scroll bar of some sort to show more missions, right?

Link to comment
Share on other sites

Hmmm! I just renamed the extension to zip, to inspect the file, and I got the message "unexpected end of archive". I'll try downloading it again.

 

Edit: Yep! That did the trick! :)

Edited by Diego
Link to comment
Share on other sites

Hmmm! I just renamed the extension to zip, to inspect the file, and I got the message "unexpected end of archive". I'll try downloading it again.

 

Edit: Yep! That did the trick! :)

 

I also had that problem with the .pk4 link in stumpy's post. I got a working copy from one of the mirror links posted below it.

Intel Sandy Bridge i7 2600K @ 3.4ghz stock clocks
8gb Kingston 1600mhz CL8 XMP RAM stock frequency
Sapphire Radeon HD7870 2GB FLeX GHz Edition @ stock @ 1920x1080

Link to comment
Share on other sites

There's a bug in firefox in that it will download half a file then quit downloading saying download is complete when its not, seems to happen when traffic is high, some type of timeout or too many connections bug, apparently the best browser for downloading files is internet explorer browser versions 8 and up, as it doesn't bug out halfway through.

 

I uploaded dufford.pk4 and dufford.rar via a ftp program then downloaded them normally to check for problems, before I posted the links to the files. My isp says there's no problems at their end, but they connect to europe and the rest of the world via the talia servers which have been know to cause problems by dropping packets.

Link to comment
Share on other sites

someone was having problems with downloading via firefox, as in it was opening the file in firefox and not downloading it. internet explorer still adds the .zip extension even on rars, you end up with file.rar.zip am guessing as microsoft make hiding extension not viewable as a default, and therefore thinks no one will turn viewing extensions back on and internet explorer justs adds the .zip to compensate for extension not viewable, without checking to see if they are viewable.

Link to comment
Share on other sites

I've occasionally had problems with Opera displaying a file instead of saving. I don't see why these web browsers don't just leave the suffix alone, offer save/open as default and only display file types that are defined in the browser. Seems simple enough.

Link to comment
Share on other sites

Because they are meant to trust mime types, all browsers will display rars and sometimes zips incorrectly if the server has not been configured correctly. Essentially if nothing is specified or its a more or less default the browser will either try to filter it to a known client type, if none are hit it will try render it or in the case of IE it tries to guess the type based on some basic patterns which leads to much trouble. FTP often confuses browsers as they start off trying to filter. Chrome does something similar to IE but it seems it uses even more magic numbers :/

 

So in essence all of this can be avoided simply by using your server to specify the mime type. All of the people hosting missions for TDM should do this just to reduce peoples issues, if we can get 'official' mirrors corrected then I think this problem will fade away.

 

To do this :

If you are running apache and have admin:

  • Edit the file "mime.types"
  • Add a line for pk4s like this :
    application/pak4             pk4


 

If you're running apache and dont have admin:

  • Go to your base website directory
  • if there is a file called .htaccess edit that, if there isnt make one
  • add the line:

AddType application/pak4             pk4

 

If you are running lighttpd and have admin:

  • in lighttpd.conf find the mimetype.assign block and edit it to reflect the following

mimetype.assign = (
".pk4" => "application/pak4",
[...]
)

 

After doing this, remember to restart apache/lighttpd or whatever you can to refresh the config.

 

And if you're using IIS or something equally terrible... well I dont know :P

 

application/pak4 should work fine, tho it isnt 100% correct to do it like that... but if its going to let people play fms easier, so be it.

Link to comment
Share on other sites

OK, thanks. I'll check out fidcal.com later today.

 

It still seems to me that if any web browser does not know what a file is and it is not specified on the server then they should by default just offer to save or open. Or are we saying there are a lot of file types which can be 'processed' by the browser and it would make web-browsing less smooth if it had to keep stopping to ask?

Link to comment
Share on other sites

application/pak4 should work fine, tho it isnt 100% correct to do it like that... but if its going to let people play fms easier, so be it.

 

Don't just invent new mime-types, use the correct ones. Either "application/octet-stream" (which will always make the browser prompt the user for "where to save the file") or use "application/zip".

 

Inventing new mime-types just asks for trouble.

 

Edit: Just noticed that bloodgate was delivering PK4s as text/plain - fixed it now to application/octet-stream which should help IE users. Sorry for overlooking this.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

OK, thanks. I'll check out fidcal.com later today.

 

It still seems to me that if any web browser does not know what a file is and it is not specified on the server then they should by default just offer to save or open. Or are we saying there are a lot of file types which can be 'processed' by the browser and it would make web-browsing less smooth if it had to keep stopping to ask?

 

That's pretty much the idea. Unfortunately, browser makers usually opt to the "make it magically happen" instead of the "what could possible go wrong and how do we make sure it doesn't go wrong" security-mindset. Hence the "mime-type guessing" game and all the problems that result from it.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Don't just invent new mime-types, use the correct ones. Either "application/octet-stream" (which will always make the browser prompt the user for "where to save the file") or use "application/zip".

 

Inventing new mime-types just asks for trouble.

 

Edit: Just noticed that bloodgate was delivering PK4s as text/plain - fixed it now to application/octet-stream which should help IE users. Sorry for overlooking this.

 

Yeah I know, the post used to actually refer to "application/zip", however some webkit based browsers try to do ~magical~ things when they see zip files (getting previews and such I guess) so I just wanted to make sure :)

Link to comment
Share on other sites

Yeah I know, the post used to actually refer to "application/zip", however some webkit based browsers try to do ~magical~ things when they see zip files (getting previews and such I guess) so I just wanted to make sure :)

 

Ah, yeah, I also had a hunch that using "application/zip" is bad - I think under linux it asks you to "do you want to open this with ark" - which is not helpful.

 

However, inventing mime-types is still bad practice :) Anyway, hopefully bloodgate.com is fixed now.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 2 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...