damonbrodie / ocellus Goto Github PK
View Code? Open in Web Editor NEWA voice assistant for Elite: Dangerous. Based on VoiceAttack
Home Page: http://ocellus.io
A voice assistant for Elite: Dangerous. Based on VoiceAttack
Home Page: http://ocellus.io
Currently only the US keyboard is properly supported with the keybindings. Should support all keyboards.
If you can help, email ([email protected]) your c:\users\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings\Custom1.8binds file as well as the key on your keyboard that is not supported.
Here is a sample that send app to EDDN
...
"softwareVersion": "0.96", "gatewayTimestamp": "2016-09-15T10:04:17.719525Z", "softwareName": "Ocellus - Elite: Dangerous Assistant"
...
"timestamp": "2016-09-15T14:4:7+04:00"
Zero's are missing
Current dll version is 1.0.0
I get this issue whenever I try to interact with the Frontier API.
Here's my debug log: debug.log
The error is:
6/5/2016 10:08 | ERROR: Unable to parse Companion API output Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot implicitly convert type 'System.Collections.ArrayList' to 'System.Collections.Generic.Dictionary<string,object>'
at CallSite.Target(Closure , CallSite , Object )
at Companion.updateProfile(Dictionary`2& state, Dictionary`2& shortIntValues, Dictionary`2& textValues, Dictionary`2& intValues, Dictionary`2& decimalValues, Dictionary`2& booleanValues)
cannot get the commands "export to coriolis" or "export to ed shipyard" to work. im not getting any errors from the plugin. its just when it opens the webpage there is no ship configuration copied to my clipboard
here is the debug message im getting for the command:
07-Aug-16 12:11 | COMMAND: export for coriolis
07-Aug-16 12:11 | Downloading Profile from Frontier Companion API
07-Aug-16 12:11 | Server response: OK
07-Aug-16 12:11 | Not docked, skipping EDDN update
07-Aug-16 12:11 | System.Threading.ThreadStateException: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.
at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
at System.Windows.Forms.Clipboard.SetText(String text, TextDataFormat format)
at System.Windows.Forms.Clipboard.SetText(String text)
at OcellusPlugin.OcellusPlugin.VA_Invoke1(String context, Dictionary2& state, Dictionary
2& shortIntValues, Dictionary2& textValues, Dictionary
2& intValues, Dictionary2& decimalValues, Dictionary
2& booleanValues, Dictionary`2& extendedValues)
Should sort the ships by distance from you and let you plot route (up) to the nearest three.
Hi, I run an EDDN receiver and have been monitoring some messages with items that do not appear in-game. Only in-game items should be published to EDDN.
ED Assistant 0.95 reports "Drones" - I imagine this is because "Drones" do appear in the companion API response but they are not an item that appears in the in-game markets or that can be traded. ED Assistant needs to filter out this item and not transmit it to EDDN.
Also there is "Heliostatic Furnaces" from the API - but in-game these are called "Microbial Furnaces". ED Assistant should have a translation table that gets the name of an item from the API and translates it to the in-game name and then publishes the in-game name to EDDN.
Cheers,
Maddavo
Hi @nomadyow,
Is Ocellus released under any software license (Apache/GNU/GPL etc), or would you be willing to grant me permission to use some of your code?
I'd like to reuse a (modified) version of this class in a project I'm working on.
Thanks.
The item "Limpet" is being reported by this tool to EDDN but it is not in the in-game market. This is the same item as "Drones" but renamed. The API reports the item when you can restock the item but it is not a commodity item. Please remove it from being reported to EDDN. It is being reported by v0.96 clients.
This is related to a previous issue but I couldn't work out how to reopen it.
2016-06-05 23:32 | ---------------------- Ocellus Plugin Initializing ---------------------- 2016-06-05 23:32 | COMMAND: press key bind 2016-06-05 23:32 | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary
2.get_Item(TKey key)
at OcellusPlugin.OcellusPlugin.VA_Invoke1(String context, Dictionary2& state, Dictionary
2& shortIntValues, Dictionary2& textValues, Dictionary
2& intValues, Dictionary2& decimalValues, Dictionary
2& booleanValues, Dictionary2& extendedValues) 2016-06-05 23:32 | 294467 systems in Index. 2016-06-05 23:33 | System.ArgumentException: The string was not recognized as a valid Uri. Parameter name: inputUri at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext) at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext) at System.Xml.Linq.XElement.Load(String uri, LoadOptions options) at System.Xml.Linq.XElement.Load(String uri) at OcellusPlugin.EliteBinds..ctor() at OcellusPlugin.OcellusPlugin.VA_Init1(Dictionary
2& state, Dictionary2& shortIntValues, Dictionary
2& textValues, Dictionary2& intValues, Dictionary
2& decimalValues, Dictionary2& booleanValues, Dictionary
2& extendedValues)
2016-06-05 23:33 | COMMAND: press key bind
2016-06-05 23:33 | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at OcellusPlugin.OcellusPlugin.VA_Invoke1(String context, Dictionary
2& state, Dictionary2& shortIntValues, Dictionary
2& textValues, Dictionary2& intValues, Dictionary
2& decimalValues, Dictionary2& booleanValues, Dictionary
2& extendedValues)
2016-06-05 23:47 | COMMAND: get frontier credentials
2016-06-05 23:50 | Server response: OK
2016-06-05 23:50 | Server response: Redirect
2016-06-05 23:50 | Server response: OK
2016-06-05 23:50 | LOGIN OUTPUT:
<link rel="icon" href="https://companion.orerve.net:443/favicon.ico" type="image/x-icon">
</head>
<p>The verification code has now been sent to the email address associated with your Elite
account. Please enter the code into the box below.</p>
<div class="form-group has-error">
<label for="username" class="col-sm-2 control-label">Confirmation code</label>
<div class="col-sm-4">
<input id="code" class="form-control" type="text" name="code" required autofocus>
</div>
<span class="help-block"></span>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-info">Confirm</button>
</div>
</div>
</body>
2016-06-05 23:50 | loginResponse: verification
2016-06-05 23:50 | LoginResponse: verification
2016-06-05 23:50 | COMMAND: get frontier verification
2016-06-05 23:50 | Server response: Redirect
2016-06-05 23:50 | Exception Caught: System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at Web.sendRequest(String url, CookieContainer cookieContainer, String referer, String sendData)
2016-06-05 23:50 | return code: False
2016-06-05 23:50 | return message:
2016-06-05 23:50 | return HTML:
2016-06-05 23:57 | COMMAND: press key bind
2016-06-05 23:57 | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at OcellusPlugin.OcellusPlugin.VA_Invoke1(String context, Dictionary
2& state, Dictionary2& shortIntValues, Dictionary
2& textValues, Dictionary2& intValues, Dictionary
2& decimalValues, Dictionary2& booleanValues, Dictionary
2& extendedValues)
2016-06-05 23:57 | COMMAND: check for upgrade
2016-06-05 23:57 | Server response: OK
2016-06-05 23:59 | COMMAND: press key bind
2016-06-05 23:59 | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at OcellusPlugin.OcellusPlugin.VA_Invoke1(String context, Dictionary
2& state, Dictionary2& shortIntValues, Dictionary
2& textValues, Dictionary2& intValues, Dictionary
2& decimalValues, Dictionary2& booleanValues, Dictionary
2& extendedValues)
2016-06-06 00:00 | COMMAND: press key bind
2016-06-06 00:00 | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at OcellusPlugin.OcellusPlugin.VA_Invoke1(String context, Dictionary
2& state, Dictionary2& shortIntValues, Dictionary
2& textValues, Dictionary2& intValues, Dictionary
2& decimalValues, Dictionary2& booleanValues, Dictionary
2& extendedValues)
2016-06-06 00:00 | COMMAND: press key bind
2016-06-06 00:00 | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at OcellusPlugin.OcellusPlugin.VA_Invoke1(String context, Dictionary
2& state, Dictionary2& shortIntValues, Dictionary
2& textValues, Dictionary2& intValues, Dictionary
2& decimalValues, Dictionary2& booleanValues, Dictionary
2& extendedValues)
2016-06-06 00:02 | COMMAND: press key bind
2016-06-06 00:02 | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at OcellusPlugin.OcellusPlugin.VA_Invoke1(String context, Dictionary
2& state, Dictionary2& shortIntValues, Dictionary
2& textValues, Dictionary2& intValues, Dictionary
2& decimalValues, Dictionary2& booleanValues, Dictionary
2& extendedValues)
2016-06-06 00:04 | COMMAND: press key bind
2016-06-06 00:04 | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at OcellusPlugin.OcellusPlugin.VA_Invoke1(String context, Dictionary
2& state, Dictionary2& shortIntValues, Dictionary
2& textValues, Dictionary2& intValues, Dictionary
2& decimalValues, Dictionary2& booleanValues, Dictionary
2& extendedValues)
2016-06-06 00:04 | COMMAND: press key bind
2016-06-06 00:04 | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at OcellusPlugin.OcellusPlugin.VA_Invoke1(String context, Dictionary
2& state, Dictionary2& shortIntValues, Dictionary
2& textValues, Dictionary2& intValues, Dictionary
2& decimalValues, Dictionary2& booleanValues, Dictionary
2& extendedValues)
2016-06-06 00:21 | COMMAND: get debug`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.