Error while shopping

Status
Not open for further replies.

waifuslayer

Member
Jan 16, 2016
15
0
Got an error while pressing the shop button at Carls, I also got the same problem when shopping at other places. Might be a problem with buying items ?

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.083-PUBLIC#4280 Message: null is not an object (evaluating 'this.props.shopCredits.toLocaleString') Stack:
value@https://www.fenoxo.com/play/TiTS/release/main.2beec2de.js:1:12108277
Za@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:547771
Ru@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:574619
ju@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:574547
Cu@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:574410
bu@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:571397
bu@[native code]
@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:521134
@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:639754
Xo@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:521080
$o@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:521015
hu@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:568782
Ju@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:584668
il@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:585683
@https://www.fenoxo.com/play/TiTS/release/main.2beec2de.js:1:17409145
@https://www.fenoxo.com/play/TiTS/release/main.2beec2de.js:1:10656887
o@https://www.fenoxo.com/play/TiTS/release/vendors.4c300ba3.js:1:48992
(22:35:10.795) (Core) info: GameState postLoad()
(22:35:11.844) (Serialization) info: Setting gameloading marker false
(22:35:18.393) (UserInterface) info: Pushing [I]"Main Text"[/I] to UI state stack, replacing with "Shopkeeper".
 

Jacques00

Administrator
Moderator
Aug 26, 2015
4,903
1,165
I may need a save file assuming this issue is reliably repeatable for you. Otherwise, I found where the issue could possibly occur and put in some safety checks for the next release. I assume you had recently left a shop that had non-standard currency (like Savicite, or Tuuva's credits), then continued playing and hit the bug for shops that did use Credits and that's where the bug appeared?
 

waifuslayer

Member
Jan 16, 2016
15
0
I did play the halloween event, I spent 1000 on one of the costumes and perhaps that planet (poe A) used a different currency?
 

waifuslayer

Member
Jan 16, 2016
15
0
I did play the halloween event, I spent 1000 on one of the costumes and perhaps that planet (poe A) used a different currency?
Actually I am pretty sure this is where the error started because I went back to a save I had before that planet and the shops still work
 

Jacques00

Administrator
Moderator
Aug 26, 2015
4,903
1,165
Actually I am pretty sure this is where the error started because I went back to a save I had before that planet and the shops still work
I can check if you remember what costume it was. The planet shouldn't use a different currency. The only other place I can think of is the shops on Uveto.

In any case, your initial error was because the number of credits on your character (alternate currency or otherwise) that was being fed into the UI was a "null" value (instead of a number value). So something happened where your credits was no longer a valid number where the UI can interpret for the shop screen, and that's where it crashed the UI/game.
 

Theron

Well-Known Member
Nov 8, 2018
3,340
1,320
44
I can check if you remember what costume it was. The planet shouldn't use a different currency. The only other place I can think of is the shops on Uveto.
It's any of the costumes. Or at least, both the Horse Suit and Werewolf.
 
Last edited:

waifuslayer

Member
Jan 16, 2016
15
0
I can check if you remember what costume it was. The planet shouldn't use a different currency. The only other place I can think of is the shops on Uveto.

In any case, your initial error was because the number of credits on your character (alternate currency or otherwise) that was being fed into the UI was a "null" value (instead of a number value). So something happened where your credits was no longer a valid number where the UI can interpret for the shop screen, and that's where it crashed the UI/game.
I think it was the goblin one, but I did notice I had zero credits as well. When I went back to before the planet I had over 10k so it was definitely a problem with the currency somehow
 

Jacques00

Administrator
Moderator
Aug 26, 2015
4,903
1,165
I see. This might have been a side effect of lowercase_donkey's recent revamp to the Halloween costume functions. Though I couldn't recreate the bug on my end ( I assume it might have been fixed since the last patch), I will make some edits for the next release that should hopefully prevent the credits from becoming a null value after purchasing those costumes in particular.
 

Jacques00

Administrator
Moderator
Aug 26, 2015
4,903
1,165
Much appreciated, thank you for the help
No problem. I would avoid playing on a save file with the credit value being corrupted like that (it may be possible to repair and reset the credits in the console if you play on a browser though). We may need to add in a safety function to help reset that value to a valid number, but for the moment, it's best that these instances get caught as bugs, just so we know what exactly is setting it off like that.
 
  • Like
Reactions: waifuslayer
Status
Not open for further replies.