Critical error on visiting any shop

Vyv

New Member
Jan 4, 2024
1
0
40
Not sure what I did to my game but anytime I talk to any vendor and try to buy anything I get this error. This seems to happen no matter the vendor, be it at the docks or any other npc no matter the town.


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.086-PUBLIC#4398 Message: this.props.shopCredits is null Stack:
value@https://www.fenoxo.com/play/TiTS/release/main.eed87aba.js:1:12210589
Za@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:547765
Va@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:547564
$s@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:588395
Ru@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:574619
ju@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:574547
Cu@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:574408
bu@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:571395
64448/Xo/<@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:521133
60053/t.unstable_runWithPriority@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:639753
Go@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:520910
Xo@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:521080
$o@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:521013
hu@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:568780
Ju@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:584666
il@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:585683
64448/t.render@https://www.fenoxo.com/play/TiTS/release/vendors.430d3c62.js:1:593653
85225/e/this.debouncedRender<@https://www.fenoxo.com/play/TiTS/release/main.eed87aba.js:1:17517647
73878/x/

(10:33:40.973) (Core) info: GameState postLoad()
(10:33:41.635) (Serialization) info: Setting gameloading marker false
(10:33:50.196) (UserInterface) info: Pushing [I]"Main Text"[/I] to UI state stack, replacing with "Shopkeeper".
 

Jacques00

Administrator
Moderator
Aug 26, 2015
5,140
1,270
I'm pretty sure there are checks already implemented to prevent that value (this.props.shopCredits) from being passed if it is null, at least in the latest release.

If you can provide a save file to test with, I'll see if I can replicate it on my end.

Edit: Out of curiosity, what does it say for the Encounters log, under Uveto > Earthshapers > Credits? If it is not a number, that could be what is messing up the shops for you. If this is the case, I've implemented a fix for the next release that should hopefully reset this value to 0 if it is ever defined as something else.
 
Last edited: