Comments (3)
This one is due to the third sample first gives us a second "Sample" Scantype event and then the "Analysis" Scantype event. Essentially this behavious is in the plugin since the CCR functionality was added which should be since v0.2.0
This means I gotta differentiate between the first "Sample" Scantype event and the second one.
So when encountering a "Sample" Scantype event I need to check if we are on the same body and if it is the same plant as the one currently logged as the last plant. needs #35 to be fixed before I do this one, if the name doesn't update because I wrecked that one in 0.2.4 which it reportandly doesn't.
Adding to this. I should do something aswell on any encounter of "Sample" Scantype event when I recognize that it is not the same species on the same body as already logged: Then it should update the coordinates of the first scan to [None, None] as in this case the user has skipped the first scan "Log" with the plugin by not using it. That way it won't show wrong information after any "Sample" Scantype event
from artemisscannertracker.
For the peculiar case that the plugin misses the first "sample" scantype event
(as in user does the first scan. progress 1/3. closes edmc, does the second scan, progress still 1/3 cuz plugin is not active. opens it again then does the third one. progress 2/3 have to assume its the second scan only to get analysis right after which fixes the progress to its rightful 3/3)
we'll end up doing it anyway and there'll be no way around it as we cannot properly differentiate at that time if it would be the first (scan progress 2/3) or the second (progress 3/3 with the analysis event right after) "sample" scantype event.
we only know for sure that its 3/3 when we get the "analysis" scantype event and that one only gets written into the journal once the "finishing sampling process" animation starts.
Essentially I'll deem this fixed when it's reduced to happening only in the above mentioned case.
from artemisscannertracker.
Tidbit thats only loosely connected: its possible to have all samples and then throw them all away
by getting that 3rd scan,
immediately going to the srv
drive to next plant and get out of srv
then directly when pulling the scanner out you instead try to scan a new species and it overwritten
In this case we get a "Log" Scantype event l ahead of the "Analysis" Scantype event for the old samples thus throwing them away.
from artemisscannertracker.
Related Issues (20)
- [Feature] abbreviate multi-million credit values HOT 1
- [Feature] use colour to identify "am I clear of my previous sample" at a glance
- [BUG] if you reset a 2/3 scan, the "Distance to Scan `#2`:" field is not cleared. HOT 2
- [BUG] in progress scan value (on the "Last Exobiology Scan:" line) always shows N/A now HOT 2
- [Feature] show "Scans on this Planet" as well as "Scans in this System" HOT 3
- [Dev] create tests for the plugin. HOT 3
- [Refactor] Move ArtemisScannerTracker class out of load.py into its own file. HOT 1
- [Refactor] Move my own ui helper functions out of load.py into its own file. HOT 1
- [Refactor] Move the eventhandling out of load.py into its own file. HOT 1
- [Dev] threading
- [BUG] "Scan game journals for exobiology" does not find files HOT 18
- [BUG] Investigation into misbehaving journalcrawling HOT 6
- [Dev] Move out saving loading of cmdrdata into own file HOT 1
- [Documentation] Update Readme for v0.2.7 HOT 3
- [BUG] EDMC does not automatically add finished scan to notyetsolddata.json HOT 1
- Update Forum thread and EDCodex page.
- [BUG] No longer appearing in EDMC v. 5.9.4 HOT 4
- [Feature] Window to look at sold/scanned biodata HOT 1
- [BUG] Plugin forces EMDC and other plugins to wait while it does its journalcrawling HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artemisscannertracker.