joncage / ed-scout Goto Github PK
View Code? Open in Web Editor NEWAn Elite Dangerous companion app to simplify finding unexplored worlds
License: MIT License
An Elite Dangerous companion app to simplify finding unexplored worlds
License: MIT License
Could potentially use something like this: https://stackoverflow.com/questions/14598015/retrieving-subscriber-count-using-zeromq-pub-sub-sockets ..to highlight when the first connection is made so that we don't send too early. The alternative would be to get the ui to trigger something once it's set up the listener perhaps.
For star type and planet type, it would look neater to add some icons instead of just plain text.
There are probably other aspects of the UI that would benefit from this too.
Hi Jon
Windows Defender has again started to report a Trojan warning for EDScout 1.5.1.
You really should remove those viruses! ;-)
Simplest thing to do without creating a settings menu would be to have the css between the <style> tags in the index.html be separate in its own .css file located where the .exe is. The user can tweak the numbers there without having to rebuild the file.
The current location and nav route are not updating at all.
The web server isn't providing any data at all.
This all worked in version 1.3.
Update
For unknown reasons, after a restart of the app, it is now updating with data and the web server is working.
Windows Defender detects the trojan Wacatac.C!ml in EDScout.exe 1.4.0.
The Windows Defender's security pattern is from 30.08.2020
Path being used is "C:\Users\Jon\AppData..."
A way to set font sizes, maybe even fonts, and adjust the column widths. Just to further help the user blend it in with the rest of the HUD. Also some internal way to set the window to stay on top and/or have a hot key to bring it to the front while playing. Right now I'm using another program "WindowTop" to do that for me, but for single monitor players a hotkey would be useful. I suppose anyone using Voice Attack could make a command for that, but not everyone runs that.
Currently the list scrolls down when new items get appended.
The current star system should kept visible.
As the star class is given like [M] in the trip list, maybe color the non-scoopable (aka all other star class than OBAFGKM) the star class symbol in red?
So that it is clearly visible when there's a non-fuel gap ahead where you definitely want to start with full fuel tanks.
[M]- default color from HUD
[TTS] - red color from HUD
For those wanting to use a single screen, the option to toggle the scout as the topmost window would make for a better integration.
Like the EDMC or EDDN, provide a facility to update the app from within the app.
As per the discussion in #93 from @artig4n:
The second part is like it was doing with 1.0, I can close the window but the two processes remain in Task Manager usually until I kill them. I can open and close and get a whole bunch of EDScouts in the manager.
The first - Version 1.1 was pulling perfectly, I could change a route in the map and would see the update right away. With 1.2 it doesn't show activity if it's up and running. If I close it (and that's where I noticed the process problem) and reopen it will usually pull the route I had last plotted. A few time it pulled up several previous routes, cleared, and finally showed the last one. So it's not tracking the json file as well as it was before I guess.
See https://docs.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows ...to try and speed up builds / test.
Currently the application just watches for nav route changes but we could do more by reading the journal files to pick up the next jump target.
This would mean:
Certainly a large enhancement, but it would be amazing to have the tool plot the route for you through an area and identify the undiscovered systems. This would be especially useful when you are in a nebular is often many of the stars have already been discovered, so you can spend hours hopping around to find ones that are undiscovered. Another useful item would be to say plot me an optimal route to map every system within X lys. Then you just get going and it will track which ones you have already done and which are next.
See suggestion here: #22 (comment)
The route is printed between two lines, and for long ones it's not obvious when the route is done. Either don't print the bottom line until the plot is finished to indicate it's done, or alternatively have the last star, the destination be labeled like you label the current location in its own heading.
I saw one system marked as zero mapped value that turned out to have several unmapped HMC worlds worth a fair bit. Maybe we should treat zero value as unexplored? Needs more investigation.
Just needs the star-type lookup to check if the return value says the system is populated and leave a question mark if we have no info.
Spotted today at 23:45 ish scanning a water world
We should tidy that up and anything else anyone spots.
Hi, more of a question than an issue, I was wondering why the requirement for Chrome?
This is a pretty cool idea. I like how it categorizes the bodies as you scan them. That part is useful because it ensures that you don't miss anything.
But, it skips a couple of important things.
The navigation path part is useless to me, because I'm out exploring in the black where nothing is discovered. So all I get is a list of question marks.
Also, the navigation path doesn't work if you're travelling by carrier.
So I'd like to just disable that part, it takes up a lot of space for no reason out here.
Lastly, I had to use OnTopReplica to put your window over the ED window. It works well enough, but other similar tools for ED just use a window that can be set to always on top. That would be preferred.
Anyway, I think you're onto something here. Keep it up!
Windows defender marks EDScout.exe as "Win32/DefenseEvasion.WI!ml"
Had some thoughts from the discussion in #54 - We know the PID when we launch chrome I believe so we could write that value to a file each time we launch one. That way we can recall current chrome launches and kill those off too. Simple and should be effective.
To save unnecessary interactions with EDSM, it would be handy to add some caching of the lookups with some mechanism to check for stale data.
I've never hit their API limits using the tool myself but it would be polite to limit the load.
As mentioned in #67 (and elsewhere); Would be good to provide an option to adjust font size and weight.
Going to the galaxy map causes a new navroute entry in the journal (I think) and the result is that it replots the whole route in the scout which can be a little annoying when you just wanted to check a single item.
We should therefore remember the start and end of the last nav route and suppress sending those events if nothing changed.
Reported by fenland_idiot
:
Hi JonCage, Im interstered in using ED-Scout but it keeps erroring out / not starting. This is my latest log file: 2020-08-22T18:32:22.407Z - EDScoutWebUI-EDScout - INFO - ED Scout v1.2.4 Starting 2020-08-22T18:32:22.762Z - EDScoutWebUI-EDScout - INFO - Found existing Scout instance PID:7524, killing off before continuing 2020-08-22T18:32:22.784Z - EDScoutWebUI-EDScout - INFO - No HUD overrides file detected (C:\Users\Ben\AppData\Local\Frontier Developments\Elite Dangerous\Options\Graphics\GraphicsConfigurationOverride.xml)
Any Ideas? I do have a job load of other ED plugs, such as Dr Kai's profile launcher, EDDiscovery and ED Market connector, but I still get a crash with none of those launched?
defaultconfig_file=C:\Users\Ben\AppData\Local\Frontier Developments\Elite Dangerous\Options\Graphics\GraphicsConfigurationOverride.xml Exception in thread Thread-2: Traceback (most recent call last): File "threading.py", line 917, in _bootstrap_inner File "threading.py", line 865, in run File "flaskwebgui.py", line 192, in open_browser File "subprocess.py", line 769, in _init File "subprocess.py", line 1172, in _execute_child OSError: [WinError 87] The parameter is incorrect
Tried 1.3 to take a look, got hung on waiting for a plot in the GUI. Loaded the log, it's not finding something.
EDScout-2020-08-28-16-25-18.log
I just replaced 1.2.5 (which was working) with this exe.
E:\dstru\Downloads\EDScout-DiagnosticBuild\EDScout>EDScout.exe
Traceback (most recent call last):
File "EDScoutWebUI\EDScout.py", line 217, in <module>
File "EDScoutCore\EDScout.py", line 29, in __init__
File "EDScoutCore\JournalInterface.py", line 168, in __init__
File "EDScoutCore\JournalInterface.py", line 197, in _configure_watchers
Exception: Unable to start watching; Path does not exist: C:\Users\dstru\Saved Games/Frontier Developments/Elite Dangerous
[19600] Failed to execute script EDScout
The error is correct -- that path does not exist. My saved games are stored at E:\dstru\Saved Games using the standard Windows method of relocating user folders
This is the first application I've encountered with issues following the redirect and have been using this feature since Windows Vista.
Originally posted by @Ketris in #77 (comment)
Looks like their API might be down and it's causing crashes:
Traceback (most recent call last):
File "C:\Program Files (x86)\Python37-32\Lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Program Files (x86)\Python37-32\Lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "C:/Users/Jon/Documents/EDScout/EDScoutWebUI/EDScout.py", line 146, in receive_and_forward
scout.trigger_current_journal_check()
File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 48, in trigger_current_journal_check
self.journalWatcher.trigger_current_journal_check()
File "C:\Users\Jon\Documents\EDScout\EDScoutCore\JournalInterface.py", line 189, in trigger_current_journal_check
self._on_journal_change(self.latest_journal)
File "C:\Users\Jon\Documents\EDScout\EDScoutCore\JournalInterface.py", line 193, in _on_journal_change
self.report_journal_change(altered_file)
File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 169, in on_journal_change
self.process_new_journal_entries(entries_with_populated_nav_route)
File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 175, in process_new_journal_entries
self.process_journal_change(new_entry)
File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 153, in process_journal_change
self.report_new_info(EDScout.create_system_report(new_entry))
File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 94, in create_system_report
system = EDSMInterface.get_system(system_name)
File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDSMInterface.py", line 34, in get_system
raise Exception("request returned bad response code %d" % (data.status_code))
Exception: request returned bad response code 502
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.