Giter VIP home page Giter VIP logo

eddiscovery / eddiscovery Goto Github PK

View Code? Open in Web Editor NEW
748.0 748.0 171.0 72.6 MB

Captains log and 3d star map for Elite Dangerous

License: Apache License 2.0

C# 93.30% HTML 0.32% Rich Text Format 2.02% CSS 0.64% JavaScript 3.27% Batchfile 0.10% Inno Setup 0.35%
3d-map captain-log eddiscovery eddn edsm elite elite-dangerous elite-journal inara journal-logs text-to-speech voice voice-recognition

eddiscovery's Introduction

eddiscovery's People

Contributors

carcher99 avatar disorganise avatar dobb13 avatar eahlstan avatar elite-igau avatar eod avatar eproces avatar finwen avatar fredjk-gh avatar goscickiw avatar gregmalcolm avatar iainross avatar identifier avatar imathrowback avatar jbhemloque avatar jpotelle avatar keathmilligan avatar klightspeed avatar kouwei32 avatar majkl578 avatar mwerle avatar phroggster avatar robbyxp1 avatar sammackrill avatar spadino avatar svenbrunk avatar svensven avatar vendolis avatar wokket avatar zafford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eddiscovery's Issues

Add Prospecting

Add a may to record prospecting of minerals.

And a way to view known planets with minerals you wants.

Bug: rounding error in distance calculations

Occasionally, the calculated distance to a reference star is off from game-reported distance by .01

This may be due to a slight difference in rounding methods between EDDiscovery and ED.

eddiscovery
screenshot_0006

Feature Request: Export to CSV

Synopsis: In the Tools Menu, have an option to "Export to CSV" that exports all data saved relating to the Systems in the Travel History list.

Reasoning: I am soooo close to giving up running Excel while I play Elite... BUT... I'm worried that all this data I'm saving in EDD and not in Excel... That I have no backup at all! Please, provide some way to export all the Travel History data out to an Excel compatible CSV file (or Tab delimited) file. Please include the following fields:

Time
System
Notes
Visits
Allegiance

And if the extra fields I have suggested get added, like the Sold Data $ and any other fields the user might add if that functionality is added...

Feature Request: Support for different Data Format

I can't sync with EDSM because it say wrong data format. I have the Italian locale so the format of the date is DD/MM/YYYY and EDSM refuse the log with an error.

I don't know if it can be considered a feature that should implement the EDSM site or is better by your program.

3D map is mirrored to the galaxymap ingame

the 3D map has not the same presentation of the galaxy as the galaxymap ingame. It is mirrored over the horizontal layer.
So in my understanding the 3D map shows the inverse of the y values of the star coordinates

GetEDSMDistances 'System.OutOfMemoryException'

I so desperately want this to work...
Have had a few dramas with getting EDDisco to play nice. I enabled VerboseLogging in the game config, and since then I'm getting the abovementioned error. In full, this is what EDDisco shows me:

EliteDangerous is not running .
Checking for new EDDiscovery data
Checking for new EDDiscovery maps
C:\Users\Krang\AppData\Local\EDDiscovery\tgcsystems.json is up to date.
1576 new systems from EDSM.
Reading travelhistory Downloading mirrored EDSM distance data. (Might take some time)
Get systems from EDDB.
Loading completed!
OK.
Get stations from EDDB. OK.
Add new EDDB data to database.
EDDB update done.
Adding mirrored EDSM distance data.
GetEDSMDistances exception:Exception of type 'System.OutOfMemoryException' was thrown.
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader)
at Newtonsoft.Json.Linq.JArray.Load(JsonReader reader)
at Newtonsoft.Json.Linq.JArray.Parse(String json)
at EDDiscovery.DB.DistanceClass.ParseEDSM(String json, String& date)
at EDDiscovery.EDDiscoveryForm.GetEDSMDistances()

I'm using Win 7 Pro on a system with 16Gb RAM, of which 78% is currently free...

I'd really like to get this program up and running before I head anywhere outside the Bubble... so any assistance would be awesome :)
Thanks in advance

