Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thargoid value not found in LegalState #17

Closed
Somfic opened this issue Jan 26, 2024 Discussed in #16 · 1 comment
Closed

Thargoid value not found in LegalState #17

Somfic opened this issue Jan 26, 2024 Discussed in #16 · 1 comment
Labels
bug Something isn't working

Comments

@Somfic
Copy link
Owner

Somfic commented Jan 26, 2024

Discussed in #16

Originally posted by ZakolkaTV January 26, 2024
I use the EliteVA plugin in Voice attack and write voice control. I found such a problem.

When I fly into a combat zone with targoids, EliteVA issues an error and then stops working. To remove the error, I need to delete all the elite log files. I think EliteVA is trying to check the legal status of the targoid and cannot do it. But can Targoids have a legal status? I really hope that you can help solve this problem or fix the error, if there is one.

Error from the EliteVA logs:
2024/01/26 20:45:47.372 EliteAPI.Events.Events Could not invoke event from JSON
Json serialization: Error converting value "Thargoid" to type 'EliteAPI.Events.Status.Ship.LegalState'. Path 'LegalState', line 1, position 231.
{"JSON":"{ "timestamp":"2024-01-26T17:45:44Z", "event":"Status", "Flags":20971536, "Flags2":0, "Pips":[4,4,4], "FireGroup":0, "GuiFocus":0, "Fuel":{ "FuelMain":31.987114, "FuelReservoir":0.543873 }, "Cargo":0.000000, "LegalState":"Thargoid", "Balance":6141515863 }\r\n","File":"C:\Users\aldom\Saved Games\Frontier Developments\Elite Dangerous\Status.json"}
Argument: Requested value 'Thargoid' was not found.

@Somfic Somfic changed the title EliteVA errors Thargoid value not found in LegalState Jan 26, 2024
@Somfic Somfic added the bug Something isn't working label Jan 26, 2024
@Somfic
Copy link
Owner Author

Somfic commented Jan 27, 2024

Should be fixed in v0.4.2.

@Somfic Somfic closed this as completed Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant