Andrewthe13th / Inventory_Kamera

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

[Bug] Scanner Crashes with less than 1 page of Inventory Items #487

Closed TheNameIs-M closed 7 months ago

TheNameIs-M commented 9 months ago

Current Behavior

I am trying to scan my boyfriend's account with the inventory kamera. He's just starting out but it's good to keep track of materials so he can level up the characters he does have. The application does not work, however and refuses to scan anything on the weapons page at the moment. Which is weird because a few days ago when I did try to scan it, it worked somewhat, but it skipped the entire first row of weapons he has. I don't have a video of the row skipping, but I have a video of it just not working at all for weapons, but artifact scan seems fine (and I assume everything else after works fine considering).

I am not sure if it's being weird because I've also used it to scan my own account before (haven't tried it recently though) and it's expecting my account somehow? I have Wanderer and he doesn't, he just finished the Liyue Archon Quest so he hasn't even gotten to name Wanderer yet. I even tried putting "Wanderer" in the slot for Wanderer's Name, in case it was bugging out because of that, but nothing worked.

https://github.com/Andrewthe13th/Inventory_Kamera/assets/143708801/ab93857b-95fe-464e-be23-dae959c92a57

Expected Behavior

The scanner to not skip rows or items

Reproducing a Behavior

I'm not sure how to reproduce it since I'm not sure if it's specific to me, but generally, I literally just open up IK, have Genshin open at 1600x900 windowed mode, and scan like usual. The specs are as follows:

image

Device OS

Windows 11

Genshin Impact Version

4.2

Inventory Kamera Version

1.3.11

Screen resolution, screen mode, and UI scale

1600x900, tried 1280x720

Additional notes and remarks

I don't mind just manually entering his inventory data into the website I'm using, especially since he doesn't even have much in his new account anyway, it just doesn't make sense for IK to be doing this regardless.

Update: I just tried it with my account, and it works perfectly fine. Not sure what's happening, in any case, if the issue is my boyfriend's account. https://github.com/Andrewthe13th/Inventory_Kamera/assets/143708801/7fec8deb-e588-4af8-9e24-1166965c3f36

Evidence

InventoryKamera.debug.log Regarding "C:\Users\veloz..." I have no idea where it's getting veloz from, since the only user is me and it's set to my name, which isn't veloz.

Preflight Checklist

Cupcak3 commented 7 months ago

I've changed the title to be more reflective of the root cause. I will look into a fix

Cupcak3 commented 7 months ago

Actually, I am closing this in favor of #316