Andrewthe13th / Inventory_Kamera

Scans Genshin Impact characters, artifacts, and weapons from the game window into a JSON file.
MIT License
699 stars 122 forks source link

"Failed to parse quantity for ___" and some aren't showing the correct numbers either. #446

Closed Thaddaios94 closed 1 year ago

Thaddaios94 commented 1 year ago

Current Behavior

A few items failed to parse the quantity. Also, the numbers of some items aren't recording properly.

Expected Behavior

The scanner to correctly exports the data

Reproducing a Behavior

Monitor - 3440x1440 Version - Latest Resolutions used in-game - 1600x900 (used normally works) / 1920x1080 (troubleshoot only) I always restart the game after changing the resolution so the columns/rows show properly which usually makes the scan go smoothly. -Open the game, press escape, open InvKamera program, and then scan with only "Char Development Items" and "Materials" checked.

Device OS

Windows 10

Genshin Impact Version

3.5

Inventory Kamera Version

v1.3.8

Screen resolution, screen mode, and UI scale

My monitor's native and selected resolution is 3440x1440, using 1600x900 in-game,

Additional notes and remarks

No response

Evidence

Here is the debug report:

2023-04-08 23:07:37.128|INFO|InventoryKamera|Kamera initialized 2023-04-08 23:07:38.076|INFO|MainForm|Inventory Kamera version 1.3.8 2023-04-08 23:07:38.191|INFO|DatabaseManager|Checking for newer game data... 2023-04-08 23:07:38.621|DEBUG|DatabaseManager|Parsing wiki version history. 2023-04-08 23:07:38.622|DEBUG|DatabaseManager|Parsed release date 4/12/2023 12:00:00 AM for version 3.6 2023-04-08 23:07:38.622|DEBUG|DatabaseManager|Version 3.6 is announced but not released! 2023-04-08 23:07:38.622|INFO|MainForm|Current game data is up to date with data for 3.5 2023-04-08 23:07:56.873|INFO|MainForm|Starting scan 2023-04-08 23:07:56.873|INFO|MainForm|Hotkey registered 2023-04-08 23:07:56.873|INFO|MainForm|Scan settings: Game Version Data: 3.5 Weapons: False Artifacts: False Characters: False Dev Items: True Materials: True Min Weapon Rarity: 3 Min Weapon Level: 1 Equip Weapons: True Min Artifact Rarity: 2 Min Artifact Level: 0 Equip Artifacts: True Delay: 0 2023-04-08 23:07:56.873|DEBUG|Navigation|Checking for "GenshinImpact".exe 2023-04-08 23:07:56.892|DEBUG|Navigation|Found GenshinImpact.exe 2023-04-08 23:07:56.922|INFO|InventoryKamera|Kamera initialized 2023-04-08 23:07:56.922|INFO|MainForm|Resolution: 1600x900 2023-04-08 23:07:56.922|INFO|InventoryKamera|Logging directory reset 2023-04-08 23:07:57.566|INFO|Scraper|Scraper initialized 2023-04-08 23:07:57.566|DEBUG|InventoryKamera|Added 3 workers 2023-04-08 23:07:57.581|DEBUG|InventoryKamera|Thread #5 priority: Normal 2023-04-08 23:07:57.581|DEBUG|InventoryKamera|Thread #12 priority: Normal 2023-04-08 23:07:57.581|DEBUG|InventoryKamera|Thread #3 priority: Normal 2023-04-08 23:07:57.865|DEBUG|Scraper|8 Engines restarted 2023-04-08 23:07:57.865|INFO|Scraper|Internally set traveler custom name to thaddaios 2023-04-08 23:07:57.865|INFO|Scraper|Internally set wanderer custom name to gakkuri 2023-04-08 23:07:58.107|DEBUG|InventoryKamera|Thread 5 exit 2023-04-08 23:07:58.370|DEBUG|InventoryKamera|Thread 3 exit 2023-04-08 23:07:58.370|DEBUG|InventoryKamera|Thread 12 exit 2023-04-08 23:07:58.370|INFO|InventoryKamera|Scanning character development materials... 2023-04-08 23:08:01.951|DEBUG|MaterialScraper|Scanned mora input: System.Collections.Generic.List`1[System.String] 2023-04-08 23:08:01.951|DEBUG|MaterialScraper|Parsed mora input: 2023-04-08 23:08:01.951|ERROR|UserInterface|Unable to parse mora count 2023-04-08 23:08:02.554|DEBUG|MaterialScraper|Scanning material page 0 2023-04-08 23:08:02.554|DEBUG|MaterialScraper|Located 40 possible item locations on page. 2023-04-08 23:08:03.680|DEBUG|MaterialScraper|1010) -> 1010 -> 1010 2023-04-08 23:08:13.005|DEBUG|MaterialScraper|Finished page of materials. Scrolling... 2023-04-08 23:08:14.419|DEBUG|MaterialScraper|Scanning material page 1 2023-04-08 23:08:14.419|DEBUG|MaterialScraper|Located 40 possible item locations on page. 2023-04-08 23:08:24.880|DEBUG|MaterialScraper|Finished page of materials. Scrolling... 2023-04-08 23:08:26.286|DEBUG|MaterialScraper|Scanning material page 2 2023-04-08 23:08:26.286|DEBUG|MaterialScraper|Located 40 possible item locations on page. 2023-04-08 23:08:34.058|DEBUG|MaterialScraper|» -> -> 0 2023-04-08 23:08:34.062|DEBUG|MaterialScraper|5] -> 5 -> 5 2023-04-08 23:08:34.687|DEBUG|MaterialScraper|© -> -> 0 2023-04-08 23:08:34.687|ERROR|UserInterface|Failed to parse quantity for MirrorOfMushin 2023-04-08 23:08:36.249|DEBUG|MaterialScraper|zz -> -> 0 2023-04-08 23:08:36.249|DEBUG|MaterialScraper|p74 -> 74 -> 74 2023-04-08 23:08:36.249|DEBUG|MaterialScraper|<< -> -> 0 2023-04-08 23:08:36.249|DEBUG|MaterialScraper|<< -> -> 0 2023-04-08 23:08:36.270|DEBUG|MaterialScraper|<Z -> -> 0 2023-04-08 23:08:36.600|DEBUG|MaterialScraper|Finished page of materials. Scrolling... 2023-04-08 23:08:38.002|DEBUG|MaterialScraper|Scanning material page 3 2023-04-08 23:08:38.002|DEBUG|MaterialScraper|Located 40 possible item locations on page. 2023-04-08 23:08:48.568|DEBUG|MaterialScraper|Finished page of materials. Scrolling... 2023-04-08 23:08:49.994|DEBUG|MaterialScraper|Scanning material page 4 2023-04-08 23:08:49.994|DEBUG|MaterialScraper|Located 40 possible item locations on page. 2023-04-08 23:09:00.738|DEBUG|MaterialScraper|Finished page of materials. Scrolling... 2023-04-08 23:09:02.170|DEBUG|MaterialScraper|Scanning material page 5 2023-04-08 23:09:02.170|DEBUG|MaterialScraper|Located 40 possible item locations on page. 2023-04-08 23:09:11.219|ERROR|UserInterface|Failed to parse quantity for NarukamisAffection 2023-04-08 23:09:12.845|DEBUG|MaterialScraper|Finished page of materials. Scrolling... 2023-04-08 23:09:14.244|DEBUG|MaterialScraper|Scanning material page 6 2023-04-08 23:09:14.244|DEBUG|MaterialScraper|Located 32 possible item locations on page. 2023-04-08 23:09:14.409|DEBUG|MaterialScraper|Repeat material found. Scrolling until end 2023-04-08 23:09:17.691|DEBUG|MaterialScraper|Last material scanned, IronTalismanOfTheForestDew. 2023-04-08 23:09:19.713|INFO|InventoryKamera|Done scanning character development materials 2023-04-08 23:09:19.713|INFO|InventoryKamera|Scanning materials... 2023-04-08 23:09:23.712|DEBUG|MaterialScraper|Scanning material page 0 2023-04-08 23:09:23.712|DEBUG|MaterialScraper|Located 40 possible item locations on page. 2023-04-08 23:09:34.038|DEBUG|MaterialScraper|Finished page of materials. Scrolling... 2023-04-08 23:09:35.452|DEBUG|MaterialScraper|Scanning material page 1 2023-04-08 23:09:35.452|DEBUG|MaterialScraper|Located 40 possible item locations on page. 2023-04-08 23:09:45.648|DEBUG|MaterialScraper|Finished page of materials. Scrolling... 2023-04-08 23:09:47.061|DEBUG|MaterialScraper|Scanning material page 2 2023-04-08 23:09:47.061|DEBUG|MaterialScraper|Located 40 possible item locations on page. 2023-04-08 23:09:53.408|DEBUG|MaterialScraper|100) -> 100 -> 100 2023-04-08 23:09:57.167|DEBUG|MaterialScraper|Finished page of materials. Scrolling... 2023-04-08 23:09:58.576|DEBUG|MaterialScraper|Scanning material page 3 2023-04-08 23:09:58.576|DEBUG|MaterialScraper|Located 32 possible item locations on page. 2023-04-08 23:10:03.730|DEBUG|MaterialScraper|bl) -> -> 0 2023-04-08 23:10:03.734|DEBUG|MaterialScraper|HU -> -> 0 2023-04-08 23:10:04.370|DEBUG|MaterialScraper|HY -> -> 0 2023-04-08 23:10:04.373|DEBUG|MaterialScraper|H3 -> 3 -> 3 2023-04-08 23:10:06.267|DEBUG|MaterialScraper|Finished page of materials. Scrolling... 2023-04-08 23:10:07.523|DEBUG|MaterialScraper|Scanning material page 4 2023-04-08 23:10:07.523|DEBUG|MaterialScraper|Located 32 possible item locations on page. 2023-04-08 23:10:07.657|DEBUG|MaterialScraper|Repeat material found. Scrolling until end 2023-04-08 23:10:09.917|DEBUG|MaterialScraper|» -> -> 0 2023-04-08 23:10:09.921|DEBUG|MaterialScraper|5] -> 5 -> 5 2023-04-08 23:10:09.921|DEBUG|MaterialScraper|D -> -> 0 2023-04-08 23:10:09.921|DEBUG|MaterialScraper|O -> -> 0 2023-04-08 23:10:09.936|DEBUG|MaterialScraper|N/ -> -> 0 2023-04-08 23:10:10.258|DEBUG|MaterialScraper|EF] -> -> 0 2023-04-08 23:10:10.258|DEBUG|MaterialScraper|F -> -> 0 2023-04-08 23:10:10.265|DEBUG|MaterialScraper|J -> -> 0 2023-04-08 23:10:10.265|DEBUG|MaterialScraper|/ -> -> 0 2023-04-08 23:10:10.265|DEBUG|MaterialScraper|Y/ -> -> 0 2023-04-08 23:10:10.279|ERROR|UserInterface|Failed to parse quantity for FakeFlyBait 2023-04-08 23:10:11.202|DEBUG|MaterialScraper|Last material scanned, RedrotBait. 2023-04-08 23:10:13.212|INFO|InventoryKamera|Done scanning materials 2023-04-08 23:10:13.212|INFO|MainForm|Data converted to GOOD 2023-04-08 23:10:13.265|INFO|MainForm|Exported data 2023-04-08 23:10:13.265|INFO|MainForm|Hotkey removed

