[Fixt] Crash, Codex > Stats > Race, Medical and Other, Revision 899

Status
Not open for further replies.

Katz007

Well-Known Member
Mar 23, 2021
224
5
38
All 3 tabs have the same error message.

Message: t is undefined

Stack: value/t<@https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:10635141 value@https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:10635123 xR@https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:11436755 doClick@https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:10471893 value/a<@https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:10173407 s@https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:6322427
 

Attachments

  • Katz (H) - 12Hrs 44Mins, 143 Days - MHEN’GA, ARA ARA.json
    635.1 KB · Views: 0

lowercase_donkey

Scientist
Apr 27, 2016
1,614
230
This is a weird one. this is undefined. I'll have to follow up later.

edit: got it.
 
Last edited:

Charger

Member
Jul 5, 2020
12
0
49
I've confirm this error.

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: Message: Cannot read properties of undefined (reading 'title') Stack: TypeError: Cannot read properties of undefined (reading 'title') at https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:10635150 at Array.find () at e.value (https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:10635123) at Object.xR [as func] (https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:11436755) at Object.doClick (https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:10471893) at https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:10173407 at s (https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:6322427)
 

lowercase_donkey

Scientist
Apr 27, 2016
1,614
230
For any nerds in the thread, I’ll explain what happened. Buttons are stored as an array, a kind of list. Each button slot has a place in the list, so the first button is first in the list, etc.

However, sometimes we skip a few slots, right? Particularly if there is a back button. When we skip, the slot in the list is left empty.

This error was happening because we were skimming through the list of slots looking for obscure properties of each button. However, if it got to a slot with no button at all and tried to check the properties of “nothing,” splat.

The fix is pretty simple: check to make sure a button actually exists before you try to examine the details of it.
 

Charger

Member
Jul 5, 2020
12
0
49
new message about the Bianca. Buy button was selected. before error may be because i wasn't exactly center of button or something.
Message: shopkeep is not defined Stack: ReferenceError: shopkeep is not defined at Object.func (https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:13407854) at Object.doClick (https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:10471893) at https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:10173407 at s (https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:6322427)
 

lowercase_donkey

Scientist
Apr 27, 2016
1,614
230
new message about the Bianca. Buy button was selected. before error may be because i wasn't exactly center of button or something.
Message: shopkeep is not defined Stack: ReferenceError: shopkeep is not defined at Object.func (https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:13407854) at Object.doClick (https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:10471893) at https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:10173407 at s (https://www.fenoxo.com/play/TiTS/backer/main.6e1b398e.js:1:6322427)
That's a button, true, but not really related otherwise.

Bianca buy is fixed on dev either way.
 
Status
Not open for further replies.