Crash on nursery computer

mikethor007

Well-Known Member
Jun 26, 2021
1,184
809
52
This is after the first child with Aina, which was my first child in the whole game.

Nursery Computer

Clicking [Children] results in this crash:

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: GLOBAL.TYPE_NAMESERROR: COULD NOT FIND OBJECT "parseInt(" is undefined

Stack: Tk/
 

Fenoxo

Corrupter of Tainted Space
Staff member
Aug 26, 2015
2,028
651
Mareth
www.fenoxo.com
This seems like it might have been fixed? I popped out a kid with Aina and checked the computer in the latest version: 1638926481836.png
 

mikethor007

Well-Known Member
Jun 26, 2021
1,184
809
52
Well, still shows as borked in the latest backer hotfix.

EDIT: Important detail, this happens in Firefox.

This shows up in the broser's console too:

Code:
Uncaught TypeError: GLOBAL.TYPE_NAMES[parseInt(...)] is undefined
    Tk nursery.js:1222
    Tk nursery.js:1163
    Tk nursery.js:720
    doClick ButtonDock.jsx:53
    a Button.jsx:11
    s util.js:57
Which leads to this line (in browser):
JavaScript:
if(displayCnt <= 0) output("\n<i>* There is no relevant data to display for your " + (GLOBAL.TYPE_NAMES[parseInt(key)]).toLowerCase() + " offspring.</i>");


In Chrome, the same save, same action results in a different stacktrace:

Code:
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 'toLowerCase')

Stack:
TypeError: Cannot read properties of undefined (reading 'toLowerCase')
at https://www.fenoxo.com/play/TiTS/backer/content_tavros.d1d48d7b.js:1:3519163
at https://www.fenoxo.com/play/TiTS/backer/content_tavros.d1d48d7b.js:1:3519198
at Object.Tk [as func] (https://www.fenoxo.com/play/TiTS/backer/content_tavros.d1d48d7b.js:1:3522465)
at Object.doClick (https://www.fenoxo.com/play/TiTS/backer/main.a4d37f30.js:1:10198638)
at https://www.fenoxo.com/play/TiTS/backer/main.a4d37f30.js:1:9912550
at s (https://www.fenoxo.com/play/TiTS/backer/main.a4d37f30.js:1:6043520)


EDIT2:
Game seems to be refusing to read RaceType of the child off of the save? Had a second child with Aina, which even had extra properties set, including RaceType.

But for both children when RaceType is queried it comes off as undefined and then it snowballs from there....
 
Last edited:

mikethor007

Well-Known Member
Jun 26, 2021
1,184
809
52
Game seems to be refusing to read RaceType of the child off of the save? Had a second child with Aina, which even had extra properties set, including RaceType.

But for both children when RaceType is queried it comes off as undefined and then it snowballs from there....
 

Katz007

Well-Known Member
Mar 23, 2021
224
5
38
now I getting crash when accessing nursery computer children's tab after gave birth to Ilaria children.

Message: GLOBAL.TYPE_NAMESERROR: COULD NOT FIND OBJECT "parseInt(" is undefined

Stack: Tk/

the game also crash when walking to this square. different error message.
1639324927052.png
Message: this._ageBuckets[n] is undefined

Stack: value@https://www.fenoxo.com/play/TiTS/backer/main.a4d37f30.js:1:5600028 value@https://www.fenoxo.com/play/TiTS/backer/main.a4d37f30.js:1:5605172 value@https://www.fenoxo.com/play/TiTS/backer/main.a4d37f30.js:1:5595895 14023/
 

Attachments

  • Katz (H) - 9Hrs 19Mins, 126 Days - Tavros Station, Kalas.json
    627.3 KB · Views: 3

Katz007

Well-Known Member
Mar 23, 2021
224
5
38
Can confirm still crash in revision 836

different error

Message: GLOBAL.TYPE_NAMESERROR: COULD NOT FIND OBJECT "parseInt(" is undefined

Stack: Rb/


the map tile error also still bugged but different error

Message: this._ageBuckets[n] is undefined

Stack: value@https://www.fenoxo.com/play/TiTS/backer/main.7b3f0642.js:1:5762374 value@https://www.fenoxo.com/play/TiTS/backer/main.7b3f0642.js:1:5767518 value@https://www.fenoxo.com/play/TiTS/backer/main.7b3f0642.js:1:5758241 67286/
 

Katz007

Well-Known Member
Mar 23, 2021
224
5
38
Nursery computer > Children tab still crashes at revision 899

different error again.

1640945838762.png


Note, right of Computer tile still also crash (same as last revision)

1640945792187.png
 

Attachments

  • Katz (H) - 11Hrs 12Mins, 145 Days - Casstech Z14, Kalas.json
    633.9 KB · Views: 1

Fenoxo

Corrupter of Tainted Space
Staff member
Aug 26, 2015
2,028
651
Mareth
www.fenoxo.com
According to Gedan, the underlying problem has been fixed, but your save has some old invalid data from before it got fixed that will keep cropping up.
 

Katz007

Well-Known Member
Mar 23, 2021
224
5
38
Sorry to disappoint, but revision 931 still crash on new save on new build on player births.
this character is created on this version.

1641376167296.png
1641376184661.png


Tile east of Nursery computer also still crashes.
1641376011757.png

Attached the save for fixing.
 

Attachments

  • Katz (F) - 1Hrs 50Mins, 59 Days - Tavros Station, Kalas.json
    618.4 KB · Views: 0

mikethor007

Well-Known Member
Jun 26, 2021
1,184
809
52
Version 0.69.420#980 still borks it.

Same "Bucketname generation for child cache returned an undefined string." message.

Moving right of the computer results in a slightly different stacktrace:
Code:
Stack:
value@https://www.fenoxo.com/play/TiTS/backer/main.ac5ec763.js:1:6044898
value@https://www.fenoxo.com/play/TiTS/backer/main.ac5ec763.js:1:6050004
value@https://www.fenoxo.com/play/TiTS/backer/main.ac5ec763.js:1:6040950
40211/
 

Katz007

Well-Known Member
Mar 23, 2021
224
5
38
Game Version: 0.69.420-BACKER#1073

still crash, I notice if the game is loaded from a save without children and then gave birth it will not crash (multiple times without loading a save).

But after saving and loading from that save will crash ever after.