Crash when accessing crew

PrivateSparky

Member
Mar 11, 2022
5
0
25
I loaded up a file I created from the downloaded legacy version. Accessed the crew menu on the Sidewinder ship and the game crashes. I'm playing with the Clown Car cheat on. I also noted the crash only happens when clicking the crew member A-R tab while crew R-Y can be accessed as normal.

Code:
 Version: 0.69.420-PUBLIC#1890 Message: item is not defined Stack:
ReferenceError: item is not defined
    at sv (https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:15975368)
    at window.mitziCurrentDress (https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:15982910)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:10772348)
    at m (https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:15153547)
    at Object. (https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:15153049)
    at https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:12002380
    at s (https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:10176144)
 

Jacques00

Administrator
Moderator
Aug 26, 2015
5,140
1,270
I loaded up a file I created from the downloaded legacy version. Accessed the crew menu on the Sidewinder ship and the game crashes. I'm playing with the Clown Car cheat on. I also noted the crash only happens when clicking the crew member A-R tab while crew R-Y can be accessed as normal.

Code:
 Version: 0.69.420-PUBLIC#1890 Message: item is not defined Stack:
ReferenceError: item is not defined
    at sv (https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:15975368)
    at window.mitziCurrentDress (https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:15982910)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:10772348)
    at m (https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:15153547)
    at Object. (https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:15153049)
    at https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:12002380
    at s (https://www.fenoxo.com/play/TiTS/release/main.75dcad05.js:1:10176144)
Please post your save file for testing, if possible.
 

DragonRanger

Well-Known Member
Aug 28, 2015
116
26
Anyway, I just checked. Its been patched. Cheers!
Wait, it’s been patched? I’m on 1897, and it still crashes for me. I even deleted my cookies, which had the consequence of deleting my saves, and the same thing still happens. Good thing I still had the Flash import save. And upon checking my Flash save, it appears a bug I reported about the Goo Armor is still there, so I guess I’ll just pop into the TitsEd thread to have somebody edit my file.
 
Last edited:

one_two

Well-Known Member
Jan 20, 2022
457
130
It's possible there's more than one source of crashes and one was patched while another slipped under the radar. If you attach your save game from the state which generates a crash, it can help coders a lot with tracking down what exactly you're experiencing.
 

OrangeBurner

Well-Known Member
Mar 13, 2022
305
72
Did you give Mitzi the Strange Metal collar/Omnisuit on that save file?
Because mitzi.inventory.armor brings back "omnisuit’s metal storage collar" which is technically an accessory and any attempt to unequip it in the console (I used mitzi.inventory.unequipItem(mitzi.inventory.armor) and mitzi.inventory.armor = "any valid object here";) brings back the error: this.equippedItems[o] is undefined. So I'm at a lost to what's happening on your file.
 

OrangeBurner

Well-Known Member
Mar 13, 2022
305
72
By testing a bit I can confirm that giving Mitzi the Omnisuit in the Legacy version of the game then exporting that save causes the problems you've been having.
This is most likely because the Omnisuit's collar is coded differently in the JS version:
The Omnisuit should actually be working again! This was… wayyyyy more of a headache than you would assume. The new inventory UI really did not like an item replacing itself with another item midway through the equipping process, or proccing multi-page events right in the middle. To get around this, I wound up making the collar a consumable “gadget,” which taps into the same sorts of systems driving player transformation items. Just use the collar, and presto! Your armor is an omnisuit, and any old armor is looted. Once you remove it, it will quietly transform back into a collar again for your future use. I dumped at least six hours of work across three days getting this fucking piece of shit working…

What I did:
  • On the Legacy version of TiTs give Mitzi the omnisuit’s metal storage collar.
  • Use TiTs 0.8.160 to export that save file to .json.
  • The next time Mitzi changes clothes it will crash the game upon loading the crew menu which she is in.
  • It doesn't crash the crew menu straight away only when she next meant to switch her clothes, so around 5 days afterwards.
  • Or manually asking Mitzi to change clothes ('Wear Item') will crash the game.

Save file attached: The exported save file mentioned above.

To reproduce crash:
  • Sleep until Day 215 then hit the 'Crew [A-R]' button.
  • Or, just ask Mitzi to wear any item from her wardrobe.
 

Attachments

  • Blaze - Day 210 - After Giving Mitzi Omnisuit.json
    685.1 KB · Views: 1

OrangeBurner

Well-Known Member
Mar 13, 2022
305
72
How to fix:
  • Take the save file into a json editor (I use VS code).
  • Find Mitzi's Inventory.
  • Replace her "armor" with any suitable armor:

For example:
Fixing - Omnisuit.png
To:
Fixing - Omnisuit Replaced.png

Here I've done it for your save file (It seems to be working fine for me):
 

Attachments

  • Ember - Mitzi Crash - Fixed.json
    1.5 MB · Views: 5