Crash when trying to purchase Maid Outfit from Inessa in Tavros

Status
Not open for further replies.

quara8

Member
Nov 12, 2023
13
2
Just stumbled on another crash when trying to buy Maid Outfit from Inessa on Tavros (it happens when clicking on the 'plus' icon, and only for this item).
Critical Error

A critical error has occurred. Please create a bug report on the forums here. Please include what you did before the error and a screen-shot or copy-paste of the error message below:
Code:
 Version: 0.9.085-PUBLIC-ELECTRON#4384 Message: Cannot read properties of undefined (reading 'quantity') Stack:
TypeError: Cannot read properties of undefined (reading 'quantity')
    at o.value (file:///X:/TiTS/HTML/resources/app/main.bfd015d1.js:1:12201314)
    at o.value (file:///X:/TiTS/HTML/resources/app/main.bfd015d1.js:1:12200493)
    at o.value (file:///X:/TiTS/HTML/resources/app/main.bfd015d1.js:1:12182022)
    at o.value (file:///X:/TiTS/HTML/resources/app/main.bfd015d1.js:1:12169770)
    at Object.We (file:///X:/TiTS/HTML/resources/app/vendors.900a6686.js:1:494341)
    at $e (file:///X:/TiTS/HTML/resources/app/vendors.900a6686.js:1:494495)
    at file:///X:/TiTS/HTML/resources/app/vendors.900a6686.js:1:512698
    at Cr (file:///X:/TiTS/HTML/resources/app/vendors.900a6686.js:1:512792)
    at jr (file:///X:/TiTS/HTML/resources/app/vendors.900a6686.js:1:513206)
    at file:///X:/TiTS/HTML/resources/app/vendors.900a6686.js:1:518842
(12:44:26.975) (Core) info: GameState postLoad()
(12:44:28.199) (Serialization) info: Setting gameloading marker false
(12:44:30.325) (UserInterface) info: Pushing [I]"Main Text"[/I] to UI state stack, replacing with "Shopkeeper".
 

Chausk

New Member
Feb 27, 2021
1
0
32
Just trying to change the quantity of purchase of the maid outfit causes the crash, whether it's from the + button, or manually setting the quantity.

Screenshot 2024-01-02 191646.png
 

lowercase_donkey

Scientist
Apr 27, 2016
1,571
218
Thanks! This is very helpful. We have been seeing sporadic crashes for quantity but not sure where to start. I can repro this consistently, and am talking to the team about a fix.
 

Jacques00

Administrator
Moderator
Aug 26, 2015
5,141
1,266
Hopefully fixed for the next release.

Due to the shop interface being able to handle merging stacked items better (to resolve another bug), a couple items still had static merge outputs (Maid Outfit and Varmint item). After being parsed for differences, because their merge checks always returned false, the result ends up with an undefined item. The game crashes when it tries to get a value (quantity in this case) from the undefined item.
 
Status
Not open for further replies.