-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Scanner Stops Scan Prematurely When Min Level and Rarity Are Set #392
Comments
It looks like the code causing this behavior is here. Inventory_Kamera/InventoryKamera/scraping/ArtifactScraper.cs Lines 487 to 488 in 0655b47
Here is the analogous code for weapon scanning. Inventory_Kamera/InventoryKamera/scraping/WeaponScraper.cs Lines 420 to 421 in 0655b47
|
This should be fixed in V1.3.1 |
The new behaviour is imho worse than what was described here. It's not possible anymore to only use the min rarity filter now to for example stop after it went through all 5+4 star artifacts/weapons as described in #395. The scanner will now scan through all 2000 weapons/artifacts and never stop the scan if you specify rarity 4 level 1/0 which requires minutes of scanning especially on the weapons side and that's with the fast scan method. Before it would correctly stop as soon as it encountered the first 3 star rarity. From what I can gather from this bug report, this bug was only possible because @juuyokka used the non-default sort of Level instead of the default sort of Rarity. |
Also, with the new behavior, the filtered out artifacts do still end up in the json file. So the filters do effectively not work anymore. |
I tried this at the default settings, then also tried lowering the min artifact rarity, both gets the same result. This is the error log I'm getting when scanning artifacts: Index was out of range. Must be non-negative and less than the size of the collection. |
Inventory_Kamera/InventoryKamera/scraping/ArtifactScraper.cs Lines 39 to 43 in 0655b47
Level sorting is set automatically by Inventory Kamera when the minimum artifact level is set. |
This issue should be fixed in v1.3.2 |
Current Behavior
If you set the minimum artifact level and rarity, it's possible that the scanner stops prematurely. As implemented now, the scanner will stop as soon as it encounters an artifact whose level OR rarity is below the minimum set by the user.
In this case, if the minimum rarity is set to 5, the scanner will stop when it reaches an artifact with rarity 4.
Expected Behavior
The scanner continues to scan
Reproducing a Behavior
Device OS
Windows 10
Genshin Impact Version
3.1
Inventory Kamera Version
1.3.0
Screen resolution, screen mode, and UI scale
1920x1080 windowed
Additional notes and remarks
The scanner should stop when it encounters an artifact whose level AND rarity is below the minimum set by the user. Any artifacts whose level OR rarity is below should be skipped but should not cause the scan to end. I haven't tested this with weapons but I'd imagine that if the issue is present for artifacts it should be also present for weapons as well.
Evidence
No response
Preflight Checklist
The text was updated successfully, but these errors were encountered: