vradarserver / vrs

A .NET web server that can plot the positions of aircraft on a map
http://www.virtualradarserver.co.uk/
Other
267 stars 50 forks source link

LocalAircraft file not working properly #81

Closed BallerG closed 1 year ago

BallerG commented 1 year ago

So I have a LocalAircraft .txt file which forces military aircraft such as 2-reg over to civil etc but on V3 I'm having issues getting it to work

Untitled Screenshot 2022-09-09 at 15-46-20 Virtual Radar (70) Untitled1

Do I need to do something different for V3?

rikgale commented 1 year ago

You either need to wait for the StandingData update which runs over night, or restart VRS.

Also selfless plug with instructions https://github.com/rikgale/LocalAircraft

BallerG commented 1 year ago

I have done both re waiting for the overnight update and a manual restart but neither have worked.

Regarding the guide, that is exactly how I have the file named from Version 2.4.4

rikgale commented 1 year ago

They only thing I can suggest is trying a different LocalAircraft.txt and see if that works.

vradarserver commented 1 year ago

A bug had been introduced recently in the parsing of LocalAircraft.txt for v3. The unit tests already showed the bug, but I hadn't run the unit tests so that didn't help. Sorry about that! I've checked in the fix and it should appear in the next preview.

There is a larger problem in that the Guernsey registry's block post-dates the code blocks that VRS is using, it's entirely unaware of it and because it came out of a block that had previously been military you end up with all Guernsey registrations being shown as UK military.

I need to update the code blocks, but for that I'll need to find a source of them. I don't think the original source is still being updated.

vradarserver commented 1 year ago

Fixed in commit d2e0f13

BallerG commented 1 year ago

Thanks for the reply Andrew. I shall keep an eye out for the next release.

On Fri, 9 Sept 2022, 22:45 Andrew Whewell, @.***> wrote:

A bug had been introduced recently in the parsing of LocalAircraft.txt for v3. The unit tests already showed the bug, but I hadn't run the unit tests so that didn't help. Sorry about that! I've checked in the fix and it should appear in the next preview.

There is a larger problem in that the Guernsey registry's block post-dates the code blocks that VRS is using, it's entirely unaware of it and because it came out of a block that had previously been military you end up with all Guernsey registrations being shown as UK military.

I need to update the code blocks, but for that I'll need to find a source of them. I don't think the original source is still being updated.

— Reply to this email directly, view it on GitHub https://github.com/vradarserver/vrs/issues/81#issuecomment-1242505057, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMEVKRUCQQS4LOXFF2AEODV5OVWPANCNFSM6AAAAAAQIX6PPA . You are receiving this because you authored the thread.Message ID: @.***>