Here are the logging scans that failed:

Mora- mora

Mirror of Mushin - MirrorOfMushin_Quantity

Narukamis Affection - NarukamisAffection_Quantity

FakeFlyBait - FakeFlyBait_Quantity

As for the ones that got scanned: materials": {"GlowingGem": 4, "HerosWit": 238, "AdventurersExperience": 938, "WanderersAdvice": 100, "SlimeConcentrate": 33, "SlimeSecretions": 107, "SlimeCondensate": 162, "OminousMask": 30, "StainedMask": 102, "DamagedMask": 71, "ForbiddenCurseScroll": 36, "SealedScroll": 110, "DiviningScroll": 542, "WeatheredArrowhead": 18, "SharpArrowhead": 30, "FirmArrowhead": 2, "BlackCrystalHorn": 28, "BlackBronzeHorn": 158, "HeavyHorn": 689, "LeyLineSprout": 23, "DeadLeyLineLeaves": 49, "DeadLeyLineBranch": 62, "ChaosCore": 1, "ChaosCircuit": 15, "MistGrassWick": 9, "MistGrass": 30, "MistGrassPollen": 125, "InspectorsSacrificialKnife": 9, "AgentsSacrificialKnife": 18, "HuntersSacrificialKnife": 23, "LieutenantsInsignia": 36, "SergeantsInsignia": 109, "RecruitsInsignia": 193, "GoldenRavenInsignia": 67, "SilverRavenInsignia": 214, "TreasureHoarderInsignia": 103, "EnergyNectar": 10, "ShimmeringNectar": 53, "WhopperflowerNectar": 36, "FossilizedBoneShard": 1, "SturdyBoneShard": 11, "FragileBoneShard": 105, "FamedHandguard": 11, "KageuchiHandguard": 8, "OldHandguard": 91, "ChaosOculus": 14, "ChaosAxis": 40, "ChaosGear": 275, "PolarizingPrism": 8, "CrystalPrism": 36, "DismalPrism": 115, "SpectralHeart": 11, "SpectralHusk": 12, "ConcealedTalon": 1, "ConcealedUnguis": 11, "ConcealedClaw": 68, "DarkStatuette": 1, "CrystallineCystDust": 6, "LuminescentPollen": 41, "FungalSpores": 95, "RobustFungalNucleus": 32, "DormantFungalNucleus": 130, "InactivatedFungalNucleus": 459, "TrimmedRedSilk": 26, "FadedRedSatin": 34, "ChaosBolt": 4, "ChaosModule": 29, "ChaosStorage": 107, "RadiantPrism": 16, "TurbidPrism": 45, "DamagedPrism": 184, "SturdyShell": 9, "DesiccatedShell": 31, "DvalinsSigh": 3, "TailOfBoreas": 8, "RingOfBoreas": 11, "SpiritLocketOfBoreas": 3, "TuskOfMonocerosCaeli": 8, "ShardOfAFoulLegacy": 13, "ShadowOfTheWarrior": 11, "DragonLordsCrown": 12, "BloodjadeBranch": 8, "GildedScale": 4, "MoltenMoment": 5, "HellfireButterfly": 6, "AshenHeart": 8, "MudraOfTheMaleficGeneral": 8, "TearsOfTheCalamitousGod": 10, "TheMeaningOfAeons": 5, "PuppetStrings": 4, "MirrorOfMushin": 6, "DakasBell": 2, "LightningPrism": 21, "BasaltPillar": 14, "HoarfrostCore": 2, "CleansingHeart": 22, "JuvenileJade": 2, "CrystallineBloom": 2, "MarionetteCore": 27, "PerpetualHeart": 1, "SmolderingPearl": 8, "StormBeads": 20, "DragonheirsFalseFin": 1, "RunicFang": 18, "MajesticHookedBeak": 2, "ThunderclapFruitcore": 2, "QuelledCreeper": 22, "PseudoStamens": 26, "BrilliantDiamondGemstone": 6, "AgnidusAgateChunk": 9, "AgnidusAgateFragment": 9, "AgnidusAgateSliver": 85, "VarunadaLazuriteChunk": 9, "VarunadaLazuriteSliver": 6, "NagadusEmeraldChunk": 9, "NagadusEmeraldFragment": 10, "NagadusEmeraldSliver": 1, "VajradaAmethystGemstone": 2, "VajradaAmethystChunk": 45, "VajradaAmethystFragment": 36, "VajradaAmethystSliver": 16, "VayudaTurquoiseChunk": 9, "VayudaTurquoiseFragment": 57, "VayudaTurquoiseSliver": 153, "ShivadaJadeChunk": 24, "ShivadaJadeFragment": 18, "ShivadaJadeSliver": 44, "PrithivaTopazGemstone": 1, "PrithivaTopazChunk": 15, "PrithivaTopazFragment": 41, "PrithivaTopazSliver": 181, "PhilosophiesOfFreedom": 12, "GuideToFreedom": 73, "TeachingsOfFreedom": 73, "PhilosophiesOfResistance": 18, "GuideToResistance": 55, "TeachingsOfResistance": 21, "PhilosophiesOfBallad": 5, "GuideToBallad": 28, "TeachingsOfBallad": 18, "PhilosophiesOfProsperity": 14, "GuideToProsperity": 310, "TeachingsOfProsperity": 16, "PhilosophiesOfDiligence": 11, "GuideToDiligence": 62, "TeachingsOfDiligence": 101, "PhilosophiesOfGold": 9, "GuideToGold": 25, "TeachingsOfGold": 47, "PhilosophiesOfTransience": 19, "GuideToTransience": 52, "TeachingsOfTransience": 27, "PhilosophiesOfElegance": 16, "GuideToElegance": 46, "TeachingsOfElegance": 24, "PhilosophiesOfLight": 10, "GuideToLight": 26, "TeachingsOfLight": 14, "PhilosophiesOfAdmonition": 9, "GuideToAdmonition": 32, "TeachingsOfAdmonition": 20, "PhilosophiesOfIngenuity": 7, "GuideToIngenuity": 50, "TeachingsOfIngenuity": 17, "PhilosophiesOfPraxis": 0, "GuideToPraxis": 9, "CrownOfInsight": 10, "FragmentOfDecarabiansEpic": 4, "DebrisOfDecarabiansCity": 1, "TileOfDecarabiansTower": 44, "BorealWolfsNostalgia": 1, "BorealWolfsCrackedTooth": 1, "BorealWolfsMilkTooth": 7, "ShacklesOfTheDandelionGladiator": 9, "ChainsOfTheDandelionGladiator": 0, "FettersOfTheDandelionGladiator": 21, "LustrousStoneFromGuyun": 0, "LuminousSandsFromGuyun": 5, "MistVeiledGoldElixir": 0, "MistVeiledMercuryElixir": 10, "MistVeiledLeadElixir": 52, "BitOfAerosiderite": 44, "PieceOfAerosiderite": 11, "GrainOfAerosiderite": 44, "JadeBranchOfADistantSea": 1, "JeweledBranchOfADistantSea": 20, "CoralBranchOfADistantSea": 1, "NarukamisAffection": 0, "NarukamisJoy": 41, "MaskOfTheTigersBite": 19, "MaskOfTheWickedLieutenant": 1, "IronTalismanOfTheForestDew": 19, "OasisGardensKindness": 19, "RemnantGlowOfScorchingMight": 19, "NorthlanderSwordBillet": 2, "NorthlanderClaymoreBillet": 1, "NorthlanderCatalystBillet": 2, "NorthlanderPolearmBillet": 2, "MidlanderSwordBillet": 1, "MidlanderClaymoreBillet": 1, "IronChunk": 48, "WhiteIronChunk": 719, "CrystalChunk": 1043, "MagicalCrystalChunk": 1, "Starsilver": 4, "AmethystLump": 13, "Wolfhook": 117, "Valberry": 299, "Cecilia": 64, "WindwheelAster": 108, "PhilanemoMushroom": 78, "SmallLampGrass": 137, "CallaLily": 113, "DandelionSeed": 36, "JueyunChili": 110, "NoctilucousJade": 82, "SilkFlower": 142, "GlazeLily": 176, "Qingxin": 115, "Starconch": 58, "Violetgrass": 26, "CorLapis": 9, "Onikabuto": 55, "SakuraBloom": 52, "CrystalMarrow": 137, "Dendrobium": 123, "NakuWeed": 33, "SeaGanoderma": 82, "SangoPearl": 15, "AmakumoFruit": 40, "FluorescentFungus": 20, "RukkhashavaMushrooms": 14, "Padisarah": 60, "NilotpalaLotus": 10, "KalpalataLotus": 13, "HennaBerry": 14, "SandGreasePupa": 107, "Scarab": 25, "Horsetail": 16, "MistFlowerCorolla": 12, "FlamingFlowerStamen": 13, "ElectroCrystal": 34, "ButterflyWings": 36, "Frog": 12, "LuminescentSpine": 32, "LizardTail": 62, "CrystalCore": 65, "LoachPearl": 5, "Viparyas": 39, "Mushroom": 147, "SweetFlower": 333, "Carrot": 5, "Radish": 201, "Snapdragon": 1, "Mint": 23, "Wheat": 190, "Cabbage": 95, "Pinecone": 113, "LotusHead": 1023, "Berry": 103, "RawMeat": 387, "BirdEgg": 501, "Matsutake": 1094, "Fowl": 102, "Crab": 9, "Salt": 79, "Onion": 85, "Pepper": 88, "Milk": 5, "Tomato": 114, "Potato": 41, "Fish": 5, "Tofu": 58, "BambooShoot": 12, "Rice": 2, "ShrimpMeat": 1, "ChilledMeat": 12, "EelMeat": 14, "GlabrousBeans": 100, "MysteriousMeat": 6, "Seagrass": 176, "LavenderMelon": 142, "HarraFruit": 85, "ZaytunPeach": 99, "SumeruRose": 87, "AjilenakhNut": 28, "CrabRoe": 10, "Cream": 20, "SmokedFowl": 20, "Butter": 12, "Cheese": 5, "Bacon": 10, "Sausage": 69, "Spice": 12, "BirchWood": 9, "CuihuaWood": 4, "PineWood": 16, "SandbearerWood": 43, "BambooSegment": 46, "FragrantCedarWood": 42, "FirWood": 36, "YumemiruWood": 32, "MapleWood": 15, "AraliaWood": 69, "OtogiWood": 46, "Brightwood": 2, "KarmaphalaWood": 50, "AdhigamaWood": 20, "AthelWood": 53, "Fabric": 43, "RedDye": 1, "YellowDye": 61, "BlueDye": 38, "FruitPasteBait": 4, "RedrotBait": 10, "FalseWormBait": 10, "FakeFlyBait": 9, "Medaka": 5, "GoldenKoi": 1

Here's a sample of some: image

Preflight Checklist

Cupcak3 commented 1 year ago

This is a known and duplicate issue.