Author Topic: Cache is working incorrectly **SOLVED**  (Read 1385 times)

inbetween

  • Newbie
  • *
  • Posts: 6
Cache is working incorrectly **SOLVED**
« on: November 11, 2019, 10:03:57 pm »
Hi,

I am having an issue with addon sceneries not being cached properly, I get the error "Could not find valid AFCAD data at this position, services are not available".

Everytime I refresh the cache, the cached scenery.cfg file in the roaming Virtuali folder creates entries like this :

[Area.113]
Title=Flightbeam - KIAD scenery
Local=E:\Prepar3D v4\Flightbeam\Flightbeam - KIAD\scenery\scenery
Layer=114
Active=TRUE

Diagnostics log:

IGNORING "E:\Prepar3D v4\Flightbeam\Flightbeam - KIAD\scenery\scenery" (layer 114): directory not found

[Area.116]
Title=FlyTampa-Las Vegas
Local=E:\Prepar3D v4\FlyTampa\LasVegas\scenery\scenery
Layer=117
Active=TRUE

Diagnostics log:

IGNORING "E:\Prepar3D v4\FlyTampa\LasVegas\scenery\scenery" (layer 117): directory not found

----

Obviously the extra \scenery is the problem but my scenery loads fine so it is like the caching system is adding it for no reason?

Here is a shortened version of how the xml looks in the sceneries xml files, clearly the caching is not working correctly?

<AddOn.Component>
    <Category>Scenery</Category>
    <Path>E:\Prepar3D v4\Flightbeam\Flightbeam - KIAD\scenery</Path>
    <Name>Flightbeam - KIAD scenery</Name>
    <Layer>194</Layer>
  </AddOn.Component>

<AddOn.Component>
    <Category>Scenery</Category>
    <Path>scenery</Path>
    <Name>FlyTampa-Las Vegas</Name>
    <Layer>201</Layer>
  </AddOn.Component>


I have worked out I can use GSX but I have to manually change the cache scenery.cfg everytime it rebuilds which is a pain!
« Last Edit: November 12, 2019, 02:01:20 am by virtuali »

inbetween

  • Newbie
  • *
  • Posts: 6
Re: Cache is working incorrectly
« Reply #1 on: November 11, 2019, 10:20:23 pm »
I tried the old scenery.cfg method and it now works!

I also saw the recent patch notes for FSDT so I'm guessing FlightBeam/FlyTampa sceneries also need the same fix.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50875
    • VIRTUALI Sagl
Re: Cache is working incorrectly
« Reply #2 on: November 12, 2019, 02:01:12 am »
Fixed in the current Live Update.