Feature Request: Allow the selection of which System fields are displayed in the Travel History list

Synopsis: Different users want to see different views of the same data. Allow a user to select (in the Settings tab?) which fields are visible in the Travel History list and preferably in which order they want to.

Reasoning: Personally, I don't care the exact date/time I visited a system. But knowing what Allegiance it is aligned to, is. And if extra fields are added (like the Data $ field) I would like to see that listed, too.

Allow the user to configure the Travel History list, adding or removing the fields displayed, and ideally enable them to order the fields in any order they wish.

A good way to do this, and one users are already familiar with is done in Windows Explorer, right-clicking on a column title and then clicking checkboxes on and off. Re-ordering is done by dragging columns left/right. Another suggestion would be to have in the Settings tab, a list of all the fields, and a column indicating the order of the fields. A blank entry means the field is not to be displayed in the list.

ED-Materializer backend api prototype

I put together a rudimentry first draft backend prototype while I was stranded on an old mac laptop last week.

Schema information is here:

https://github.com/gregmalcolm/ed-materializer/blob/master/schema.md

The app is currently deployed to heroku using a cheap one server node freebie package.

https://ed-materializer.herokuapp.com/api/v1/world_surveys

It's very, very basic right now and probably making a bunch of faulty assumptions. It supports basic CRUD operations on a single World Surveys table. It currently has no security and the api interface could definitely be improved on lots. For example, it cold be smarter about handling updates/inserts. Plus the data schema is likely way off base.

I went with the assumption that there could be one entry per commander per world, with the sum of changes being what's shared. That assumption is probably way off, but had to start somewhere.

I really don't know if this thing will be even slightly useful or not as EDDB is clearly the ideal place for the data to live longterm, but it was just something to play with for a bit. If we need any improvements or tweaks that should be pretty easy to do. I can also find better hosting for it if there's ever a need. And if it doesn't end up getting used, that's fine too.

Unix port

