Giter Club home page Giter Club logo

somfic / eliteva Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 2.0 28.01 MB

⚙️ VoiceAttack plugin for Elite: Dangerous. Use in-game events, variables and keybindings in your VoiceAttack macros!

Home Page: https://docs.somfic.dev/projects/eliteva

License: MIT License

C# 82.89% Batchfile 0.90% PowerShell 1.31% HTML 0.25% Svelte 4.12% TypeScript 0.18% SCSS 0.99% JavaScript 0.49% Rust 8.87%
elite-dangerous elitedangerous voice-attack voiceattack voiceattack-plugin

eliteva's Issues

CSV importing

CVS > JSON > Paths > VA. For importing Spansh generated routes

Check if EliteVA is available?

Greetings,

Is there a variable I can test in VA to see if EliteVA is up and running?

Something like EliteVA.Version which if not set then either EliteVA isn't installed or it's still starting up.

Installer

Make a setup installed for a one-click install experience, perhaps with Rust?

((EliteAPI.HeatWarning)) seems identical to ((EliteAPI.Status.Overheating))

Hi,

either event fires for me once heat reaches 100% so apparently they do the same job. I would have expected that HeatWarning fires at 80% (where the ingame COVAS says 'warning' as well).

According to the journal.txt it did not fire when I raised temperature above 80% but kept it below 100%:

HeatWarning

{TXT:EliteAPI.HeatWarning.event}: HeatWarning
{DATE:EliteAPI.HeatWarning.timestamp}: 08.09.2023 17:57:36

Plugin fails to start if EDDI also installed

Greetings,

The plugin fails to start with the following error being logged;

{
  "ClassName": "System.MissingMethodException",
  "Message": "Method not found: 'Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.OptionsServiceCollectionExtensions.AddOptions(Microsoft.Extensions.DependencyInjection.IServiceCollection)'.",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions.AddLogging(IServiceCollection services, Action`1 configure)\r\n   at Microsoft.Extensions.Hosting.HostBuilder.InitializeServiceProvider()\r\n   at Microsoft.Extensions.Hosting.HostBuilder.Build()\r\n   at EliteVA.VoiceAttack.Initialize(Object vaProxy) in D:\\a\\EliteVA\\EliteVA\\VoiceAttack.cs:line 65\r\n   at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)\r\n   at EliteVA.VoiceAttack.VA_Init1(Object vaProxy) in D:\\a\\EliteVA\\EliteVA\\VoiceAttack.cs:line 38",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": "8\nAddLogging\nMicrosoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60\nMicrosoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions\nMicrosoft.Extensions.DependencyInjection.IServiceCollection AddLogging(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Action`1[Microsoft.Extensions.Logging.ILoggingBuilder])",
  "HResult": -2146233069,
  "Source": "Microsoft.Extensions.Logging",
  "WatsonBuckets": null,
  "MMClassName": null,
  "MMMemberName": null,
  "MMSignature": null
}

Are the two plugins ever likely to play nice together when both are installed?

Thargoid value not found in LegalState

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.

MissingBinds.txt

File that includes a list of keybindings that have not been assigned to a Keyboard key in-game.

Warning while parsing decimals with exponents

⚠️2023/08/10 19:10:04.034 EliteVA.Plugin Could not set variable ScanBaryCentre.SemiMajorAxis to 5.228575E+09
Format: Input string was not in a correct format.
1: at EliteVA.Plugin.InvokePaths(ICollection`1 paths, EventContext c, String eventName) in D:\a\EliteVA\EliteVA\EliteVA.cs:line 258
2: at EliteVA.Proxy.Variables.VoiceAttackVariables.Set(String category, String name, Object value, JTokenType code) in D:\a\EliteVA\EliteVA\Proxy\Variables\VoiceAttackVariables.cs:line 117
3: at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt)
4: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

Renaming carrier seems to break EliteVA

Hi,

I already begin to love EliteVA! Been playing around with it today and making good progress. However, after renaming the carrier statuses are no longer detected in game and do not seem to fire. I noticed this in the VoiceAttack main GUI:

7:31:12.147 Plugin 'EliteVA' initialized.
7:31:12.146 EliteVA: Could not start EliteAPI
The CarrierNameChange event is not registered
7:31:12.132 EliteVA: Could not invoke event from JSON
The CarrierNameChange event is not registered
7:31:12.119 EliteVA: The CarrierNameChange event is not registered
7:31:07.718 EliteVA: Processing Journal.2023-09-08T164749.01.log
7:31:07.517 EliteVA: Starting EliteAPI v3.0.12.0
7:31:07.512 EliteVA: Running in raw event mode
7:31:06.883 Starting EliteVA v0.3.0.0
7:31:06.588 Plugin 'HCS Plugin v3.9.0 - (c) 2016-2023 HCS VoicePacks Ltd' initialized.
7:31:05.840 Plugin support enabled.

Wiki?

If time allows, I think it would be cool to add a wiki that goes over the variables and how they work, just something like "xBool is set to true when y and is set to false when z"

Any examples as well as event list available?

Hi,

I stumbled across this project when trying to set up my own little voice pack and wondered if there is anything that can react to ingame events.

Sadly, the documentation on this is extremely brief and more or less Chinese to me. From some EDDI google examples apparently I have to set a command and put in ((EliteAPI.Ship.Gear)) into the first field "when I say", then uncheck that same field. I added an action to play an mp3. Yet nothing happens when triggering the landing gear. How do you create commands that react to those events?

Also, is EliteAPI required?

And is there a list of events available somewhere?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.