Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

Automatic Download


Ross Bristo 1010003
 Share

Recommended Posts

Ross Bristo 1010003
Posted
Posted

Hi All,

 

I've just set up some sector file provider files and have been testing them. Since i haven't released it yet I've been manually editing the main provider.txt to include my provider files for the purpose of testing.

 

I have one question, client side tho.

 

My .sct and .ese are called EGPX_v1.2 respectively and are packed up as per the wiki. However, if i update the files to v1.3 in the provider files, load the profile the files are used on and select to download the new files through the downloads section it doesn't override the old files, so the user would have to reload the new sector files manually...from my experience with other peoples auto downloads once a file is updated the profile it affects is updated so when the profile is opened again it contains the new files.

 

Sorry if it doesn't make much sense, I've been pulling my hair out over this and its no doubt a simple answer.

 

Thanks,

atc1o.png
Link to comment
Share on other sites

Todor Atanasov 878664
Posted
Posted

Can you show your main provider.txt with the added lines?

Link to comment
Share on other sites

Ross Bristo 1010003
Posted
Posted

This is the provider file:-

 

EuroScope Sector File Provider File

NAME:VATSIM-UK Sector File Provider
URL:http://www.solway-aviation-museum.co.uk/ross/VATSIM-UK_sector_files.txt
DOWNLOADINTERVAL:48

SECTOR_NAME:Scottish Control (EGPX)
SECTOR_FILE_NAME:EGPX
SECTOR_VERSION:1.4
SECTOR_URL:http://www.solway-aviation-museum.co.uk/ross/EGPX_V1.4.7za

 

Thanks,

atc1o.png
Link to comment
Share on other sites

Todor Atanasov 878664
Posted
Posted

First of all, you have to use the correct syntax for the SECTOR_VERSION, if you will use V1.4 in the url, be sure to use the same and in the SECTOR_VERSION.

Second, can you just confirm that in the 7za you have EGPX_V1.4.sct/sct2 and EGPX_V1.4.ese as typed?

This is the provider file:-

 

EuroScope Sector File Provider File

NAME:VATSIM-UK Sector File Provider
URL:http://www.solway-aviation-museum.co.uk/ross/VATSIM-UK_sector_files.txt
DOWNLOADINTERVAL:48

SECTOR_NAME:Scottish Control (EGPX)
SECTOR_FILE_NAME:EGPX
SECTOR_VERSION:1.4
SECTOR_URL:http://www.solway-aviation-museum.co.uk/ross/EGPX_V1.4.7za

 

Thanks,

Link to comment
Share on other sites

Ross Bristo 1010003
Posted
Posted

Todor,

 

Updating the sector version to match the URL works, thanks!

 

The 7.za was packed with the correct version of files.

 

Its all working, thank you.

 

 

However,

 

Currently, all the people who use my .ese and .sct are using a copy called egpx.ese/.sct ... is there any way to update them automatically? Or would i just need to instruct the users to download the new files through ES, delete the old file (egpx.ese/sct) and when they reload their profiles select the newly downloaded files as the active sector file for that profile, from then on the files should then update automatically through ES?

 

Thanks in advance.

atc1o.png
Link to comment
Share on other sites

Todor Atanasov 878664
Posted
Posted

I'm glad to help!

 

The new files will be downloaded automatically, but will not be loaded by ES. The users will have to manually delete the old files and load the new.

Link to comment
Share on other sites

Ross Bristo 1010003
Posted
Posted
I'm glad to help!

 

Someone's got to keep me right

 

Ok that makes sense...thanks

atc1o.png
Link to comment
Share on other sites

 Share