I'm not sure how many players out there are playing on Mac or how many of them would be interested to use Mac port of EDDiscovery, but if there any, it may be worth it to investigate this.
Currently the only way seems to be Mono, which was a bit glitchy last time I tried it. .NET (https://github.com/Microsoft/dotnet) was not yet ready on non-Windows platforms at that time, not sure how it stands now.

Search system DB and enter note for a system

From Matt Kowalsky

I would very much like to be able to search the database for a System and enter a note without having to actually fly there. Manually manipulating the sqlite db (or entering the system name in the netlog file manually and let eddiscovery think I've flown there) is possible but it's error prone and not very user friendly.

Feature request: Focus to move to latest added System, Distance from... field. [Enter] updates.

Synopsis: When adding a new system to the Travel History, make the focus (or the selected system) be on the newly added line, and preferably the insert cursor in the "Distance from..." field, ready to accept immediate input when Alt-Tab into it. Allow entry of data then allow the [enter] key to update the field.

Reasoning: I love the feeling that I am "helping out" the community of ED by adding in unknown distances between stars I jump to. That's one of the main reasons I like this program. And so when I am on a mission or delivering materials for my Power, I always have EDD open and ready to enter any unknown distances between those unnamed stars.

In the middle of the jump routine, the new star appears at the top of the Travel History list... But the focus is not on that new system. It remains on the last star you clicked on. When you want to quickly jump between systems, half way through the jump routine, the new system appears in EDD. Perfect! But the focus not being in the "Distance from..." field means you have to use the mouse to madly click the new system, then into that field, enter the data, and click on the Update button. All before the jump routine ends and you're flying into the sun! :)

Which brings me to the second part of this request: When entering data into the "Distance from..." field, please allow the [Enter] key (including the one on the numeric keypad) to do the same task as clicking on the Update button.

Thanks for your consideration.

UI Change: Move "status" panel to bottom of screen.

Synopsis: Move the "Status" box from the top left of the main screen to something a lot less prominent, like the bottom right or right at the bottom, stretched across the full width of the application window.

Reasoning: Yes, it is important... But does it really need to be at the very top and most important (visually) section of the main screen? Surely the user would be quite content with this status bar being at the bottom of the window, if they are really all that interested.

Screenshot conversion only takes place upon screenshot save

We could do with a feature enhancement where the program will convert all screenshots if the renamed equivalent at any time rather than relying on a new file causing the conversion.

I'm aware this might be intentional with respect to doing it only to new screenshots however it does make it difficult to convert existing screenshots even if you have your netlogs.

2.2.0.0 Crashes

I can load it up before I start Elite, but as soon as I do it'll report a crash and exit. If I start it after I have elite running I get two popup window's (Attaching).
screenshot_5_a
screenshot_6_a

Proposed 3D Map enhancements

There are number of little enhancements I'd love to work on for the 3D map. I thought I'd list them to see if there's is any objection. The plan is to hit each small item as a separate pull request so that there's the opportunity to reject or request change individually. Also if we end up working on the same area at once it's easier to just throw away the proposed change and say "oh well!".

3D Map:

  1. Autosave window size settings for map. So if I maximize it is always maximized.
  2. Default to zoomed out view showing whole map. I think the zoom level should be persisted as saved setting too. Update: think the zoom should depend on star spasity. Existing default Zoom is fine in populated space, less useful in deep space.
  3. Button to max zoom out and recenter the rotation.
  4. Keyboard controls: I'd like cursor keys and ASWD for translating the map up down left and right. + and - for zoom. DONE!
  5. Mouse drag: Should behave like ED map itself. Dragging the mouse will cause the camera to lock on the mouse pointer and stay locked on it as the mouse moves, rotating on the Z Axis.
  6. Right button should climb and descend the Z axis
  7. Bug: Center button sometimes stops working after some rotation. (Should also double check it doesn't break trilateration lines)
  8. Grid: Would be nice if there was a toggleable grid. Perhaps something in line with the in-game grid Looks like something along these lines is already in place. Although may still be fun to see if it can be improved on.
  9. Depth Perception: I want to experiment with lighting and star billboards (sprites) to give the sensation of some stars being further away than others. The sprites will need alpha information.
  10. Toggleable Text Labels: Would be nice if key POIs like Sol, Sagittarius A, Beagle Point and maybe one or two others had text labels to make it clearer what we're looking at. The current
    position should also be labelled. Maybe zooming in causes more labeling detail.
  11. Click on star to center on it and receive a little information about what it is.
  12. Mouse hover to show individual star labels one at a time.
  13. Make it so that when you access the 3D map it always goes to the same window. So you don't have multiple 3D maps floating around.
  14. 3D Map should center on the system selected before clicking on "3D Map". This should also be the default "Center" textbox entry - Thanks @iainross
  15. Would love the ability to enter grid coordinates jumping to those locations
  16. Default button is becoming less relevant. Banish it to the settings page at some point? - Thanks @iainross
  17. When re-centering from the map it would be cool if a line was drawn from your current system and maybe distance information were added?

Some of the items near the end of the list are moving from "quick change" to "challenging, may not happen". But listing them because why not?

Feature request: Enter distances to several known stars

I like the way you can enter distance measurements between the last star you've visited and submit the data to EDSC but unless you're going to jump back and forth between the star with no coordinates and those with known coordinates it's not terribly effective a means of mapping the coordinates of unknown stars.
EDDiscovery could really do with a feature to manually enter distances to 5+ systems of known coordinates in a way similar to what is possible on the EDSC website.

All distances not loading when program starts

Great program! Hope this is the right place for a bug report.

Most of the times I start the program there are some distances in my log that don't load. In order for them to show up I have to do a combination of waiting and switching between the different "Show history for last".

If it's due to some sequential downloading from a server then I suggest some form of indication that distances are still loading =)

Feature Request: A search box for the Systems you have jumped to.

Synopsis: Almost every modern app these days has a "Search" facility. We need to be able to Search, at a minimum, in the System name field and the Notes field.

Reasoning: You could use the Notes quite extensively... But then trying to find a note about a system or a pristine mining resource or a black hole... Anything... The user should be able to, in this day and age, the ability to filter the List based on the search criteria.

So, lets say the users has thousands of entries, and 3 of them have a note about containing a Black Hole. The user enters "Hole" (case insensitive) into the Search box and upon hitting the Find button, the list is reduced to just those 3 records. Clearing the Search box means you also clear any filter in place.

Backup / import data

From Matt Kowalsky

First, I would really hate to loose the data that I have gathered so far. Accidents happen and I could loose the netlog files or the sqlite data files. Is there a way to backup the data (and restore it of course)?
Of course, we could simply backup the sqlite datafiles in appdata/Local/EDDiscovery but it would be better to have a menu option to do the backup/export and restore/import

Feature Request: Add "Data Sold $" field.

Synopsis: 1. Add a numeric field to the system records that allow user to enter the amount of money they have earned for a system when handing in cartographic data.

Reasoning: I like to know if I have fully explored as system, along with detailed surface scans or not, and how much money did I make on any particular system. Needs to be numeric and have it auto formatted to the Windows system number format for thousands, but no decimals.

Optional: A field somewhere, be it on the main screen or not, to show you the total of all those $ amounts. Just because you want to show off. :)

Route finder - exception due to disabling control in another thread

Hi,

Using the route finder, built in debug, I get:


An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll

Additional information: Cross-thread operation not valid: Control 'button_Route' accessed from a thread other than the thread it was created on.


This is defined behaviour by the UI threading model.

In routecontrol.cs: 48

    private void RouteMain()
    {
        float maxrange = float.Parse(textBox_Range.Text);

// button_Route.Enabled = false;
Route(textBox_From.Text, textBox_To.Text, maxrange, 0);
// button_Route.Enabled = true;
}

Commentating those lines out fix it.

Now turning off the button is easy, move it to button_Route_Click_1 function:

   private void button_Route_Click_1(object sender, EventArgs e)
    {
        button_Route.Enabled = false;

        richTextBox1.Clear();

        ThreadRoute = new System.Threading.Thread(new System.Threading.ThreadStart(RouteMain));
        ThreadRoute.Name = "Thread Route";
        ThreadRoute.Start();

}

Turn it back on using Invoke at the bottom of the thread:
...
AppendText("Jumps: " + jumps + Environment.NewLine);

        this.Invoke(new Action(() => button_Route.Enabled = true));
    }

This seems to work. Hope this helps.

Hi-Res Screenshot Deletion fails

Hello,
I'm away from my gaming computer at the moment, but what happens is that when the "delete screenshot" checkbox is enabled and I take a hi-res screenshot, EDD throws an error for the "ImageConvert" process. It still successfully renames and converts to a png, but it won't process any new images or delete anything until the alert is dismissed. I don't believe this happens with standard-res screenshots, although I haven't done extensive testing.

I think the problem is that when I take a high-res screenshot, it takes a few seconds to save it, which interrupts the deletion process. If you need a specific error message or more specific tests, I can provide them to you next week once I'm back at home. Any way I can help, please let me know! Great product, by the way!

Zach

Feature Request: HTTP / Websocket API

If this tool could serve data over HTTP then a number of other tools could integrate with it.

Specs / Suggestions

  • Run on a default port, but configurable port
  • CORS Headers for cross-domain requests
  • HTTP api for polling
  • Websocket API for push/listening
  • Read only API

API

  • Get all data
  • Get last X systems
  • Get current system
  • Subscribe to system data

AppConfigLocal.xml not pulled by 2.3.0.0 update

Hi,
while investigating 2.3.0.0 crash report on the forums, I discovered that AppConfigLocal.xml is missing in the directory of installed EDDiscovery.
Although this should not cause crashes (it's checked for exceptions explicitly), it will never create local AppConfigLocal.xml since source file is not found.
Not sure what hapenned though, file is marked as "Copy always".

NullReferenceException after first jump

I just installed EDDiscovery for the very first time, did a bit of configuration (esp. in regard to EDSM), launched Elite and made my first hyperspace jump for testing purposes. The log window showed me this output:

[...]
EDDB update done.
Arrived to system: Pleiades Sector HR-W d1-79  : Vist nr 1
Exception : Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.   bei EDDiscovery.TravelHistoryControl.StoreSystemNote()Arrived to system: Pleione  : Vist nr 1

As you can see, I started the game in system "Pleiades Sector HR-W d1-79", then jumped to system "Pleione". The exception error message is the German text for a NullReferenceException. Despite the exception, EDDiscovery went on running.

I made a second jump, but this time didn't get another error message. I restarted EDDiscovery and made a third jump, but again no error message. Maybe the exception occurs only if the user makes the very first jump after newly installing EDDiscovery?

System config

  • Windows 10 Pro, German, 64-bit
  • Elite Dangerous 2.0.3
  • EDDiscovery 2.6.4.0

Let me know if you need to know more. Thanks for coding EDDiscovery!

Center button in map is broke

The "Center" button on the map is broke from my camera changes still. Need to adjust it to to work with the new dataset mappings.

Shouldn't be hard to fix, just haven't gotten to it yet.

Null Object Reference

It seems when the app first tries to load the AppConfig.xml, if it cannot find it, it creates a null object reference error in red on the screen. I have to manually specify the path. I think the auto-detect feature could be made smarter by knowing about Steam installs (which I have). For the the correct path is

C:\Program Files (x86)\Steam\SteamApps\common\Elite Dangerous\Products\FORC-FDEV-D-1010

Obviously, the app should look for this path on all mounted drives, not just C.

Crash clicking 3D Star Map button

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at EDDiscovery2.FormMap.ResetCamera()
at EDDiscovery2.FormMap.Prepare()
at EDDiscovery2._3DMap.MapManager.Show()
at EDDiscovery.TravelHistoryControl.buttonMap_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1063.1 built by: NETFXREL3STAGE

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

EDDiscovery2
Assembly Version: 2.6.2.0
Win32 Version: 2.6.2.0

CodeBase: file:///C:/Users/Sam/AppData/Local/Apps/2.0/59YMQ9C3.Y6C/MD0RN0GX.9JO/eddi..tion_0000000000000000_0002.0006_15b22a3f4d86969b/EDDiscovery2.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

OpenTK
Assembly Version: 1.1.0.0
Win32 Version: 1.1.1589.5942

CodeBase: file:///C:/Users/Sam/AppData/Local/Apps/2.0/59YMQ9C3.Y6C/MD0RN0GX.9JO/eddi..tion_0000000000000000_0002.0006_15b22a3f4d86969b/OpenTK.DLL

System.Data.SQLite
Assembly Version: 1.0.94.0
Win32 Version: 1.0.94.0

CodeBase: file:///C:/Users/Sam/AppData/Local/Apps/2.0/59YMQ9C3.Y6C/MD0RN0GX.9JO/eddi..tion_0000000000000000_0002.0006_15b22a3f4d86969b/System.Data.SQLite.DLL

System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

OpenTK.GLControl
Assembly Version: 1.1.0.0
Win32 Version: 1.1.1589.5942

CodeBase: file:///C:/Users/Sam/AppData/Local/Apps/2.0/59YMQ9C3.Y6C/MD0RN0GX.9JO/eddi..tion_0000000000000000_0002.0006_15b22a3f4d86969b/OpenTK.GLControl.DLL

Newtonsoft.Json
Assembly Version: 6.0.0.0
Win32 Version: 6.0.8.18111

CodeBase: file:///C:/Users/Sam/AppData/Local/Apps/2.0/59YMQ9C3.Y6C/MD0RN0GX.9JO/eddi..tion_0000000000000000_0002.0006_15b22a3f4d86969b/Newtonsoft.Json.DLL

System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

Prospecting Backend API (EDDB)

@finwen : Did EDDN work out as a place to store prospector data?

The reason I ask is I'm going to be stuck with the mac laptop next week while out at a coding convention. Putting together a quicky backyend api/db project would be a fun thing to work on while out there. No obligation to stick with it if something better becomes available.

Debug log

Can you add an option for debugging, and write debug in a log file?

Eg: URL called, return status...

commiting old data for new system

I think I did the following (not 100% shure)

  • At first I trilaterate a new system so I get the coordinates, submit it to EDSM, normal as always.
  • fly to the next system
  • want to trilat it but instead of fillng the distance cells i submitted data, and suddenly the old data is submitted

the thing where I am not shure is how i got to the trialeration tab. either the tab or button. and I don't remember if the cells were filled with old data or not first guess would be I used the button an submitted empty cells.

after that I typed in the new ones submittet them and the also where on edsm.
really weird bug.

I am on version 2.6.8.0

BITMAP convert - exception raised

If you turn the delete original after conversion, it raises an exception.

This is because the BITMAP object keeps the file locked until its disposed.

quote from documentation BITMAP: Open from file:
The file name and path can be relative to the application or an absolute path. Use this constructor to open images with the following file formats: BMP, GIF, EXIF, JPG, PNG and TIFF. For more information about supported formats, see Types of Bitmaps. The file remains locked until the Bitmap is disposed.

And there is another problem, the watcher is starting BEFORE the systems are loaded. This means if you hit take screenshot too quickly (as I did during debugging), you will get an exception on imagehandler.cs:131 ISystem cursys = _discoveryForm.TravelControl.GetCurrentSystem();

To fix:
imagehandler.cs:54 remove startwatcher at the end of InitControl
eddiscoveryform.cs:147 add imageHandler1.StartWatcher(); (just below Text +=)

Finally to fix the remove problem, in imagehandler.cs:

.. code
else
{
ED_PIC.Save(output_folder + "" + new_name + pic_ext, System.Drawing.Imaging.ImageFormat.Png);
}

                ED_PIC.Dispose();   // need to release lock on files..
                Screenshot_PIC.Dispose();

                if (checkBoxRemove.Checked) // Remove original picture
                {
                    File.Delete(e.FullPath);
                }

                Invoke((MethodInvoker)delegate { TravelHistoryControl.LogText("Converted " + e.Name + " to " + new_name + pic_ext + Environment.NewLine ); });

}
The last Invoke provides a handy confirmation that the image was converted... Not strictly necessary but useful.

Rob

Bug: 3D Star Map - Centering - don't think it works

The System entry box allows you to type a system name it... And the XYZ coordinates do seem to update... But does the map's rotation axes actually change to that system it has found? I don't think it does. The axes seem fixed on SOL.

Also, the rotation does not match how the Galaxy Map rotates in Elite. The X axis should not rotate around the Y axis when you move the mouse Left-Right - The stars should... But the X axis that the stars rotate around when you move the mouse Up-Down should not move from being across the middle of the screen, going through the System you have centered on. (Really hard to explain in words, but just try moving the Galaxy Map in Elite and then try to mimic the same movement in EDD.)

Screenshot conversion fails when theres an * in the name

I noticed when in Barnard's Loop that automatic screenshot conversion fails when the intended filename includes invalid characters. For example, * tet02 Orionis C or Cl* NGC 1981 AR 131.

A simple character stripper would prevent that. Also if conversion fails it would be nice if the error was handled without a messagebox as the user isn't likely to discover it until they Alt+tab back to EDDiscovery. Perhaps a log message instead.

I may well tackle this myself, but thought it's about time I logged this as an issue

Feature Request: System Screenshots

Synopsis: An area of the main screen, perhaps under the main Travel History list, that shows the screenshot from a particular (configured) folder, determined by the creation date/time of the file, compared to the selected system's entry time.

Reasoning: Who doesn't like a screenshot! :)

Method: Elite has it's own inbuilt screen capture capability which could be used. Or you can have another utility running that works on a different key-bind and save the pictures to a different folder. Or you can take various screenshots, and then manually move them into the configured EDD screenshots folder. Either way, EDD (in the Settings tab) is configured to watch a particular folder for JPG/PNG files.

When a system is selected and a new button called "Screenshot" is clicked, EDD looks in the configured folder for the first image file that is older than the selected system Jump date/time. When it finds a file, it checks if there is an older/later jump than the currently selected jump. If the time-stamp of the image it has found is equal or greater than this next jump system, then it does not add the reference filename to the record, because it is assumed the screenshot it has found was taken after jumping into the next system and is thus a shot of the next system, not the current one.
(If indeed the screenshot of the current system was taken after jumping into the next system, the user could modify the Creation date using any number of utilities. Or, I suppose we could add a "Manual Shot Selection" button?) Anyway, once a screenshot is selected for a system, the filename is saved to the record and is used to display the screenshot whenever a Jump with the system is selected.

User must be able to size the screenshot portal in height (Or hide it all together), with the width always being the width of the Travel History list. Screenshot to be displayed without distortion (no stretching) within the area allotted by the user.

Screenshot conversion fails

LOVE this app! Unfortunately when convert images is selected, all conversion fail. Tried all formats
Hi-res snapshot: Exception in imageConvert:Parameter is not valid
standard res snapshot: Exception in imageConvert:A generic error occurred in GDI+

Resolution is 4k. (3840 x 2160)

Couldn't find any logs to provide more info. Please let me know if there is anything else I can do to assist.

My Specs:
i5 4660
16gb DDR3
Windows 10 Home
Nvidia GFX 970 (4gb)

Great App, and keep at it sir!

Feature Request: A System Setting that controls the method of updates to EDD

Synopsis: Many programs have the option for configuring how Updates to the program are applied. EDD needs one, too.

Reasoning: Many people are quite nervous about allowing automatic updates, particularly because various instances of even Adobe getting caught with their pants down by releasing a rogue update.

EDD should have a drop-list setting in the Settings tab that controls how updates are managed:

  1. Download and Install Automatically
  2. Download only, inform availability
  3. Inform user of updates only

If an update is available, a red circle with a 1 in it appears on the Settings tab title. In the settings tab, a button to allow downloading and installing of the upgrade as desired. Updates should be downloaded to the default Downloads folder so they can be virus scanned and saved elsewhere for emergency rebuild, after install.

3D Star Map: Bug?

What's happened to the 3D star Map? It is now in colour which is cute, but maybe there should be an option to show the different colours for faction or just stick to b&w with red showing the systems you have visited.

2015-07-11_001933

But also, there seems to be a very big reduction in the number of stars shown, as visited by other commanders. Last week, it used to show several trips of commanders travelling around the rim of the galaxy, and another fairly funny "graffitti on our galaxy"... All of these are gone. Is the data still there?

Last point, if you will use blue stars for the empire, I'd suggest making them a little brighter, as they tend to get washed out by the red and green dots.

Feature Request: Toggle color/b&w 3D Star Map

IN 2.3.4 there was a "bug" that didn't display all the known stars, just the systems that are pledged to a faction.

I actually really liked the colouring! :)

Is there a way you could have a "Toggle" on the map that changes it from colour to black & white, or from "All Stars / Your Stars" ? The problem is that the Allegiance colors (Red, Blue, Yellow, Green) means that your own travels need to be in white. This toggle could also change the map to show:

In B/W: All known stars in DB in White and the stars you have traveled to in Red. (As it does now)
In Color: Only stars with an Allegiance are shown in their respective colors, and with your travels (only) be shown in White. No other stars shown.

Ooh! And just thought of another idea! You have in the Travel History a list of all the stars you've traveled to, right? Could you put on the 3D map a button called "Current System" which centers the map (and the rotation axis') on the last system in your Travel History?

Oh! And then you could also have "Prev" and "Next" buttons that move the map center down / up your travel list! (Just thought of that, too! :)

Man, I'm full of ideas, tonight! :)

Text glitch

[Info Field]
Add ned EDDB data to database

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.