Jump to content


Photo
- - - - -
Under Review

FastDL Automatic Map Download



  • Please log in to reply
1 reply to this topic

#1 Lilith

Lilith

    Member

  • Members
  • PipPip
  • 25 posts

Posted 16 May 2014 - 04:18 AM

I noticed earlier that it ALWAYS uses downloads.tf2center.com as the link.

 

 

A simpler explanation:

Lobby Create -> Check downloads.tf2center.com for map file -> If exists, do nothing. If not, do -> Get sv_downloadurl from the server -> Create a request for sv_downloadurl + /maps/<map name>.bsp.bz2 or sv_downloadurl + /maps/<map name>.bsp, If either exists download to downloads.tf2center.com after verifying it is a valid bsp file (by reading the BSP header and map name from within)



#2 Foxy

Foxy

    former dev

  • Members
  • PipPipPip
  • 995 posts

Steam Profile

Posted 29 May 2014 - 10:05 PM

We only set download url if it's not already set on the server. But we do need a way to keep the download server up to date with maps (currently I just grabbed all the ones I could find from various other places such as fakkelbrigade). 

 

I might get round to whipping up something minging in PHP to solve this as you suggested, i'm not sure how often this problem comes up in general though (to prioritise accordingly)?







Also tagged with one or more of these keywords: Under Review